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

Re: Paketenliste für neu zu installierendes System



* Ulrich Grün wrote:

> Also schrieb Stefan Bauer am Samstag, 23. Juni 2007 14:20:

> > dpkg --get-selections > installierte-pakete
> >
> > dpkg --set-selections < installierte-pakete zum erneuten einspielen

> Es gelingt mir um die Liste installierter Pakete zu erstellen. Dazu habe ich 
> die Ausgabe von 'dpkg --get-selections' in eine Textdatei gespeichert.
> 
> 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).

dpkg --set-selections < Textdatei

... funktioniert nicht?

In der Man-Page steht hierüber bei den Beispielen folgendes:

,----[ dpkg(8) ]
| EXAMPLES
|  [...]
|   To make a local copy of the package selection states:
|      dpkg --get-selections >myselections
|
|   You might transfer this file to another computer, and install it there
|   with:
|      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.
|  [...]
`----

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



Reply to: