You are not logged in.
I have been working on setting up a new workstation for myself, and getting it to be consistent with the old workstation that I had (with the exception of encrypting all of / this time rather than just encrypting /home). Have been working on this for some time now and due to many frustrations (hardware related), lack of sleep and too many terminal sessions I ended up running an RM command inside /var/lib/pacman/local, removing all contents.
I need to find a way to rebuild this if at all possible. I'm thinking parsing out the package names from the pacman.log and then running reinstall for all things, however that is not really an ideal/clean solution. Is there a better one that someone can point me to? I found this: https://bbs.archlinux.org/viewtopic.php?pid=670876 however that seems to provide a list, without explaining further steps and I believe that I can get a list out of pacman.log which should be 100% accurate ... something like: yaourt -S `cat /var/log/pacman.log | grep "\[PACMAN\] installed" | awk '{print $5}' | sort | tr '\n' ' '`
Open to suggestions on this. I really do not want to have to start over ... again
Thanks
B
Offline
Apparently I didn't search 'enough' ... found more suggestions online that I'm going to try. This post can be removed.
-b
Offline
...or you can post the solution that worked for you so other users who may happen across it and can learn from it.
https://wiki.archlinux.org/index.php/Fo … way_Street
Last edited by graysky (2013-10-15 20:26:26)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
As you request: https://wiki.archlinux.org/index.php/Pa … l_database
It's a similar method to what I mentioned, however using tools that already exist for things like parsing the pacman log.
Offline