Re: keeping package selection with new install



On Tue, Apr 29, 2008 at 03:14:01PM -0400, Damon L. Chesser wrote:
frits wrote:
Hello,

I have a rather old PC running Etch just the way I want it.
Om my new PC I want to instal Lenny, and with the same set of
packages I have on Etch. Is there a trick to transport my
installed package list in a clever way?

Frits:
get the source.list names for any special repos (mulitmedia comes to mind)
dpkg --get-selections >filename
grep "\binstall\b" filename >filename2
transfer filename2 over.
modify /etc/apt/sources.list
dpkg --set-selections < filename2
apt-get -u upgrade-dselect

watch the magic happen.

It happened!

Thank you all.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • keeping package selection with new install
    ... I have a rather old PC running Etch just the way I want it. ... Om my new PC I want to instal Lenny, and with the same set of ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Refresh rate & video play back 60Hz & 50Hz
    ... machines and I'm using the Open source RADEON driver and I'm running Etch with Xfce with everything stock from apt ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: dhclient apparently not being run at boot
    ... One of them is an AMD K8 running etch, ... Ismael Valladolid Torres "Il est vain de pleurer sur l'esprit, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Openoffice file takes a long time to open
    ... I am running Etch on a Dell Precision laptop. ... I have one openoffice file, say XYZ.odt, which takes a long time to open ... check whether any other unusual objects are embedded or called ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Icons missing in Etch
    ... advertised OS/2 Warp on TV. ... OS/2 v4 to Linux. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)