Re: severely broken dpkg (among other things)
I suspect that your sudoers entry doesn't give you permissions to write
into the dpkg status files. The command should work just fine when
executed as true root.
On Mon, 26 Mar 2001, Sam TH wrote:
> [This might seem like something for -user, but it's a little weirder
> than most stuff there.]
> I recently returned from vacation, during which my computer was shut
> down by power difficulties, to discover that much was amiss with my
> computer. Most importantly, dpkg was totally broken. Currently, any
> installation or removal of a package results in the following error:
> [sam@samth sam]$ sudo dpkg -i dpkg_126.96.36.199_i386.deb
> (Reading database ... 92813 files and directories currently
> Preparing to replace dpkg 188.8.131.52 (using dpkg_184.108.40.206_i386.deb) ...
> dpkg: error processing dpkg_220.127.116.11_i386.deb (--install):
> unable to install updated status of `dpkg': No such file or directory
> Errors were encountered while processing:
> Processing was halted because there were too many errors.
> I am entirely unable to discover what file it is reffering to. I have
> replaced my entire dpkg installation with the non-debbin tarball, and
> it hasn't changed anything. I've tried it with an empty
> /var/lib/dpkg, and with one from a different installation. Neither of
> these change the error.
> Of course, this makes apt sort of hard to use. But apt also has other
> problems. apt-get update doesn't really update. That is, it
> refetches the supposedly new package lists every time it is run. I
> have no idea why this is happening, but can't reinstall apt since dpkg
> is dead. But removeing the contents of /var/lib/apt/lists doesn't
> That's it for weird problems currently. I have to admit to having no
> clue what so ever as to what could be causing these problems. Can
> anyone help?
> sam th --- email@example.com --- http://www.abisource.com/~sam/
> OpenPGP Key: CABD33FC --- http://samth.dyndns.org/key
> DeCSS: http://samth.dynds.org/decss
_-_-_-_-_- Author of "The Debian Linux User's Guide" _-_-_-_-_-_-
aka Dale Scheetz Phone: 1 (850) 656-9769
Flexible Software 11000 McCrackin Road
e-mail: firstname.lastname@example.org Tallahassee, FL 32308
_-_-_-_-_-_- See www.linuxpress.com for more details _-_-_-_-_-_-_-