Wednesday, May 8, 2013

Location of The deb Files Stored

Here is the story :
After several months using SolydXK and it ran smoothly, i want to install it into another PC of mine or maybe my friends (and it might goes to my friends' friend).

The problem : 
Slow internet connection to download latest iso or to upgrade the system after fresh installation, and even to download many softwares needed.

Solution : 
Note, need a little command-line process to do the steps.

Copy the deb files from up-to-date already installed SolydX located at :
/var/cache/apt/archives/
into a removable media. You need to be root-ed to do the copy. To do this just open terminal and type sudo thunar.
Note, the SolydX system never being cleaned with :
sudo apt-get clean

Install the new PC with old iso just as explained in this post.
Browse the copied archive folder at removable media, right click and select open terminal here.

type
sudo dpkg -i *.deb 
and hit enter
Note: none of the PC using proprietary driver.

Since my deb files is about 800 mb, it might take a while to be finished.

Then check if there's any broken package using synaptic.
Broken package can be seen through Custom Filters - Broken filters.
To fix this, open the terminal and issue
sudo apt-get -f install
and we got an up-to-date system, plus bonus pae-kernel, a pack of application already installed (like the old PC) and it only needs to download a few packages in order to fix broken packages.

System is up to date.



Note, if you have a decent internet connection, it is much safer to download latest iso or doing regular update after installing the old iso due to the different hardware on every PC.

1 comment: