[TriLUG] Clean Ubuntu upgrade procedure?

Tom Barron tbarron at dyncloud.net
Fri Nov 20 07:46:32 EST 2009


Steve,

http://ubuntuforums.org/showthread.php?t=261366 might be what you are
looking for.

- Tom

On Fri, 2009-11-20 at 07:31 -0500, Steve Litt wrote:
> Hi all,
> 
> Unfortunately, when I switched from Mandriva to Ubuntu 9.04 in July 2009, I 
> installed 32bit Ubuntu and so limped along with 4GB instead of my hardware 8GB 
> installed RAM. Ubuntu Upgrade Manager gives me the choice to upgrade in place, 
> but AFAIK I can't switch to 64 bit if I use that, so I'll need to wipe the 
> system and fresh-install 64bit 9.10.
> 
> Here's the problem. I've installed several hundred packages, so I'd like an 
> automated way to re-install all those packages.
> 
> My thought is to find all the installed virtual packages like this:
> 
> aptitude search . | grep ^v > vpackages.sh
> 
> Then I can use Vim to tweak that file into a shellscript to install the 
> virtual packages.
> 
> But I have a question: Lines beginning with v -- are they all installed, none 
> of them installed, or some installed?
> 
> Then I do the same thing for lines beginning with i, which are the installed 
> packages.
> 
> Does that sound like a reasonable procedure?
> 
> Thanks
> 
> SteveT
> 
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
> 
> 
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ  : http://www.trilug.org/wiki/Frequently_Asked_Questions
-- 
  Tom Barron
  tbarron at dyncloud.net
  +1 919-619-7572




More information about the TriLUG mailing list