You are not logged in.
When there was the bug with the libxfixes file, I uninstalled the whole Xorg package. But now i recognized, that pacman forgot all installed packages, what means i cant really upgrade my system. Is there a way to recover the database of installed packages? Or any other possible solution?
greetz
issue
Offline
If you haven't cleaned out your cache, all the installed packages are located in /var/cache/pacman/pkg. You can install them again using "pacman -A $pkgname-$pkgver-$pkgrel.pkg.tar.gz". You're database should be fine after that.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
The prob is, that i cleared it
Offline
You need to give some more details. What entry did you use to remove xorg? What's the response to pacman -Syu? The only way pacman would "forget" all installed packages is if /var/lib/pacman/local is deleted - hopefully you didn't do that, or did you?
Offline
well, I cleared the local dir.
I dunno exactly how i remoeved Xorg, but I think with -Rs.
Then I reinstalled Xorg but found the problem again. So i cleared all local pacman files, means I deleted the local folder . I am now thinking about installing all the packages on the base CD.
pacman -Syu updates the new installed files, which i installed since this mistake
Offline
do ls /var/lib/pacman/local and if it looks like packages are missing and your cache is cleared as you say it is backup and reinstall. Trust me, its not worth the hassel of hacking a solution to restore the database once its been deleted because you'll never get them all.
Offline
Crap... I did the same thing trying to hack fix the xorg / font problem. :oops: :x
"The ecological crisis is a moral issue."
Offline
well if you still have your /var/log/pacman.log you can get the relevant entries and feed them to pacman with this cmd:
grep "(*)" /var/log/pacman.log|cut -d " " -f 4|xargs pacman -S
that should work i think.
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline