Python-pip:depends:python-setuptools (= 0.6c1) problem

Source: Internet
Author: User
Tags unpack

http://luojinghappy.blog.51cto.com/683032/1629661



Installing Apt-get Install PYTHON-PIP encounters the following issues.


root@saltstackminion:~# Apt-get Install Python-pip
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
Some packages could is not installed. This may mean so you have
Requested an impossible situation or if you are using the unstable
Distribution that some required packages have not yet been created
Or been moved out of incoming.
The following information may resolve the situation:

The following packages have unmet dependencies:
Python-pip:depends:python-setuptools (>= 0.6c1) But it is isn't going to be installed
E:unable to correct problems, your have held broken.

Solution:

The python-pkg-resources completely using

sudo apt-get purge python-pkg-resources

Once completed successfully, run

sudo apt-get-f Install

Then

   sudo apt-get install Python-pip



fabric@ubuntu:~/soft$ sudo apt-get install PYTHON-PIP Reading package ... Done building Dependency The Reading state information ... Done the following packages were automatically installed and are no longer required:app-install-data Apt-xapian-index g ir1.2-gmenu-3.0 laptop-detect libqt4-designer libqt4-help libqt4-opengl libqt4-scripttools libqt4-svg libqt4-test LIBQ Tassistantclient4 libqtwebkit4 oneconf-common python-commandnotfound python-debtagshw python-defer python-dirspec PYT HON-GDBM python-httplib2 python-oneconf python-openssl python-pam python-piston-mini-client python-qt4 python-serial
  Python-sip python-twisted-bin Python-xapian python3-oneconf python3-piston-mini-client
Software-center-aptdaemon-plugins ubuntu-extras-keyring ubuntuone-client-data use ' apt-get autoremove ' to remove them. The following extra packages would be Installed:python-colorama python-distlib python-html5lib python-pkg-resources py
Thon-setuptools Suggested Packages:  Python-genshi python-distribute Python-distribute-doc recommended packages:build-essential Python-dev-all the Followi Ng NEW packages'll be Installed:python-colorama python-distlib python-html5lib python-pip python-pkg-resources Pyth
On-setuptools 0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
Need to get 604 KB of archives.
After this operation, 2,699 KB of additional disk space would be used. Do your want to continue? [y/n] Y get:1 http://us.archive.ubuntu.com/ubuntu/trusty/universe python-colorama all 0.2.5-0.1UBUNTU1 [18.3 KB] Get:2 H Ttp://us.archive.ubuntu.com/ubuntu/trusty/universe python-distlib all 0.1.8-1 [113 KB] Get:3 http:// Us.archive.ubuntu.com/ubuntu/trusty/main python-html5lib All 0.999-2 [83.2 KB] Get:4 http://us.archive.ubuntu.com/ Ubuntu/trusty/main python-pkg-resources All 3.3-1UBUNTU1 [61.9 KB] Get:5 http://us.archive.ubuntu.com/ubuntu/trusty/ Main Python-setuptools all 3.3-1UBUNTU1 [230 KB] Get:6 http://us.archive.ubuntu.com/ubuntu/trustY/universe Python-pip all 1.5.4-1 [97.7 KB] fetched 604 MB in 7s (77.7 kb/s)
Selecting previously unselected package Python-colorama. (Reading database ...)
168441 files and directories currently installed.)
Preparing to unpack .../python-colorama_0.2.5-0.1ubuntu1_all.deb ...
Unpacking Python-colorama (0.2.5-0.1UBUNTU1) ...
Selecting previously unselected package python-distlib.
Preparing to unpack .../python-distlib_0.1.8-1_all.deb ...
Unpacking Python-distlib (0.1.8-1) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../python-html5lib_0.999-2_all.deb ...
Unpacking Python-html5lib (0.999-2) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_3.3-1ubuntu1_all.deb ...
Unpacking python-pkg-resources (3.3-1UBUNTU1) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu1_all.deb ... Unpacking Python-setuptools (3.3-1UBUNTU1) ...
Selecting previously unselected package Python-pip.
Preparing to unpack .../python-pip_1.5.4-1_all.deb ...
Unpacking Python-pip (1.5.4-1) ...
Processing triggers for man-db (2.6.7.1-1UBUNTU1) ...
Setting up Python-colorama (0.2.5-0.1UBUNTU1) ...
Setting up Python-distlib (0.1.8-1) ...
Setting up Python-html5lib (0.999-2) ...
Setting up Python-pkg-resources (3.3-1UBUNTU1) ...
Setting up Python-setuptools (3.3-1UBUNTU1) ...
 Setting up Python-pip (1.5.4-1) ...


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.