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

Re: How to dpkg -i on broken system



On Sat, Jun 28, 2003 at 06:10:16PM -0400, Jerome Acks Jr wrote:
> On Fri, Jun 27, 2003 at 10:30:49AM -0700, Ross Boylan wrote:
> > My system got in a broken state in which it could not mount some
> > disks.  I had patched the evms libraries to correct a problem, and
> > then overwrote them with an updated Debian package (which
> > unfortunately lacked the patch).
> > 
> > I wanted to dpkg -i my_old.deb (that will work, even for a downgrade,
> > won't it?), but dpkg said
> > dpkg: unable to access dpkg status area: No such file or directory
> 
> To install a package with a broken dpkg, try the instructions here:
> http://www.debian.org/doc/manuals/reference/ch-package.en.html#s6.3.7

Wow, that looks like a great manual (development version referenced
below, for those who don't know).  Thanks for mentioning it.

And thanks to Osamu for working on it.

> 
> If you still have /var/backups, you'll find several backups of dpkg's
> status file there.
> 
> Also look at:
> http://qref.sourceforge.net/Debian/reference/ch-package.en.html#s-rescue-var
> http://qref.sourceforge.net/Debian/reference/ch-package.en.html#s-recover-status
> 
> > 
> > The status area was on one of the evms disks.
> > 
> > I used dpkg-deb to unpack the .deb file and copied the single file I
> > needed over the newer one.  Is there a better way to do this?  Is
> > there any way to run dpkg -i when the directory it needs is gone?
> > 
> > Thanks.
> > 
> > 
> 



Reply to: