l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jun 02 14:36

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] recovering /usr with dpkg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] recovering /usr with dpkg

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 01, 2003 at 12:47:53PM -0700, Henry House wrote:
> On Sun, Jun 01, 2003 at 12:19:58PM -0700, Nick Donnelly wrote:
> > I still have an intact /var/lib/dpkg/status.
> > What should my next command be?

apt-get install --reinstall=20
  `dpkg --get-selections | awk '/[^e]install$/ { print $1 }'`

  That should do it... since you say you have status the stuff inside the
back quotes will get a complete list of everything currently marked as
installed, and have apt-get reinstall them.

  Let me know if that doesn't work...

> * I believe Mike has a post in the archives somewhere about the excellent
>   trick of recovering a missing /var/lib/dpkg by exploiting Debian's
>   requirement that all packages must have an entry in /usr/share/doc.

  I think there have been a few items like this on the list, but most
people have blown away /var/lib/dpkg ... so the step about wouldn't=20
have been suggested.  :)

GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc
Fingerprint: 524D A726 77CB 62C9 4D56  8109 E10C 249F B7FA ACBE

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.