Page 1 of 1

Update without high speed internet service

Posted: Tue Mar 19, 2013 10:39 am
by WillEllen
I want to update a Mint system that uses a dial-up connection. From a 2nd computer with an already updated system, I copied all the .deb files in the File System/var/cache/apt/archives to a flash drive.

Is there any way to do this except install them one by one?
Bill

Re: Update without high speed internet service

Posted: Tue Mar 19, 2013 11:35 am
by DrHu
Not sure, since each package whether selectively installed or one-by-one is still installing each package..

You might try this approach
http://linux.koolsolutions.com/2008/04/ ... -packages/
http://www.debian-administration.org/articles/406
  • One of the simplest solutions is to setup a caching proxy server which will be used to fetch packages by each host. This will ensure that packages are downloaded from the network the first time they are requested, then when the next two machines come to request the same package it will be fetched from the cache - not using up any external bandwidth at all!

Re: Update without high speed internet service

Posted: Tue Mar 19, 2013 11:55 am
by viking777
It is exactly the same as updating from the internet, just copy the files into /var/cache/apt/archives on the other machine and update through synaptic or the command line.

Code: Select all

sudo apt-get dist-upgrade
I do this all the time on multiple ubuntu based installations, no need to keep downloading the same stuff over again. My installations are all on the same machine, so I actually just upgrade one installation then sync the /var/cache/apt/archives files between the two installs using an rsync gui and then run the upgrade on the other installation.

Re: Update without high speed internet service

Posted: Wed Mar 20, 2013 10:33 am
by WillEllen
How do you copy the files into /var/cache/apt/archives on the other machine? It seems that you are prevented from doing this in the file manager.
Willellen

Re: Update without high speed internet service

Posted: Wed Mar 20, 2013 10:39 am
by anandrkris
You need to be root to have write access. Try this in terminal.

Code: Select all

sudo cp /var/cacopy/*.deb /var/cache/apt/archives

Re: Update without high speed internet service

Posted: Thu Mar 21, 2013 10:37 am
by Pierre
viking777 - when you do that - do you get any dependency errors?.

Re: Update without high speed internet service

Posted: Fri Mar 22, 2013 6:39 am
by viking777
Pierre wrote:viking777 - when you do that - do you get any dependency errors?.
Never.

Re: Update without high speed internet service

Posted: Fri Mar 22, 2013 11:00 am
by WillEllen
I get an error message that states "Permission denied". How do I get "permission" in this file manager? I believe that the Dolphin file manager allows you to log in as root for things like this.

WillEllen

Re: Update without high speed internet service

Posted: Fri Mar 22, 2013 11:16 am
by Orbmiser
Yep click on Root in dolphin find Var folder and right click folder and select root actions>open in file manager.
Now you have a root access dolphin. Usually to be extra safe I find the files I want to copy and right click copy them then browse into the root/var folder and right click paste the files. But what ever works for you.

Just be careful and make sure you close that Root File manager when done and don't continue to use it.
Regular user dolphin will be all you need except for situations when needing to copy to or modify a file in root.
.

Re: Update without high speed internet service

Posted: Sat Mar 23, 2013 8:51 pm
by WillEllen
Is there a way to do this in the Mate 14 File Manager or must I install dolphin?

Re: Update without high speed internet service

Posted: Sun Mar 24, 2013 9:41 am
by Orbmiser
nope just open a sudo or root file manager like caja for mate.
Sorry don't use so don't know if there is an action in file manager for that.

Guess you could open a terminal and type in.

Code: Select all

gksudo caja
To start one.