You are not logged in.

#1 2011-06-12 20:14:49

Maximalminimalist
Member
Registered: 2009-09-20
Posts: 112

[Solved] pacman disappeared, recover possible?

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

#2 2011-06-13 03:39:30

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [Solved] pacman disappeared, recover possible?


Registered Linux user #436067

Offline

#3 2011-06-13 10:12:17

Maximalminimalist
Member
Registered: 2009-09-20
Posts: 112

Re: [Solved] pacman disappeared, recover possible?

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

Board footer

Powered by FluxBB