Re: Chrooted Debian install from base image (was Re: Instalation question: Toshiba TECRA 8000)
On Sat, Apr 06, 2002 at 08:52:50PM -0800, Karsten M. Self wrote:
> - Schlep in a package list from another source that you'd like to run:
>
> # On other box:
> $ dpkg --get-selections > file
> $ $EDIT file
>
> # Transfer file to your new system (floppy, network, carrier
> # pigeon, whatever).
>
> $ dpkg --set-selections < file
>
> # In theory, the following works, though I had to kick it a few
> # times to make it go right:
>
> $ apt-get dist-upgrade # This should work.
> $ apt-get dselect-upgrade # This is what I ended up using.
>
> FIXME: ...can someone straighten me out on this?
I'm fairly sure you need to use 'apt-get dselect-upgrade' (or 'dselect
install') to act on what you've set using 'dpkg --set-selections'. The
dist-upgrade method makes its own decisions, while dselect-upgrade
actually pays attention to what you've just set in /var/lib/dpkg/status.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: