D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Package lists for restore/upgrade

 

On Mon, 10 Oct 2011 11:57:53 +0100
Martin Gautier wrote:

> 
> On 10/10/11 09:04, tom wrote:
> >
> > I've been backing up /home and then manually reloading the packages 
> > after re-installing the basic system.
> > I'm about to 'upgrade' a machine from ubu10.10 to 11.04 but I've a
> > few thousand unwanted packages that I dont particularly want to
> > waste time an bandwidth downloading . Is there a way of finding out
> > whatâs been used lately so I can just do a fresh install, load the
> > these packages and then restore the /home ?
> > Tom te tom te tom
> >
> Tom
> 
> Try
> 
> Backup installed package list on current machine
> *dpkg --get-selections > selections.txt*
> 
> move selections.txt to the new machine Set package list on new
> machine and install packages
> *dpkg --set-selections < selections.txt
> apt-get update
> apt-get upgrade
> 
> Regs
> Martin
> *

This would, however, not allow for the opting-out of installing
packages that are no longer needed.  It would be fine after you'd gone
through and removed the packages you no longer need.

Grant.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq