remove packages

C de-Avillez hggdh2 at ubuntu.com
Tue Nov 23 20:33:01 UTC 2010


On 11/23/2010 01:20 PM, Masao Kitamura wrote:
>> now my question.
>> is there a way (without reinstalling the OS) to remove the package libc6
>> and install libc6-2.7-18lenny6.
> 
> Try:
> 
> apt-get remove --purge libc6

Not a good idea -- libc6 is required by pretty much everything, and
force-removing it will end up in an unusable system.

You could try:

1. download the lenny libc6 package you want;
2. 'sudo dpkg -i' it.

Just please be aware that mixing Debian and Ubuntu packages is not
always a good idea -- in libc6's case, probably a real bad one.

(in Maverick, 'apt-cache rdepends libc6' lists 14k packages... in
other words, a good portion of what we ship.)

Some of these packages may have a depends clause on the specific
version of the official libc6 -- it is safer to check *before* you
force the install:

sudo dpkg -i --dry-run <the lenny libc6>

and then analyse the output, and decide on a course of action.

Cheers,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101123/f573e451/attachment.sig>


More information about the ubuntu-users mailing list