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

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.


Reply to: