[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.

Luck,

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_1.8.3.1_i386.deb 
> Password:
> (Reading database ... 92813 files and directories currently
> installed.)
> Preparing to replace dpkg 1.8.3.1 (using dpkg_1.8.3.1_i386.deb) ...
> dpkg: error processing dpkg_1.8.3.1_i386.deb (--install):
>  unable to install updated status of `dpkg': No such file or directory
> Errors were encountered while processing:
>  dpkg_1.8.3.1_i386.deb
> 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
> help.
> 
> 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 --- sam@uchicago.edu --- http://www.abisource.com/~sam/
> OpenPGP Key: CABD33FC --- http://samth.dyndns.org/key
> DeCSS: http://samth.dynds.org/decss
> 
> 

Dwarf
--
_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (850) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- See www.linuxpress.com for more details  _-_-_-_-_-_-_-



Reply to: