You are not logged in.
Well, even after a pacman -Sy clamav still didn't want to update to the newest version that archlinux.org listed. So I deleted /var/lib/pacman and started afresh.
Guess that was a really bad idea. Now pacman thinks my system is completely empty, when in fact it has gstreamer, amarok, kde, xorg-x11, iptraf and a whole lot of really cool things that I spent the better half of a year configuring and making to work.
So, how can I get it back? I have /var/log/pacman.log, if that helps. I saw a post on the forum that says I have to use grep "(*)" and then somehow give it back to pacman by |xargs pacman -S, however, it complains about some packages missing from sync db, such as gstreamer and devfsd (which was gone a long time ago). So what can I do in this case?
Offline
Create a file with the package list from your log, edit out anything that doesn't work e.g. devfsd, and then pipe it into pacman.
Offline
theres a script in the forums that tries to rebuild your database using the log file
Offline