Possible Duplicate:
Make package explicitly installed in pacman
So I've been stupid and removed my /var/lib/pacman/local dir.
Without backup, but with a root shell open at tty4.
O yeah, pacman -Sf with the base repo also overwrites your /etc/passwd. Thank god for .pacorig.
I still have my pacman logs, but all the packages are already installed. Pacman outputs errors that the files already exist.
How can I install packages without modifying files? (pacman -S --fake --noextract)
I've also tried the -D switch but that only works for installed packages.