You are not logged in.
Pages: 1
im sure i know what the answer is to this already, but i figure its worth asking
basically, i have my desktop at home running 64bit arch, but its on a dialup connection
now my laptop is running 32bit, and i can easily bring it out and jump on a highspeed connection to do updates.
what i want to know is, is there an easy way for me to take the list of updates my desktop needs, and download them to my laptop so i can bring home and throw them in the pacman cache on my desktop?
i've been having to go through the repos and download them all manually, but when theres 130 updates, its a bit tedious
this is a signature
Offline
Hello,
Onyour x86_64 machine, do the following:
sudo pacman -Suyp | grep "pkg.tar.gz" > newpkgs.txtThat will give you a file containing the urls of new packages to be downloaded. Put the file on your laptop, go to your high speed connection, then run
wget -i newpkgs.txtThat should download all the new packages, then you can transfer them to your desktop machine and install them with pacman.
Ciao
Offline
Also, what you can do is dump those packages in /var/cache/pacman/pkg on your x86_64, then just run pacman -Su - it'll do the full intelligent update, but just pull the packages from your cache instead of from the net. ![]()
Offline
Inspired by this thread, I added an option to powerpill to save the metalink to a file for downloading on another computer. If you're downloading the packages on a high-speed connection, using a metalink to grab everything will speed up the download remarkably.
Here's the powerpill thread for info about it and the AUR link: http://bbs.archlinux.org/viewtopic.php?pid=396623
To get the metalink for all your pkg upgrades, do this:
powerpill -Syu --get-metalink upgrade.metalinkTransfer the metalink file to the other computer, then grab the files using something that support metalinks. I'd recommend aria2 because it's in the extra repo (pkg name is aria2, binary is aria2c), but anything that support metalinks should work. E.g.
aria2c -p update.metalinkThe "-p" option is to enable passive ftp, which seems to be necessary for most of the mirrors. If you use some other metalink downloader, check if you need to enable passive ftp.
I hope this helps.
My Arch Linux Stuff • Forum Etiquette • BBCode and Emoticons • Community Ethos - Arch is not for everyone
Offline
thats awesome, thanks guy, i was expecting a simple know. but i figured there had to be a way. to bad i didn't get the responses earlier, i just got back from downloading them all manually
this is a signature
Offline
Pages: 1