python-pip unmet dependecies

Archived topics about LMDE 1 and LMDE 2
Locked
lbig

python-pip unmet dependecies

Post by lbig »

Hello folks. I need some help
I am trying to install pip in a fresh install of lmde updated to UP7 but I run into this problem
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that 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 help to resolve the situation:

The following packages have unmet dependencies:
python-pip : Depends: python-setuptools (>= 0.6c1) but it is not going to be installed
Recommends: python-dev-all (>= 2.6) but it is not installable
E: Unable to correct problems, you have held broken packages.


Furthermore attempts to upgrade python-setuptools result in
The following packages have unmet dependencies:
python-setuptools : Depends: python-pkg-resources (= 0.6.24-1) but 0.6.49-2 is to be installed
E: Unable to correct problems, you have held broken packages.
I have tried apt-get clean and apt-get dist-upgrade to no avail . Any help will be greatly appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: python-pip unmet dependecies

Post by Monsta »

Please post the output of:

Code: Select all

inxi -Sr

Code: Select all

apt-cache policy python-pip

Code: Select all

apt-cache policy python-setuptools

Code: Select all

apt-cache policy python-pkg-resources
lbig

Re: python-pip unmet dependecies

Post by lbig »

Sure

Code: Select all

inxi -Sr
System:    Host conectar Kernel 3.10-2-amd64 x86_64 (64 bit) Distro LinuxMint 1 debian
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.mgts.by/pub/linuxmint/packages/ debian main upstream import backport
           deb http://mirrors.fe.up.pt/linuxmint-debian/latest testing main contrib non-free
           deb http://mirrors.fe.up.pt/linuxmint-debian/latest/security testing/updates main contrib non-free
           deb http://mirrors.fe.up.pt/linuxmint-debian/latest/multimedia testing main non-free

Code: Select all

apt-cache policy python-pip
python-pip:
  Installed: (none)
  Candidate: 1.1-3
  Version table:
     1.1-3 0
        500 http://mirrors.fe.up.pt/linuxmint-debian/latest/ testing/main amd64 Packages

Code: Select all

apt-cache policy python-setuptools
python-setuptools:
  Installed: (none)
  Candidate: 0.6.24-1
  Version table:
     0.6.24-1 0
        500 http://mirrors.fe.up.pt/linuxmint-debian/latest/ testing/main amd64 Packages

Code: Select all

apt-cache policy python-pkg-resources
python-pkg-resources:
  Installed: 0.6.49-2
  Candidate: 0.6.49-2
  Version table:
 *** 0.6.49-2 0
        100 /var/lib/dpkg/status
     0.6.24-1 0
        500 http://mirrors.fe.up.pt/linuxmint-debian/latest/ testing/main amd64 Packages
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: python-pip unmet dependecies

Post by Monsta »

lbig wrote:mirrors.fe.up.pt
Just as I thought... That mirror is utterly broken, switch to another one:

Code: Select all

mint-choose-debian-mirror
After that, run

Code: Select all

sudo apt-get update && sudo apt-get dist-upgrade
lbig

Re: python-pip unmet dependecies

Post by lbig »

That solved it!

Thank you very much.
Locked

Return to “LMDE Archive”