You are not logged in.
Pages: 1
I am looking to upgrade my home PC, even moving from 32 bit to 64.
All is fine so far, I have a complete machine, I even know how to transfer users so that they don't know the harware has changed.
Where I do have a bit of an issue is with installing all the same packages.
I can generate a line seperated file of all the packages installes by using the following command:
pacman -Q | cut -d ' ' -f 1 > packages.txt
Now all I need to do if get the file accross to the new hardware and then get pacman to install all the packages in the file. The only problem is that pacman does not appear to want to read a list from a file, which is a shame as that would really help here and also in automated installs.
Any suggestions?
Kind regards
Benedict White
Offline
pacman -S $(cat file)
and your first command is the same as pacman -Qq
Last edited by rson451 (2009-02-04 01:52:53)
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
I would use pacman -Qe here, to exclude dependencies.
Else all packages, including dependencies are going to be installed explicit.
Pacman resolves the dependencies automatically.
Offline
Many thanks for the help! That makes installing replica systems nice and easy.
Kind regards
Benedict White
Offline
I would use pacman -Qe here, to exclude dependencies.
Else all packages, including dependencies are going to be installed explicit.
Pacman resolves the dependencies automatically.
Are you sure? I believe the install reason (explicit vs dependency) is preserved on upgrade/reinstall.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Pages: 1