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

Re: Paketenliste für neu zu installierendes System



* Jan Hauke Rahm wrote:

> Ulrich Grün schrieb:
> > Wenn ich aber nach der Basisinstallation von Debian-Etch die Pakete einspielen 
> > möchte (mit 'dpkg --set-selections') funktioniert das nicht. Wie kann ich 
> > denn dpkg sagen es sollte die Textdatei verwenden, da 'dpkg --set-selections' 
> > keine weiteren Argumente erwartet (so ungefähr lautet der Fehlerhinweis).

> hilft dir das vielleicht weiter?

> <http://wiki.debianforum.de/AnzeigeAllerInstalliertenPakete#head-4860d77450ec4ab2a830d14a7f47234fffa9df56>

Ja, das stimmt mit der dpkg Man-Page überein, in der steht:

|    dpkg --set-selections <myselections
|
| Note  that this will not actually install or remove anything, but just
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| set the selection state on the requested packages.  You will need some
                                                      ^^^^^^^^^^^^^^^^^^
| other application to actually download and install the requested pack-
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| ages.  For example, run dselect and choose "Install".
|
| Ordinarily, you will find that dselect(8) provides a  more convenient
| way to modify the package selection states.

So wie im debianforum.de wiki beschrieben müsste es doch eigentlich 
klappen?

dpkg --get-selections > paketliste

dpkg -set-selections < paketliste
apt-get dselect-upgrade


Ciao,
                             Christian

-- 
                  (o_        http://www.linuxbasis.org
(o<   _o)   (o_   //\        --------------------------
(/)_  (/)_  (/)_  V_/_       http://www.linux-drivers.org



Reply to: