Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.60 KB | None | 0 0
  1. $ apt-cache policy python
  2. python:
  3. Installed: 2.7.10-1
  4. Candidate: 2.7.10-1
  5. Version table:
  6. *** 2.7.10-1 0
  7. 100 /var/lib/dpkg/status
  8. 2.7.5-5ubuntu3 0
  9. 500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  10.  
  11. $ /usr/bin/python2.7
  12. Python 2.7.6 (default, Jun 22 2015, 17:58:13)
  13. [GCC 4.8.2] on linux2
  14. Type "help", "copyright", "credits" or "license" for more information.
  15. >>> exit()
  16.  
  17. $ sudo apt-get install muon
  18. Reading package lists... Done
  19. Building dependency tree
  20. Reading state information... Done
  21. Some packages could not be installed. This may mean that you have
  22. requested an impossible situation or if you are using the unstable
  23. distribution that some required packages have not yet been created
  24. or been moved out of Incoming.
  25. The following information may help to resolve the situation:
  26.  
  27. The following packages have unmet dependencies:
  28. muon : Depends: apt-xapian-index but it is not going to be installed
  29. E: Unable to correct problems, you have held broken packages.
  30.  
  31. sudo apt-get autoremove
  32. sudo apt-get clean
  33. sudo apt-get autoclean
  34. sudo apt-get update
  35. sudo apt-get upgrade -f
  36. sudo apt-get -f install muon
  37.  
  38. sudo apt-get -f install
  39.  
  40. sudo dpkg --configure -a
  41. sudo apt-get update && sudo apt-get dist-upgrade
  42. sudo apt-get install muon
  43.  
  44. sudo apt-get -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-confmiss" --reinstall install muon
  45.  
  46. $ sudo apt-get install apt-xapian-index
  47. Reading package lists... Done
  48. Building dependency tree
  49. Reading state information... Done
  50. Some packages could not be installed. This may mean that you have
  51. requested an impossible situation or if you are using the unstable
  52. distribution that some required packages have not yet been created
  53. or been moved out of Incoming.
  54. The following information may help to resolve the situation:
  55.  
  56. The following packages have unmet dependencies:
  57. apt-xapian-index : Depends: python-xapian (>= 1.0.2) but it is not going to be installed
  58. Depends: python-apt (>= 0.7.93.2) but it is not going to be installed
  59. Depends: python-debian (>= 0.1.14) but it is not going to be installed
  60. Depends: python:any (>= 2.7.1-0ubuntu2)
  61. E: Unable to correct problems, you have held broken packages.
  62.  
  63. $ sudo apt-get install meld
  64. Reading package lists... Done
  65. Building dependency tree
  66. Reading state information... Done
  67. Some packages could not be installed. This may mean that you have
  68. requested an impossible situation or if you are using the unstable
  69. distribution that some required packages have not yet been created
  70. or been moved out of Incoming.
  71. The following information may help to resolve the situation:
  72.  
  73. The following packages have unmet dependencies:
  74. meld : Depends: python:any (>= 2.7.1-0ubuntu2)
  75. Depends: python-gtk2 (>= 2.14) but it is not going to be installed
  76. Depends: python-glade2 (>= 2.14) but it is not going to be installed
  77. Depends: python-gobject-2 (>= 2.16) but it is not going to be installed
  78. Recommends: python-gnome2 but it is not going to be installed
  79. Recommends: python-gconf but it is not going to be installed
  80. Recommends: python-gtksourceview2 (>= 2.4) but it is not going to be installed
  81. E: Unable to correct problems, you have held broken packages.
  82.  
  83. $ sudo update-alternatives --config python
  84. update-alternatives: error: no alternatives for python
  85.  
  86. sudo dpkg -P python2.7
  87. sudo apt-get install python2.7
  88. sudo dpkg -P python-minimal
  89. sudo apt-get autoremove && sudo apt-get clean sudo apt-get update && sudo apt-get -f install
  90.  
  91. $ apt-cache policy python
  92. python:
  93. Installed: 2.7.10-1
  94. Candidate: 2.7.10-1
  95. Version table:
  96. *** 2.7.10-1 0
  97. 100 /var/lib/dpkg/status
  98. 2.7.5-5ubuntu3 0
  99. 500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  100.  
  101. $ sudo apt-get -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-confmiss" --reinstall install python
  102. Reading package lists... Done
  103. Building dependency tree
  104. Reading state information... Done
  105. Reinstallation of python is not possible, it cannot be downloaded.
  106. 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
  107.  
  108. $ sudo apt-get -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-confmiss" --reinstall install python2
  109. Reading package lists... Done
  110. Building dependency tree
  111. Reading state information... Done
  112. E: Unable to locate package python2
  113.  
  114. ~/Python-2.7.10$ sudo make uninstall
  115. make: *** No rule to make target `uninstall'. Stop.
  116.  
  117. $ apt-cache policy python
  118. python:
  119. Installed: 2.7.10-1
  120. Candidate: 2.7.10-1
  121. Version table:
  122. *** 2.7.10-1 0
  123. 100 /var/lib/dpkg/status
  124. 2.7.5-5ubuntu3 0
  125. 500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  126.  
  127. $ /usr/bin/python2.7
  128. Python 2.7.6 (default, Jun 22 2015, 17:58:13)
  129. [GCC 4.8.2] on linux2
  130. Type "help", "copyright", "credits" or "license" for more information.
  131. >>> exit()
  132.  
  133. $ dpkg -l python* | grep -v ^un
  134. Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
  135. | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
  136. Halb installiert/Trigger erWartet/Trigger anhängig
  137. |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
  138. ||/ Name Version Architektur Beschreibung
  139. +++-===========================================-=======================================-============-=====================================================================================================================================================================================================================
  140. ii python 2.7.10-1 amd64 Python 2.7.10
  141. ii python-apt-common 0.9.3.5ubuntu1 all Python interface to libapt-pkg (locales)
  142. ii python-chardet-whl 2.2.1-2~ubuntu1 all universal character encoding detector
  143. ii python-colorama-whl 0.2.5-0.1ubuntu2 all Cross-platform colored terminal text in Python - Wheels
  144. ii python-cups 1.9.66-0ubuntu2 amd64 Python bindings for CUPS
  145. rc python-cupshelpers 1.4.3+20140219-0ubuntu2.6 all Python modules for printer configuration with CUPS
  146. ii python-dbus-dev 1.2.0-2build2 all main loop integration development files for python-dbus
  147. ii python-distlib-whl 0.1.8-1ubuntu1 all low-level components of python distutils2/packaging
  148. rc python-gobject-2 2.28.6-12build1 amd64 deprecated static Python bindings for the GObject library
  149. ii python-html5lib-whl 0.999-3~ubuntu1 all HTML parser/tokenizer based on the WHATWG HTML5 specification
  150. ii python-ldb 1:1.1.16-1 amd64 Python bindings for LDB
  151. ii python-minimal 2.7.5-5ubuntu3 amd64 minimal subset of the Python language (default version)
  152. ii python-ntdb 1.0-2ubuntu1 amd64 Python bindings for NTDB
  153. ii python-pam 0.4.2-13.1ubuntu3 amd64 Python interface to the PAM library
  154. ii python-pip-whl 1.5.4-1ubuntu3 all alternative Python package installer
  155. ii python-renderpm 3.0-1build1 amd64 python low level render interface
  156. ii python-reportlab-accel 3.0-1build1 amd64 C coded extension accelerator for the ReportLab Toolkit
  157. ii python-requests-whl 2.2.1-1ubuntu0.3 all elegant and simple HTTP library for Python, built for human beings
  158. ii python-setuptools-whl 3.3-1ubuntu2 all Python Distutils Enhancements (wheel package)
  159. ii python-six-whl 1.5.2-1ubuntu1 all Python 2 and 3 compatibility library (universal wheel)
  160. rc python-support 1.0.15 all automated rebuilding support for Python modules
  161. ii python-talloc 2.1.0-1 amd64 hierarchical pool based memory allocator - Python bindings
  162. ii python-tdb 1.2.12-1 amd64 Python bindings for TDB
  163. ii python-twisted-bin 13.2.0-1ubuntu1 amd64 Event-based framework for internet applications
  164. rc python-twisted-core 13.2.0-1ubuntu1 all Event-based framework for internet applications
  165. rc python-ubuntu-sso-client 13.10-0ubuntu6 all Ubuntu Single Sign-On client - Python library
  166. ii python-urllib3-whl 1.7.1-1ubuntu3 all HTTP library with thread-safe connection pooling
  167. ii python2.7 2.7.6-8ubuntu0.2 amd64 Interactive high-level object-oriented language (version 2.7)
  168. ii python2.7-minimal 2.7.6-8ubuntu0.2 amd64 Minimal subset of the Python language (version 2.7)
  169. ii python3 3.4.0-0ubuntu2 amd64 interactive high-level object-oriented language (default python3 version)
  170. ii python3-apport 2.14.1-0ubuntu3.11 all Python 3 library for Apport crash report handling
  171. ii python3-apt 0.9.3.5ubuntu1 amd64 Python 3 interface to libapt-pkg
  172. ii python3-aptdaemon 1.1.1-1ubuntu5.2 all Python 3 module for the server and client of aptdaemon
  173. ii python3-chardet 2.2.1-2~ubuntu1 all universal character encoding detector for Python3
  174. ii python3-colorama 0.2.5-0.1ubuntu2 all Cross-platform colored terminal text in Python - Python 3.x
  175. ii python3-commandnotfound 0.3ubuntu12 all Python 3 bindings for command-not-found.
  176. ii python3-dbus 1.2.0-2build2 amd64 simple interprocess messaging system (Python 3 interface)
  177. ii python3-dbus.mainloop.qt 4.10.4+dfsg-1ubuntu1 amd64 D-Bus Support for PyQt4 with Python 3
  178. ii python3-debian 0.1.21+nmu2ubuntu2 all Python 3 modules to work with Debian-related data formats
  179. ii python3-defer 1.0.6-2build1 all Small framework for asynchronous programming (Python 3)
  180. ii python3-dev 3.4.0-0ubuntu2 amd64 header files and a static library for Python (default)
  181. ii python3-distlib 0.1.8-1ubuntu1 all low-level components of python distutils2/packaging
  182. ii python3-distupgrade 1:0.220.7 all manage release upgrades
  183. ii python3-gdbm:amd64 3.4.0-0ubuntu1 amd64 GNU dbm database support for Python 3.x
  184. ii python3-gi 3.12.0-1ubuntu1 amd64 Python 3 bindings for gobject-introspection libraries
  185. ii python3-html5lib 0.999-3~ubuntu1 all HTML parser/tokenizer based on the WHATWG HTML5 specification (Python 3)
  186. ii python3-minimal 3.4.0-0ubuntu2 amd64 minimal subset of the Python language (default python3 version)
  187. ii python3-pip 1.5.4-1ubuntu3 all alternative Python package installer - Python 3 version of the package
  188. ii python3-pkg-resources 3.3-1ubuntu2 all Package Discovery and Resource Access using pkg_resources
  189. ii python3-problem-report 2.14.1-0ubuntu3.11 all Python 3 library to handle problem reports
  190. ii python3-pycurl 7.19.3-0ubuntu3 amd64 Python 3 bindings to libcurl
  191. ii python3-pykde4 4:4.13.3-0ubuntu0.1 amd64 Python 3 bindings for the KDE Development Platform
  192. ii python3-pyqt4 4.10.4+dfsg-1ubuntu1 amd64 Python3 bindings for Qt4
  193. ii python3-requests 2.2.1-1ubuntu0.3 all elegant and simple HTTP library for Python3, built for human beings
  194. ii python3-setuptools 3.3-1ubuntu2 all Python3 Distutils Enhancements
  195. ii python3-sip 4.15.5-1build1 amd64 Python 3/C++ bindings generator runtime library
  196. ii python3-six 1.5.2-1ubuntu1 all Python 2 and 3 compatibility library (Python 3 interface)
  197. ii python3-software-properties 0.92.37.3 all manage the repositories that you install software from
  198. ii python3-uno 1:4.2.8-0ubuntu2 amd64 Python-UNO bridge
  199. ii python3-update-manager 1:0.196.13 all python 3.x module for update-manager
  200. ii python3-urllib3 1.7.1-1ubuntu3 all HTTP library with thread-safe connection pooling for Python3
  201. ii python3-wheel 0.24.0-1~ubuntu1 all built-package format for Python
  202. ii python3-xkit 0.5.0ubuntu2 all library for the manipulation of xorg.conf files (Python 3)
  203. ii python3.4 3.4.0-2ubuntu1.1 amd64 Interactive high-level object-oriented language (version 3.4)
  204. ii python3.4-dev 3.4.0-2ubuntu1.1 amd64 Header files and a static library for Python (v3.4)
  205. ii python3.4-minimal 3.4.0-2ubuntu1.1 amd64 Minimal subset of the Python language (version 3.4)
  206.  
  207. $ lsb_release -a
  208. No LSB modules are available.
  209. Distributor ID: Ubuntu
  210. Description: Ubuntu 14.04.2 LTS
  211. Release: 14.04
  212. Codename: trusty
  213.  
  214. $ grep -P '^[ t]*[^#[ t]+' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
  215. /etc/apt/sources.list:deb http://de.archive.ubuntu.com/ubuntu/ trusty main restricted
  216. /etc/apt/sources.list:deb-src http://de.archive.ubuntu.com/ubuntu/ trusty main restricted
  217. /etc/apt/sources.list:deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
  218. /etc/apt/sources.list:deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
  219. /etc/apt/sources.list:deb http://de.archive.ubuntu.com/ubuntu/ trusty universe
  220. /etc/apt/sources.list:deb-src http://de.archive.ubuntu.com/ubuntu/ trusty universe
  221. /etc/apt/sources.list:deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates universe
  222. /etc/apt/sources.list:deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-updates universe
  223. /etc/apt/sources.list:deb http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
  224. /etc/apt/sources.list:deb-src http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
  225. /etc/apt/sources.list:deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
  226. /etc/apt/sources.list:deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
  227. /etc/apt/sources.list:deb http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
  228. /etc/apt/sources.list:deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
  229. /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu trusty-security main restricted
  230. /etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
  231. /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu trusty-security universe
  232. /etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu trusty-security universe
  233. /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu trusty-security multiverse
  234. /etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
  235. /etc/apt/sources.list:deb http://archive.canonical.com/ubuntu trusty partner
  236. /etc/apt/sources.list:deb http://extras.ubuntu.com/ubuntu trusty main
  237. /etc/apt/sources.list:deb http://cran.uni-muenster.de/bin/linux/ubuntu trusty/
  238. /etc/apt/sources.list.d/fossfreedom-packagefixes-trusty.list:deb http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu trusty main
  239. /etc/apt/sources.list.d/jitsi.list:deb http://download.jitsi.org/deb unstable/
  240. /etc/apt/sources.list.d/leviatan1-ppa-trusty.list:deb http://ppa.launchpad.net/leviatan1/ppa/ubuntu trusty main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement