Pre-emptive Request: Backing up installed packages.
james at grayonline.id.au
Thu Jan 26 22:55:16 UTC 2006
On Fri, 27 Jan 2006 09:40, Peter Lieverdink wrote:
> James Gray wrote:
> > Hi Michael,
> > I haven't done it in a while, but I believe the general idea is:
> > sudo dpkg --get-selections > my-packages.txt
> > save the "my-packages.txt" somewhere safe, you'll need it once the
> > machine is rebuilt.
> > then,
> > sudo dpkg --get-selections < my-packages.txt
> Nearly. sudo dpkg --set-selection < my-packages.txt
Oops - cun-n-paste is a blessing and a curse huh?
> > sudo apt-get -f install
This isn't quite right either. You need to:
1. run "sudo dselect" (not apt)
2. select "Install".
It's an interactive process so not really scriptable AFAIK. But once this
is done, you'll have all packages in the same state as before.
Everywhere I look I see NEGATIVITY and ASPHALT ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the ubuntu-users