Jude DaShiell wrote:
[...]
Where is the list of installed packages kept on
these systems, if I can store a list I can make a script out of it and
more quickly return to where I was if a cd reinstall is necessary using
that script to download the missing packages? I think I can use sed to
strip the version stuff off the end of the package names once I find
that list or hope I can.
You can do
dpkg --get-selections "*" > packages.txt
on one computer, then copy packages.txt to another computer and do
dselect update
dpkg --set-selections < packages.txt
apt-get -u dselect-upgrade
to install the same packages.
If you just want a list of all installed packages for further
processing, try:
dpkg --get-selections | awk '/install$/{print $1}'
A really good source to learn about such tricks is
http://www.debian.org/doc/manuals/reference/reference.en.html
Regards,
Florian
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]