remove packages

Richard Gliebe richard.gliebe at
Tue Nov 23 05:09:03 UTC 2010

Hi there,

is there a way to remove a package with a lot of dependencies?

I have to upgrade the package libc6-dev, but 'apt-get upgrade' says, 
there is a dependency with package libc6 (should be libc6-2.7-18lenny6).

The following packages have unmet dependencies:
   libc6-dev: Depends: libc6 (= 2.7-18lenny6) but 2.7-18 is installed

My problem is now, that someone have installed the package libc6 instead 
of 2.7-18lenny6.

# dpkg -l | grep -i libc6
ii  libc6                            2.7-18                   GNU C 
Library: Shared libraries
pU  libc6-dev                        2.7-18lenny6             GNU C 
Library: Development Libraries and Hea

now my question.
is there a way (without reinstalling the OS) to remove the package libc6 
and install libc6-2.7-18lenny6.

many thanks

More information about the ubuntu-users mailing list