[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backups and the distribution



on Fri, Apr 20, 2001 at 10:42:53PM -0700, Osamu Aoki (debian@aokiconsulting.com) wrote:
> Willi Dyck had interesting trick.  I knew --get-selections but did not
> use it with apt-get.  I would do slightly different but this concept is
> interesting.
> 
> # dpkg --get-selections | grep -v deinstall | cut -s -f1 >installed.deb
> # cat installed.db | xargs -n 10 apt-get install -d
> 
> Oh your Willi's vi actions can be  |tr '\n' ' '>installed.deb
> .... But xarg makes this not needed.

While that's doable, the following is probably more straighforward:

    $ dpkg --set-selections < file
    $ apt-get update
    $ apt-get dist-upgrade

Cheers.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpc4fF0rSdFZ.pgp
Description: PGP signature


Reply to: