On Thu, Aug 25, 2005 at 09:05:46PM +0200, Johan Haggi wrote:
> gio 25 agosto 2005, alle 14:57 (GMT+0200), Lucio Crusca ha scritto:
> > [...]
> > Dubbio: 
> > mi piacerebbe evitare di fare il backup dei binari (/usr, /bin, /sbin, ...),
> > ma in questo modo dovrei backupparmi la lista dei pacchetti installati in
> > modo da poterla poi dare in pasto ad apt-get in fase di restore. Io pensavo
> > ad un 
> >         $ dpkg -l | grep ^ii | cut -d\  -f3 > elenco.txt
> 
> dpkg --get-selections > elenco.txt
> 
> > Se poi devo fare il restore pensavo ad un
> >         # apt-get -qq -m install `cat elenco.txt`
> 
> cat elenco.txt | dpkg --set-selections
> apt-get install

hmmmm.... `apt-get dselect-upgrade` ?

-- 
mattia
:wq!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Rispondere a