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

Re: "Save the list of installed packages and load it"



On Sun, Nov 30, 2008 at 12:11:30AM +0100, Daniel Baumann wrote:
> Marcos Guglielmetti wrote:
> > what do you mean with "Save the list of installed packages and load it into your new Debian Live 
> > System"
> 
> dpkg --get-selections > config/chroot_local-packageslists/$(hostname -f)

This seems to include automatically-selected packages. Maybe something
along the lines of:

  aptitude search -F '%p install' '~i !~M'

Or a bit more clearly:

  aptitude search -F '%p install' '?installed !?automatic'

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir


Reply to: