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 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
*

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