You are not logged in.
I have managed to get what I consider my perfect Arch. What I would like to do is download all the packages I have installed, save them to either external hd or disc. How would I go about doing this?
Also if and when I do a reinstallation how would I install those packages without having to do it one by one.
Thanks
Offline
Offline
maybe this can help you
http://wiki.archlinux.org/index.php/Red … d_packages
sorry for my bad english ![]()
Offline
How do I go about installing the packages I copied across? Do I have to do it one by one?
Offline
copy, tar, or burn /var/cache/pacman/pkg/*
(edit: the above makes reinstall faster, but it's not required...)
# get a list of explicitly installed packages minus any foreign (AUR) packages
# they'll pull in their own deps on reinstall...
pacman -Qqe | grep -v "$(pacman -Qqm)" > pacman.lst
# reinstall them like this:
cat pacman.lst | xargs pacman -S --needed --noconfirmpacman rules.
Last edited by brisbin33 (2009-07-10 14:34:25)
//github/
Offline
I have my packages in var/cache/pacman/pkg
I ran pacman -Qqe | grep -v "$(pacman -Qqm)" > pacman.lst, it generated the list then ran cat pacman.lst | xargs pacman -S --needed --noconfirm but I get, error: no targets specified.
Wont install anything
Offline
that's because of --needed.
generate the list, uninstall some shit, then cat the list to xargs
you'll see what you just uninstalled as the targets.
i.e. man pacman ![]()
/edit:
┌─[ 11:53 ][ blue:~ ]
└─> pacman -Qqe | grep -v "$(pacman -Qqm)" > temp.paclist
┌─[ 11:53 ][ blue:~ ]
└─> cat temp.paclist | xargs sudo pacman -S --needed
warning: abcde-2.3.99.7-1 is up to date -- skipping
--//snip//--
warning: downgrading package libtorrent (0.12.4-1 => 0.12.2-2)
--//snip//--
warning: downgrading package rtorrent (0.8.4-1 => 0.8.2-3)
--//snip//--
warning: zlib-1.2.3.3-3 is up to date -- skipping
resolving dependencies...
looking for inter-conflicts...
Targets (2): libtorrent-0.12.2-2 rtorrent-0.8.2-3
Total Download Size: 0.70 MB
Total Installed Size: 2.01 MB
Proceed with installation? [Y/n]Last edited by brisbin33 (2009-07-10 15:55:49)
//github/
Offline
I have managed to get what I consider my perfect Arch. What I would like to do is download all the packages I have installed, save them to either external hd or disc. How would I go about doing this?
Also if and when I do a reinstallation how would I install those packages without having to do it one by one.
Thanks
pacman -Sw $(pacman -Qq)Then either put them in /var/cache/pacman/pkg on the new install and -Sy as usual, or create a local repository and install from that.
Edit: Trow in a pipe or 3 to filter out pacages from aur if you want.
Last edited by Mr.Elendig (2009-07-11 11:53:46)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Ghost1227: Packup seems good for me
Thank you.
Offline