← Back to team overview

sslug-teknik team mailing list archive

Re: Klone Debian installation

 

"Michael Schmidt" <michael.zmit@xxxxxxxxx> writes:

> På klon maskinen med en Debian basic installation:
> ]# dpkg --set-selection <  /media/disk-1/installed.list
>
> Men der sker ikke noget (=ingen pakker bliver installeret)
>
> Gør jeg noget galt eller mangler jeg et eller andet i processen?

Du har fået løst dit problem, men det du mangler er at læse
dokumentationen. I dette tilfælde EXAMPLES afsnitet af dpkg(1):

       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 --clear-selections
            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 packages. For exam-
       ple, run apt-get dselect-upgrade.

//Makholm


Follow ups

References