You are not logged in.
Hi!
EDIT: I just saw the solution on the pacman FAQ. I'll try to solve this like this and bump the thread again when it doesn't...
I'm running arch x86_64 and I had a freeze during a system upgrade (I think during the pacman upgrade) and had maybe pressed the hardware 'reset' button too early.
The result is a completely lacking pacman. There is no output for any pacman command.
root ~ # pacman
root ~ # pacman -Syu
root ~ # pacman -Qs pacman
Even 'man pacman' is completely empty. My computer works fine though.
Is it possible to recover pacman with e.g. chroot? I have a 32bit system as described in https://wiki.archlinux.org/index.php/Ar … bit_system . I think that I could use this system to recover pacman from there but I don't know how. Can somebody give me a hint?
Thanks in advance,
maxmin
Last edited by Maximalminimalist (2011-06-13 10:12:59)
Offline
Registered Linux user #436067
Offline
Sometimes one forgets to look for the very obvious before doing further research.
Worked for me:
1. Download pacman like in
http://www.archlinux.org/packages/core/x86_64/pacman/
2. Untar it in the root directory (tar -xvvzpf). (The -p option could be useful because it preserves the permissions.)
3. a) pacman-db-upgrade
b) remove db.lck if needed
==> Solved
Offline