Re: Can't deinstall package
> Thanks for the advice. I gave it a go and came up with:
>
> # dpkg --remove --force-remove-reinstreq kernel-source-1.99.7
> dpkg - warning, overriding problem because --force enabled:
> Package is in a very bad inconsistent state - you should
> reinstall it before attempting a removal.
> (Reading database ... 28305 files and directories currently installed.)
> Removing kernel-source-1.99.7 ...
> The file /usr/src/.linux-versions does not exist. This is an
> misconfiguration, making it hard to provide a /usr/src/linux
> symlink if the latest target is removed.
I had this problem some time back. try editing /var/lib/dpkg/status,
and change the entry for this package to "not installed". Then remove
the offending directories, install the package, and remove it.
rick
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: