You are not logged in.

#1 2012-03-16 13:09:45

Fiona
Member
Registered: 2008-11-01
Posts: 13

[SOLVED] Help! I removed pacman by accident!

Hi all,

Basically I'm a complete moron, and I absentmindedly did

pacman -R pacman

and said y to it's confirmation.
Only the next second did I realise what just came out of my fingers. (I was supposed to remove a completely different package, and I've typed the word "pacman" so much in the past hour!)

Is there anything I can do to recover this machine? It has no CD drive, but does have USB ports.

Thanks for any help. hmm

Last edited by Fiona (2012-03-16 14:30:15)

Offline

#2 2012-03-16 13:21:04

esdaniel
Member
From: Paris
Registered: 2010-02-01
Posts: 59
Website

Re: [SOLVED] Help! I removed pacman by accident!

This should help:
https://wiki.archlinux.org/index.php/Pa … tall_it.3F

You probably want to ensure you've got a backup of the packages installed first:
https://wiki.archlinux.org/index.php/Pa … l_database

Last edited by esdaniel (2012-03-16 13:22:55)

Offline

#3 2012-03-16 13:25:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Help! I removed pacman by accident!

just get the pacman package from the mirror, extract it into / and do pacman -Sf pacman


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2012-03-16 13:33:12

Fiona
Member
Registered: 2008-11-01
Posts: 13

Re: [SOLVED] Help! I removed pacman by accident!

esdaniel wrote:

This should help:
https://wiki.archlinux.org/index.php/Pa … tall_it.3F

You probably want to ensure you've got a backup of the packages installed first:
https://wiki.archlinux.org/index.php/Pa … l_database

Thanks for the links! I'm trying to run the log2pkglist.awk script but I'm not getting any output at all. The pacman.log file is certainly fulla stuff thought.
I'm not familiar with awk so I'm not really sure what the problem is.

[edit]

Don't worry, I extracted pacman from my cache and it seemed to remember everything anyway! Thanks you guys, phew~

Last edited by Fiona (2012-03-16 14:29:55)

Offline

Board footer

Powered by FluxBB