remove packages

Tom H tomh0665 at gmail.com
Wed Nov 24 13:29:38 UTC 2010


On Wed, Nov 24, 2010 at 6:48 AM, Richard Gliebe <richard.gliebe at fhv.at> wrote:
> On 11/24/10 12:17 PM Tom H wrote:


>> You need to install "linux-libc-dev".
>
> I installed it with 'dpkg --configure linux-libc-dev'

Why not "apt-get install linux-libc-dev" or "aptitude install linux-libc-dev"?

Why are you using dpkg? Do you ever upgrade this box with "apt-get
upgrade"/"apt-get dist-upgrade"/"aptitude safe-upgrade"/"aptitude
full-upgrade"? Or do you upgrade packages piecemeal with dpkg?



> # dpkg --audit
> The following packages have been unpacked but not yet configured.
> They must be configured using dpkg --configure or the configure
> menu option in dselect for them to work:
>  libc6-dev

Have you tried "dpkg --configure libc6-dev"?



> # apt-cache show libc6
>
> Package: libc6
> Priority: required
> Version: 2.7-18lenny6
> Filename: pool/updates/main/g/glibc/libc6_2.7-18lenny6_i386.deb
>
> Package: libc6
> Status: install ok installed
> Version: 2.7-18
>
> # apt-cache show libc6-dev
>
> Package: libc6-dev
> Priority: optional
> Version: 2.7-18lenny6
> Filename: pool/updates/main/g/glibc/libc6-dev_2.7-18lenny6_i386.deb
>
> # apt-cache policy libc6
> libc6:
>   Installed: 2.7-18
>   Candidate: 2.7-18lenny6
>
> # apt-cache policy libc6-dev
> libc6-dev:
>   Installed: 2.7-18lenny6
>   Candidate: 2.7-18lenny6

Back to my earlier questions: Why not use apt-get/aptitude? libc6
(2.7-18) is no longer in the Lenny repos so there must have been
earlier opportunities to upgrade to 2.7-18lenny4 or 2.7-18lenny6 (this
must be the reason that you got the "non-dpkg owned" message).

You should be able to upgrade to the latest version of libc6 with
"apt-get install libc6"/"aptitude install libc6"/"apt-get install
--reinstall libc6"/"aptitude reinstall libc6".



>> Are you running Hardy?
>
> # cat /etc/issue
> Debian GNU/Linux 5.0
>
> # cat /etc/motd
> Linux sessions2 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686

OK. Didn't think that you'd be able to run Hardy with a Lenny libc.




More information about the ubuntu-users mailing list