You are not logged in.

#1 2009-12-13 18:56:38

scrawler
Member
Registered: 2005-06-07
Posts: 318

downloading "there" upgrading "here" [solved]

Howdy guys,

I'm sure this has been discussed over and over, I just can't find where.  A pointer or some advice will be appreciated.

I have a box that needs almost a gig's worth of updates, but it has a slow internet connection, so I'd like to get a list of what needs updating, take my netbook to a fast connection somewhere, download the packages to a stick, carry the stick back, then upgrade from that.

Boring and obvious I'm sure, but I could use a hand.
Thanks!

Last edited by scrawler (2009-12-16 04:31:51)

Offline

#2 2009-12-13 20:20:04

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: downloading "there" upgrading "here" [solved]

Pacman has a -p option that will print the full path to a package. Combine that with a sync, redirect the output to a file and you can use wget later to pull it all in.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-12-13 22:53:45

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: downloading "there" upgrading "here" [solved]

how's this?

pacman -Spu > other-box-pkg-list.txt
wget -c -nc -i other-box-pkg-list.txt

nice, thank you.

Last edited by scrawler (2009-12-13 22:54:18)

Offline

#4 2009-12-13 23:59:05

ludovico
Member
From: Oslo, Norway
Registered: 2008-08-24
Posts: 75

Re: downloading "there" upgrading "here" [solved]

edit: very silly post...

Last edited by ludovico (2009-12-14 00:00:30)


Sin? What's all this about sin?

Offline

#5 2009-12-14 11:23:17

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: downloading "there" upgrading "here" [solved]

Oh, its
wget -c -i other-box-pkg-list.txt

withoutt

-nc (no clobber) 

I don't know what I was thinking.

what I did is make a custom repo of the downloaded packages.  is is also possible to just put the packages in /var/cache/pacman/pkg/ ?  If I did that, would I just pacman -Syu and pacman would look there first?

Offline

#6 2009-12-14 11:33:54

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: downloading "there" upgrading "here" [solved]

http://wiki.archlinux.org/index.php/Off … f_packages

Please search the wiki and forum before posting.

Offline

#7 2009-12-16 04:33:32

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: downloading "there" upgrading "here" [solved]

ok.

I did.  Thank you for the link.

Offline

#8 2009-12-16 05:05:42

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: downloading "there" upgrading "here" [solved]

slow box

powerpill -Syu --get-metalink >update.metalink

fast box

<metalink-capable downloader> update.metalink

metalink-capable downloaders:
aria2 (stand-alone)
downThemAll (Firefox add-on)
FlashGot (Firefox add-on)
etc

I'll add that to the wiki eventually. I would do it now but I'm too tired to form a string of coherent thoughts. [/coherent thought limit]


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB