on Tue, Dec 04, 2001 at 11:33:39PM +0200, Juha Mäkinen (juham@koti.tpo.fi) wrote: > > > > > Especially given a partial backup, involving, f.ex. X. > > > If I upgrade X with apt-get or dselect, but things go > > > wrong and I restore my backup - how do I put package > > > mabager back on track ...? > > > > > > Or, do I backup just /home and leave all other stuff > > > in the Hand Of God and Package Manager ...? > > > > And before backup do something like > > dpkg --get-selections >/home/backup/packagelist > > (and maybe backup /etc too...?) > > > > The description of those options of dpkg is short of details. > So ... do those --get-selections and --set-selections indeed > serve to put the package-manager's database back the way it > ought to be ( given that I got the right selection > to start with ) ? Yes. dpkg --get-selections > file # save package settings. dpkg --set-selections < file # set package settings. Peace. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? Home of the brave http://gestalt-system.sourceforge.net/ Land of the free Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html
Attachment:
pgpFGfSS0VpQI.pgp
Description: PGP signature