Re: Stuck with dpkg: can neither remove nor reinstall a package
- From: shell <shell909090@xxxxxxxxx>
- Date: Sun, 30 Jul 2006 09:58:26 +0800
Nick Lidakis wrote:
Carl Fink wrote:Looks like there has something wrong in ur globel deb database. Maybe remove it from /var/lib/dpkg/ menually and reinstall will fix it. Otherwise, u can also check if u can access all directory dev package need.On Sat, Jul 29, 2006 at 05:07:20PM -0400, Nick Lidakis wrote:when trying to install:Something went terribly wrong while trying to install a debain package called gtkwifi. Now I'm unable to reinstall the package or force its removal. And using apt-get -f install has not worked either. When trying to reinstall via dpk it keeps complaining: "The package gtkwifi needs to be reinstalled, but I can't find an archive for it. The deb is in my home directory. Using the --force-all option (for reinstall and removal) didn't help either.
What's the full command line and exact message you get?
With dpkg, you have to specify the location of the package, something like
dpkg -i /home/nick/gtkwiki.deb
thinkpad:/home/nick# dpkg -i /home/nick/gtkwifi-1.09.deb
(Reading database ... 77112 files and directories currently installed.)
Preparing to replace gtkwifi 1.09 (using /home/nick/gtkwifi- 1.09.deb) ...
Unpacking replacement gtkwifi ...
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /home/nick/gtkwifi- 1.09.deb (--install):
subprocess new post-removal script returned error exit status 1
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
/home/nick/gtkwifi-1.09.deb
thinkpad:/home/nick#
and when trying to remove:
dpkg: error processing gtkwifi (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
gtkwifi
thinkpad:/home/nick#
--
与其相濡以沫,不如相忘于江湖
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Stuck with dpkg: can neither remove nor reinstall a package
- From: Nick Lidakis
- Re: Stuck with dpkg: can neither remove nor reinstall a package
- From: Carl Fink
- Re: Stuck with dpkg: can neither remove nor reinstall a package
- From: Nick Lidakis
- Stuck with dpkg: can neither remove nor reinstall a package
- Prev by Date: Re: Stuck with dpkg: can neither remove nor reinstall a package
- Next by Date: Error in sid upgrade: /var/cache/apt/archives/x11-common_1%3a7.0.22_i386.deb
- Previous by thread: Re: Stuck with dpkg: can neither remove nor reinstall a package
- Next by thread: firefox problem
- Index(es):
Relevant Pages
|