You are not logged in.
Not sure what to do here guys. My main drive was acting up, would only mount read-only. So I tar'd most of it over and rsynced the rest. Maybe I used the wrong switch somewhere, or maybe my pacman db was corrupt? I'm trying to update the system now and I get the file exists error for what I looks like every file on the system. The error log is 22000 lines.
coreutils: /bin/cat exists in filesystem
coreutils: /bin/chgrp exists in filesystem
coreutils: /bin/chmod exists in filesystem
...
xdg-user-dirs-gtk: /usr/share/locale/zh_HK/LC_MESSAGES/xdg-user-dirs-gtk.mo exists in filesystem
xdg-user-dirs-gtk: /usr/share/locale/zh_TW/LC_MESSAGES/xdg-user-dirs-gtk.mo exists in filesystem
Is there anything I can do? Without needing to boot from install media?
Last edited by tladuke (2013-01-23 05:21:02)
Offline
You could try
pacman -Syu -f
The -f means force, and will overwrite all those files.
You could also try
pacman -S $(pacman -Qeq | grep -v "$(pacman -Qmq)") -f
which would reinstall every explicitly installed package not from the aur or a pkgbuild, with the -f flag.
Last edited by matteotom (2013-01-22 06:39:20)
Offline
Umm... looks like you completely missed moving you pacman database over. /var/lib/pacman/local
Offline
I was just re-copying that before refreshing the thread. Still doesn't work. Any other ideas? I think I'm going to just end up installing to another disk.
Not too sure about running -f. I mean, at least the system boots and runs fine...
Offline
Do you have a file called /var/lib/pacman/local/coreutils-*/files
Offline
I have /var/lib/pacman/local/coreutils-8.20-1 /{desc,files,install}
edit:
and files is empty
Last edited by tladuke (2013-01-22 22:57:14)
Offline
I fscked the original disk and the pacman db came back so I copied it over and everything is good. Solved I guess.
Offline