PDA

View Full Version : [lubuntu] Where are update and apt-get files stored?



kiwinuck
November 28th, 2010, 03:40 AM
I am trying to install Lubuntu 10.10 in a VirtualBox 3.0.14 guest on Mac OS X 10.4 with the hopes of getting Guest Additions installed and working.

From prior experience I tend to go through the install process more than once which involves downloading the updates and any necessary apt-get files multiple times.

So, where do these files get stored? I would like to then save them to a separate disk mount, so I can use them on a subsequent install...which is second question...how can do that?

oldos2er
November 28th, 2010, 04:09 AM
/var/cache/apt/archives

You can copy the contents of this folder wherever you need to. Don't run apt-get clean or you will lose everything there.

kiwinuck
November 28th, 2010, 04:34 AM
Thanks for that! I've stored them to a second hd mounted as xfer. Now lets say I create a new Lubuntu install and mount xfer.

How do I get Lubuntu to grab the files from xfer locally rather than downloading them externally?

oldos2er
November 28th, 2010, 07:24 AM
Copy the files back to /var/cache/apt/archives, then run
sudo apt-get install --no-download <package name>

manish671
January 30th, 2012, 02:41 PM
Copy all those files to some location e.g. Desktop/abc then in terminal

sudo dpkg -i ~/Desktop/abc/*.deb

All the packages will get included.

raja.genupula
January 30th, 2012, 04:18 PM
one small thing , first any package have to install means the dependencies satisfaction is must .

so if we give like that above posts how the dependencies gonna take in order ?

all the package gonna install by on what order ?



Thanks in advance .

oldos2er
January 30th, 2012, 07:23 PM
Closed, necromancy.