You are not logged in.

#1 2014-10-23 13:40:38

techgsarch
Member
Registered: 2014-10-23
Posts: 4

Desparately looking solution for Upgrade Problem.

I am quite happy to use Arch Linux .  I have been using this for last 2 years at home.  But recently my Internet Provider has vanished and I have no option to resort using wireless dongle.  The max download speed I get is around 10 K .   So upgrading my Arch Linux Installation ( On Desktop )  is now proven as a dream.  Fortunately,  in my office, we have fareley decent interent connection. 

I am desparately looking for a practical solution where    using my wireless dongle - I can update repository database.   My problem is how to create download links of all upgrades which I can carry on on a USB thumb drive to office and using wget download all the upgrades and carry back to home to install it ?  ( In office we use Ubuntu )

Would love a practical solution for my wired issue.

All suggestions are welcome.

Regards

Offline

#2 2014-10-23 14:04:55

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Desparately looking solution for Upgrade Problem.

Arch Linux was designed to be used with an Internet connection. Using it without one sounds painful! Also, how would you install new software? The same way, by copying the packages to a flash drive? What about AUR packages?

techgsarch wrote:

I am desparately looking for a practical solution

I think the most practical soluction would be to get a copy of the latest Debian release on a set of DVDs and to use that instead. sad

Offline

#3 2014-10-23 14:06:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Desparately looking solution for Upgrade Problem.

You could remove the drive and bring it to work.  Boot off the drive there, then upgrade everything.  This would have to be a regular routing though (every couple weeks maybe).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2014-10-23 14:17:11

techgsarch
Member
Registered: 2014-10-23
Posts: 4

Re: Desparately looking solution for Upgrade Problem.

Thanks Trilby  & drcouzelis  for answer...

It seems that drcouzelis has not understood the problem.   I am talking about upgrading Arch Linux and no Debian.

Trilby -  the answer - ok for time being but not practical one.  As carrying to HDD is a potential risk (  mishandling etc )

I am sure that when we given a command   sudo pacman -Suy   --- the first thing arch linux does is to update repository database (syncs )  and finds which packages needs upgrade  & from pre-determined url's it downloads the packages  into /var/cache/pacman/pkg directory  before it starts upgrade ( install ) process.   

My question is how to get the list of packages to upgrade with its url's.

Regards,

Offline

#5 2014-10-23 14:27:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Desparately looking solution for Upgrade Problem.

drcouzelis didn't misunderstand.  His point was that this would really not be a good idea on archlinux.  If you want to run linux on a machine without an internet connection, you should not use archlinux.  Debian was proposed as an alternative.

You could get the list of packages installed with `pacman -Qq > pkglist`, then take the pkglist file to work, download all the pkg and sig files from the mirror manually (or even write a script to do this), bring them home, then use `pacman -U` or set up a local repository with those files, and upgrade from there.

But this would be a lot of work and would be very error prone.  Sometimes a package upgrade will pull in a new dependency and the upgrade will fail requiring you to go back to work to download another package file.  This could happen several times in a row even.  To avoid this situation, you'd have to download the entire mirror (or at least everything for your architecture) as described here, but also see the warnings in that page.  Downloading the entire mirror for these purposes would really be abusing them.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2014-10-23 14:35:57

techgsarch
Member
Registered: 2014-10-23
Posts: 4

Re: Desparately looking solution for Upgrade Problem.

Tilby -- you have exactly understood and resolved my issue, atleast theoratically.   I will be giving a try and will revert back soon.  On the face of it , looks that this is an excellent solution.

Offline

#7 2014-10-23 20:20:09

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Desparately looking solution for Upgrade Problem.

Two more ways:

First way:
pacman -Syup # get the URLs, only use dongle to download databases
take URLs to work and download each file there
at home, copy files to pacman cache
pacman -Su # upgrade!
Downside of this method is, you are updating the database without updating any packages. If you install anything before finishing the update, you may end up with a partial update which could break things.

Second way:
Use checkupdates script (included with pacman) to get a list of packages to update. Sadly it doesn't output versions yet.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#8 2014-10-23 20:59:28

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Desparately looking solution for Upgrade Problem.

techgsarch, it sounds like you want to look at this page https://wiki.archlinux.org/index.php/of … f_packages


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

Board footer

Powered by FluxBB