On Samstag, 6. Januar 2007 19:54 Pierre Schmitz wrote: > Well, he might want to have a look at /var/log/pacman.log and reinstall > everything. Good luck ;-) (perhaps it might be easier to reinstall arch...
The idea is not so bad as it looks in the first moment. But PLEASE all who have more experience with arch and bash take a look at the following lines and comment it to give Xiaoyu the best possible help. With this commands grep installed /var/log/pacman.log | cut -d' ' -f4-5 | sort > ~/long_version grep installed /var/log/pacman.log | cut -d' ' -f4 | sort > ~/short_version grep removed /var/log/pacman.log | cut -d' ' -f4-5 | sort > ~/removed_list you can get the the lists of the installed and removed packages. The only problem is that there are duplicates per line but it is better than nothing and perhaps one expert here can say how to delete this duplicates. At first copy /etc and then reinstall groups as xorg which you have had installed. Then make this pacman -Q | sort | cut -d' ' -f1 > installed_packages_short and look at the differences with this sdiff short_version installed_packages_short | less Now start your reinstall orgy. And even have a look at "removed_list" too because perhaps you have removed some packages. It is complicated but from my view better than installing the whole system because if you install a new arch system you will have the same problem with making the differences in /etc and having all packages as before. See you, Attila _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
