Guest User

Untitled

a guest
Feb 6th, 2012
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.86 KB | None | 0 0
  1. [lexel@ ~] sudo apt-get install python-qt4
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following extra packages will be installed:
  6. libqt4-assistant libqt4-help libqt4-scripttools libqt4-test python-sip
  7. Suggested packages:
  8. python-qt4-dbg
  9. The following NEW packages will be installed:
  10. libqt4-assistant libqt4-help libqt4-scripttools libqt4-test python-qt4 python-sip
  11. 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
  12. Need to get 0B/3,217kB of archives.
  13. After this operation, 12.3MB of additional disk space will be used.
  14. Do you want to continue [Y/n]? y
  15. Selecting previously deselected package libqt4-assistant.
  16. (Reading database ... 178365 files and directories currently installed.)
  17. Unpacking libqt4-assistant (from .../libqt4-assistant_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
  18. Selecting previously deselected package libqt4-help.
  19. Unpacking libqt4-help (from .../libqt4-help_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
  20. Selecting previously deselected package libqt4-scripttools.
  21. Unpacking libqt4-scripttools (from .../libqt4-scripttools_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
  22. Selecting previously deselected package libqt4-test.
  23. Unpacking libqt4-test (from .../libqt4-test_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
  24. Selecting previously deselected package python-sip.
  25. Unpacking python-sip (from .../python-sip_4.10.1-0ubuntu1_i386.deb) ...
  26. Selecting previously deselected package python-qt4.
  27. Unpacking python-qt4 (from .../python-qt4_4.7.2-0ubuntu1_i386.deb) ...
  28. Setting up libqt4-assistant (4:4.6.2-0ubuntu5.3) ...
  29.  
  30. Setting up libqt4-help (4:4.6.2-0ubuntu5.3) ...
  31.  
  32. Setting up libqt4-scripttools (4:4.6.2-0ubuntu5.3) ...
  33.  
  34. Setting up libqt4-test (4:4.6.2-0ubuntu5.3) ...
  35.  
  36. Setting up python-sip (4.10.1-0ubuntu1) ...
  37.  
  38. Setting up python-qt4 (4.7.2-0ubuntu1) ...
  39.  
  40. Processing triggers for libc-bin ...
  41. ldconfig deferred processing now taking place
  42. Processing triggers for python-support ...
  43. [lexel@ ~] sudo apt-get install pyqt4-dev-tools
  44. Reading package lists... Done
  45. Building dependency tree
  46. Reading state information... Done
  47. The following NEW packages will be installed:
  48. pyqt4-dev-tools
  49. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  50. Need to get 0B/85.4kB of archives.
  51. After this operation, 242kB of additional disk space will be used.
  52. Selecting previously deselected package pyqt4-dev-tools.
  53. (Reading database ... 178472 files and directories currently installed.)
  54. Unpacking pyqt4-dev-tools (from .../pyqt4-dev-tools_4.7.2-0ubuntu1_i386.deb) ...
  55. Processing triggers for man-db ...
  56. Setting up pyqt4-dev-tools (4.7.2-0ubuntu1) ...
  57. [lexel@ ~] sudo apt-get install qt4-designer
  58. Reading package lists... Done
  59. Building dependency tree
  60. Reading state information... Done
  61. The following extra packages will be installed:
  62. libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libpthread-stubs0 libpthread-stubs0-dev libqt4-dev libqt4-multimedia libqt4-opengl-dev libx11-dev libxau-dev
  63. libxcb1-dev libxdmcp-dev mesa-common-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev
  64. Suggested packages:
  65. qt4-dev-tools qt4-doc libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev unixodbc-dev
  66. The following NEW packages will be installed:
  67. libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libpthread-stubs0 libpthread-stubs0-dev libqt4-dev libqt4-multimedia libqt4-opengl-dev libx11-dev libxau-dev
  68. libxcb1-dev libxdmcp-dev mesa-common-dev qt4-designer x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev
  69. 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
  70. Need to get 6,971kB/10.3MB of archives.
  71. After this operation, 43.4MB of additional disk space will be used.
  72. Do you want to continue [Y/n]? y
  73. Get:1 http://pa.archive.ubuntu.com/ubuntu/ lucid/main x11proto-core-dev 7.0.16-1 [92.2kB]
  74. Get:2 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libxau-dev 1:1.0.5-1 [17.1kB]
  75. Get:3 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libxdmcp-dev 1:1.0.3-1 [21.2kB]
  76. Get:4 http://pa.archive.ubuntu.com/ubuntu/ lucid/main x11proto-input-dev 2.0-2 [62.5kB]
  77. Get:5 http://pa.archive.ubuntu.com/ubuntu/ lucid/main x11proto-kb-dev 1.0.4-1 [27.3kB]
  78. Get:6 http://pa.archive.ubuntu.com/ubuntu/ lucid/main xtrans-dev 1.2.5-1 [68.5kB]
  79. Get:7 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libpthread-stubs0 0.3-2 [3,196B]
  80. Get:8 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libpthread-stubs0-dev 0.3-2 [2,414B]
  81. Get:9 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libxcb1-dev 1.5-2 [73.8kB]
  82. Get:10 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libx11-dev 2:1.3.2-1ubuntu3 [3,505kB]
  83. Get:11 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libdrm-dev 2.4.18-1ubuntu3 [515kB]
  84. Get:12 http://pa.archive.ubuntu.com/ubuntu/ lucid-updates/main mesa-common-dev 7.7.1-1ubuntu3 [2,339kB]
  85. Get:13 http://pa.archive.ubuntu.com/ubuntu/ lucid-updates/main libgl1-mesa-dev 7.7.1-1ubuntu3 [31.5kB]
  86. Get:14 http://pa.archive.ubuntu.com/ubuntu/ lucid-updates/main libglu1-mesa-dev 7.7.1-1ubuntu3 [213kB]
  87. Fetched 6,971kB in 27s (253kB/s)
  88. Selecting previously deselected package x11proto-core-dev.
  89. (Reading database ... 178482 files and directories currently installed.)
  90. Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.16-1_all.deb) ...
  91. Selecting previously deselected package libxau-dev.
  92. Unpacking libxau-dev (from .../libxau-dev_1%3a1.0.5-1_i386.deb) ...
  93. Selecting previously deselected package libxdmcp-dev.
  94. Unpacking libxdmcp-dev (from .../libxdmcp-dev_1%3a1.0.3-1_i386.deb) ...
  95. Selecting previously deselected package x11proto-input-dev.
  96. Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.0-2_all.deb) ...
  97. Selecting previously deselected package x11proto-kb-dev.
  98. Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.4-1_all.deb) ...
  99. Selecting previously deselected package xtrans-dev.
  100. Unpacking xtrans-dev (from .../xtrans-dev_1.2.5-1_all.deb) ...
  101. Selecting previously deselected package libpthread-stubs0.
  102. Unpacking libpthread-stubs0 (from .../libpthread-stubs0_0.3-2_i386.deb) ...
  103. Selecting previously deselected package libpthread-stubs0-dev.
  104. Unpacking libpthread-stubs0-dev (from .../libpthread-stubs0-dev_0.3-2_i386.deb) ...
  105. Selecting previously deselected package libxcb1-dev.
  106. Unpacking libxcb1-dev (from .../libxcb1-dev_1.5-2_i386.deb) ...
  107. Selecting previously deselected package libx11-dev.
  108. Unpacking libx11-dev (from .../libx11-dev_2%3a1.3.2-1ubuntu3_i386.deb) ...
  109. Selecting previously deselected package libdrm-dev.
  110. Unpacking libdrm-dev (from .../libdrm-dev_2.4.18-1ubuntu3_i386.deb) ...
  111. Replaced by files in installed package linux-libc-dev ...
  112. Selecting previously deselected package mesa-common-dev.
  113. Unpacking mesa-common-dev (from .../mesa-common-dev_7.7.1-1ubuntu3_i386.deb) ...
  114. Selecting previously deselected package libgl1-mesa-dev.
  115. Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_7.7.1-1ubuntu3_i386.deb) ...
  116. Selecting previously deselected package libglu1-mesa-dev.
  117. Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_7.7.1-1ubuntu3_i386.deb) ...
  118. Selecting previously deselected package libqt4-multimedia.
  119. Unpacking libqt4-multimedia (from .../libqt4-multimedia_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
  120. Selecting previously deselected package libqt4-dev.
  121. Unpacking libqt4-dev (from .../libqt4-dev_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
  122. Selecting previously deselected package libqt4-opengl-dev.
  123. Unpacking libqt4-opengl-dev (from .../libqt4-opengl-dev_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
  124. Selecting previously deselected package qt4-designer.
  125. Unpacking qt4-designer (from .../qt4-designer_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
  126. Processing triggers for man-db ...
  127. Processing triggers for desktop-file-utils ...
  128. Processing triggers for python-gmenu ...
  129. Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
  130. Processing triggers for menu ...
  131. Processing triggers for python-support ...
  132. Setting up x11proto-core-dev (7.0.16-1) ...
  133. Setting up libxau-dev (1:1.0.5-1) ...
  134. Setting up libxdmcp-dev (1:1.0.3-1) ...
  135. Setting up x11proto-input-dev (2.0-2) ...
  136. Setting up x11proto-kb-dev (1.0.4-1) ...
  137. Setting up xtrans-dev (1.2.5-1) ...
  138. Setting up libpthread-stubs0 (0.3-2) ...
  139. Setting up libpthread-stubs0-dev (0.3-2) ...
  140. Setting up libxcb1-dev (1.5-2) ...
  141. Setting up libx11-dev (2:1.3.2-1ubuntu3) ...
  142. Setting up libdrm-dev (2.4.18-1ubuntu3) ...
  143. Setting up mesa-common-dev (7.7.1-1ubuntu3) ...
  144. Setting up libgl1-mesa-dev (7.7.1-1ubuntu3) ...
  145. Setting up libglu1-mesa-dev (7.7.1-1ubuntu3) ...
  146. Setting up libqt4-multimedia (4:4.6.2-0ubuntu5.3) ...
  147.  
  148. Setting up libqt4-dev (4:4.6.2-0ubuntu5.3) ...
  149. update-alternatives: using /usr/bin/moc-qt4 to provide /usr/bin/moc (moc) in auto mode.
  150. update-alternatives: using /usr/bin/uic-qt4 to provide /usr/bin/uic (uic) in auto mode.
  151. update-alternatives: using /usr/bin/lupdate-qt4 to provide /usr/bin/lupdate (lupdate) in auto mode.
  152. update-alternatives: using /usr/bin/lrelease-qt4 to provide /usr/bin/lrelease (lrelease) in auto mode.
  153.  
  154. Setting up libqt4-opengl-dev (4:4.6.2-0ubuntu5.3) ...
  155. Setting up qt4-designer (4:4.6.2-0ubuntu5.3) ...
  156. update-alternatives: using /usr/bin/designer-qt4 to provide /usr/bin/designer (designer) in auto mode.
  157.  
  158. Processing triggers for libc-bin ...
  159. ldconfig deferred processing now taking place
  160. Processing triggers for menu ...
  161. [lexel@ ~] cd Documents/
  162. [lexel@ ~/Documents] pyuic4 untitled.ui
  163. Traceback (most recent call last):
  164. File "/usr/bin/pyuic4", line 3, in <module>
  165. import PyQt4.uic.pyuic
  166. File "/usr/lib/pymodules/python2.6/PyQt4/uic/pyuic.py", line 4, in <module>
  167. from PyQt4 import QtCore
  168. RuntimeError: the sip module implements API v8.0 to v8.1 but the PyQt4.QtCore module requires API v7.1
Advertisement
Add Comment
Please, Sign In to add comment