On Tue, 2002-02-05 at 08:15, Osamu Aoki wrote: > On Tue, Feb 05, 2002 at 04:28:46PM +1030, Tom Cook wrote: > > Is there some way to get apt to re-download and re-install ALL > > packages installed on the system? I am not looking for an upgrade, > > but a reinstall. Should I just write some script to get a list of > > installed packages and xargs them to 'apt-get --reinstall install' or > > is there some way to specify all of the installed packages > > automagically? > > # dpkg --get-selections "*" >/myselections > # cd /etc ; tar cvzf ../etc.tar.gz * > # cd / > ... move myselections and etc.tar.gz into safe place. > > Reinstall. (Just minimum) > # dselect update > # dpkg --get-selections < /whereever/myselections > # dselect install
Not to bug you, but in this case could be better using "apt-get --reinstall dselect-upgrade" instead of "dselect install"? I could be wrong, i've only used dselect years ago for the first installation ;) Andrea -- Should define myself as an IT consultant? -- Andrea Vettorello