Click to See Complete Forum and Search --> : dpkg problem (broken package)


yard21
02-27-2002, 11:57 AM
Hi,

I have a big problem with a broken package on my debian woody system.

The gpm-package is broken, and dpkg isn't able to reinstall or to remove it. So I decided to let dpkg completely forget about the package, so I could overwrite it with a fresh package.

I read the man-page, and it sais something about the option "remove-reinstreq", and this seems to be the right thing.
But somehow I don't know the magic words to let it happen, I'm doing something wrong, because I always get the same error messages that the package isn't removable etc.

May anybody post the appropriate way to tell dpkg to forget about this d*mn package?

Thanks in advance

Strike
02-27-2002, 06:20 PM
The command you want is:

dpkg --force-remove-reinstreq --remove <packagename>

The remove-reinstreq is one of the things classified as stuff in the --force-stuff section of the man page.