You are not logged in.
Hi everyone!
My systems chown and chmods are bad, so I want to build my packages info and automatically install it after arch reinstall.
or if I may to do sth to rebuild my arch (upgrade all packages in my system) it's may be also fine, but I don't want how to do it. Pacman's -U switch and -S haven't functions who's requied for me.
Somebody knows how to do it ?
-----------------
sorry for my english, I'm from poland and I'm still learning english.
------------------
greetings
RstAdmin
Offline
Getting a list of your installed packages:
pacman -Q | cut -d' ' -f1 > pkgs.txt
Reinstalling them:
pacman -S `cat pkgs.txt`
1000
Offline
I'll just add this - if any of your installed packages do not exist in a repo e.g. AUR packages, your own local stuff, etc, you will need to remove those package names from pkgs.txt before running pacman -S, and then reinstall them separately.
Offline
thanks! it works :]
I advise you to copy all /var/cache/pacman/pkg/* and /var/lib/pacman/* (without the "local" folder) to new system, and that's all !
Last edited by rstadmin (2007-02-15 18:03:38)
Offline