LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2016, 05:49 AM   #1
M0nteZ
LQ Newbie
 
Registered: Feb 2015
Posts: 6

Rep: Reputation: Disabled
Offline apt-get update && apt-get upgrade


Hello
Have about 100 pc connecting over slow GSM to the internet.
All have the same identical hardware and software installed on them.
apt-get update && apt-get upgrade takes 20-30 min on one PC.

i did 15 of them via GSM. And would like to speed this up.

directory
/var/lib/apt/lists holds the files downloaded with apt-get update, and directory
/var/cache/apt/archives/ contains all the files downloaded when doing apt-get upgrade

Would it work to copy contents of these two directories on a NON-updated/upgraded PC, and then do a
apt-get upgrade since the hardware and software on them is the same ??

Thanks
 
Old 08-12-2016, 06:14 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Maybe https://www.debian.org/doc/manuals/d...server_for_apt ?
 
Old 08-12-2016, 06:35 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I use NFS shared portage for all my gentoo boxes, I'm sure you could share all downloaded .deb packages over NFS.
 
Old 08-12-2016, 09:05 AM   #4
M0nteZ
LQ Newbie
 
Registered: Feb 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for the input
@descendant
We're using already apt-cacher, but connection to that server is trough GSM.


Idea was to use a Laptop with downloaded files from apt-get update and apt-get upgrade
i would scp files from two folders from already updated and upgraded online PC into the laptop

connect laptop with not upgraded pc with LAN cable
scp files from laptop to the pc
on the pc start apt-get upgrade

will this work ?
 
Old 08-12-2016, 06:41 PM   #5
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by M0nteZ View Post
We're using already apt-cacher, but connection to that server is trough GSM.
That seems like a sub-optimal choice.
Quote:
Idea was to use a Laptop with downloaded files from apt-get update and apt-get upgrade
i would scp files from two folders from already updated and upgraded online PC into the laptop

connect laptop with not upgraded pc with LAN cable
scp files from laptop to the pc
on the pc start apt-get upgrade

will this work ?
Probably just get the deb files and install on each with dpkg -i
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM
Can't boot after apt-update / apt-upgrade ozymandias Debian 2 09-06-2008 09:31 AM
custom kernel && apt-get upgrade props666999 Debian 5 08-01-2008 06:03 PM
apt-get cannot update, tried this & that digital_citizen Linux - Newbie 8 06-04-2008 12:09 AM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration