You are not logged in.
After playing a bit with pacman-cage, which I've now uninstalled (and uncaged the database), seems like pacman is now broken.
When attempting to install with yaourt I get (for example):
$ yaourt -S lesspipe
error: 'lesspipe': could not find or read package
error : /var/lib/pacman//local : No such file or directory
And when attempting to install with pacman:
error: 'lesspipe': could not find or read package
Searching with pacman brings back no results.
What happened? How can I fix it?
Last edited by kradle (2011-01-07 00:04:36)
Offline
By "uncaged the database" you must mean "derp I deleted my entire list of installed packages". Not good. Without /var/lib/pacman/local/, pacman has lost track of everything that is installed on your system. You should really try and find the last copy of it you have and restore that, otherwise your system is all but hosed.
And seriously, don't post a pacman question and then show yaourt output. That's stupid, especially when you state "pacman is broken".
Offline
No, I just did sudo pacman-cage and sudo pacman-uncage a couple of times because caged pacman would complain about lack of disk space.
No reason to be so blatant IMO. I posted yaourt output just because it gave additional information that just pacman didn't... I just pasted both outputs. Is that so bad?
I fixed this now by replacing the files in /var/lib/pacman/ with the backup I had in /var/lib/pacman/pacman.bak/pacman.bak/pacman.bak/ (which was the only backup to have the /local/ directory). It works now, anyway.
Last edited by kradle (2011-01-07 00:02:53)
Offline
And I didn't touch /var/lib/pacman/ or do anything other than running sudo pacman-cage and sudo pacman-uncage. Your arrogance isn't helpful...
Offline