How do I reinstall Ubuntu but keep package files (to eliminate re-downloading)

As the title says:
How do I reinstall Ubuntu but keep package files (to eliminate re-downloading)

I am using Ubuntu 7.10

I want to make sure the package files are moved to a data or /home partition or something is done to ensure that I do not have to download them again due to bandwidth limit constraints (and the time needed).

Surprisingly, a Google search for "reinstall ubuntu" finds close to nothing.
LVL 8
kebabsAsked:
Who is Participating?
 
http:// thevpn.guruConnect With a Mentor Commented:
All you have to do is copy the files in

/var/cache/apt/archives/

and after you re-install put them back..

do an apt-get update then you can install with apt-get install and matching packages will be fetched from your archives.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.