Update without high speed internet service

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Update without high speed internet service

Postby WillEllen on Tue Mar 19, 2013 10:39 am

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
WillEllen
Level 1
Level 1
 
Posts: 8
Joined: Thu Jun 21, 2012 5:51 pm

Linux Mint is funded by ads and donations.
 

Re: Update without high speed internet service

Postby DrHu on Tue Mar 19, 2013 11:35 am

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!
User avatar
DrHu
Level 16
Level 16
 
Posts: 6694
Joined: Wed Jun 17, 2009 8:20 pm

Re: Update without high speed internet service

Postby viking777 on Tue Mar 19, 2013 11:55 am

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.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Update without high speed internet service

Postby WillEllen on Wed Mar 20, 2013 10:33 am

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
WillEllen
Level 1
Level 1
 
Posts: 8
Joined: Thu Jun 21, 2012 5:51 pm

Re: Update without high speed internet service

Postby anandrkris on Wed Mar 20, 2013 10:39 am

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
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 851
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: Update without high speed internet service

Postby Pierre on Thu Mar 21, 2013 10:37 am

viking777 - when you do that - do you get any dependency errors?.
Image
User avatar
Pierre
Level 6
Level 6
 
Posts: 1348
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Update without high speed internet service

Postby viking777 on Fri Mar 22, 2013 6:39 am

Pierre wrote:viking777 - when you do that - do you get any dependency errors?.


Never.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Update without high speed internet service

Postby WillEllen on Fri Mar 22, 2013 11:00 am

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
WillEllen
Level 1
Level 1
 
Posts: 8
Joined: Thu Jun 21, 2012 5:51 pm

Re: Update without high speed internet service

Postby Orbmiser on Fri Mar 22, 2013 11:16 am

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.
.
User avatar
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Re: Update without high speed internet service

Postby WillEllen on Sat Mar 23, 2013 8:51 pm

Is there a way to do this in the Mate 14 File Manager or must I install dolphin?
WillEllen
Level 1
Level 1
 
Posts: 8
Joined: Thu Jun 21, 2012 5:51 pm

Re: Update without high speed internet service

Postby Orbmiser on Sun Mar 24, 2013 9:41 am

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.
User avatar
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Google Adsense [Bot], Mint2be, paperclip and 38 guests