dpkg export??

Thilo Six T.Six at gmx.de
Mit Jun 28 18:39:28 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Rainer Unkenstein wrote the following on 28.06.2006 19:33:
> Am Wed, 28 Jun 2006 17:12:53 +0000 Felix Marthaler <felix at marfix.net>
> schrieb:
> 
>> gibt es so eine simple loessung?
> 
> Klaro:
> *Pakete sichern
>  dpkg --get-selections > Paketliste

Diese Ausgabe enthält nur noch "etwas Müll" wie dieses "installed".
Mit:
dpkg --get-selections | /bin/grep 'install$' | /usr/bin/awk '{print $1}'
> full.package.list-$(/bin/uname -n)

(muss einzeilig sein)

entfällt das. Jedenfalls berzuge und nutze ich immer diese Version.

> *Pakete wieder einspielen
>  dpkg --set-selections < Paketliste

# aptitude install $(cat full.package.list-HOST)

> *und installieren
>  apt-get dselect-upgrade
> 
> Rainer

MfG Thilo
- --
i am on Ubuntu 2.6 KDE
- - some friend of mine

gpg key: Ox4A411E09

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEor7PgkdHiUpBHgkRA4cgAJkBHe8yh3IGXSEhVpeW5cebXgioBwCfb1lU
UG03xZdjS0DpryVKsrhkh1k=
=2oo5
-----END PGP SIGNATURE-----