Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2007-12-05
1
Medium Priority
?
730 Views
Last Modified: 2012-08-13
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.
0
Comment
Question by:kebabs
1 Comment
 
LVL 19

Accepted Solution

by:
http:// thevpn.guru earned 2000 total points
ID: 20417924
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

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 21 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question