[PLUG] Finding files and packages on Debian cheat sheet
Kurt Sussman
plug at merlot.com
Sun Jul 9 06:40:36 UTC 2006
Carla Schroder (carla at bratgrrl.com) typed this ...
> Thought this might be useful to the Debian/Ubuntu/other debian derivative
> noobs, and even some oldtimers.
Good stuff. Thanks.
Here's a pair that I use on occasion. I always dump the current package
list before backups so that if a machine takes a dirt nap I can get the
packages installed in one go after the basic (re)install.
dpkg --get-selections > file
dpkg --set-selections < file
After '--set-selections', an 'apt-get update && apt-get upgrade' will
install the packages listed as 'installed' in the file.
This is not like 'dpkg -l' in that it is a minimal list of installed
packages; none of the version info or descriptions like 'dpkg -l'.
--Kurt
--
----------------------------------------------------------------------
Merlot Research Group, Inc http://www.merlot.com
kls[at]merlot.com GPG key 82505A74 Jabber: MerlotQA
More information about the PLUG
mailing list