You are not logged in.

#1 2006-02-19 02:28:26

hotsauce
Member
From: Ann Arbor
Registered: 2005-12-28
Posts: 125

I messed with pacman

I honestly don't know what I was trying to do, but I messed with pacman and deleted a whole bunch of files from /var under pacman. I don't even remember what folders it was. Damn I feel stupid

Now every time I want to install anything (dillo or azureus recently) it asks me to install loads of other stuff like glibc, bash, binutils, all the system stuff.

How can I get away with this and return to my lovely arch system

thanx

Sorry for being such a newbie... :oops:

Vince

Offline

#2 2006-02-19 02:37:58

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: I messed with pacman

sounds like you deleted your local database that hold information about installed packages. The best thing to do now is to reinstall. Don't go and try reinstalling everything from logs/memory because you won't get them all, trust me.

Offline

#3 2006-02-19 02:42:52

hotsauce
Member
From: Ann Arbor
Registered: 2005-12-28
Posts: 125

Re: I messed with pacman

so basically everytime i want to pacman -S an app and it asks me to install loads of funky deps i install them?

That's what I,ll try anyway I guess.

Thanx for the quick answer.

Good night

Vince

Offline

#4 2006-02-19 02:52:36

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: I messed with pacman

no...I meant reinstall your entire system. Its asking you to install all those deps because pacman no longer has any record of anything it installed. You can reinstall deps all day long but it won't "solve" your situation.

good luck

Offline

#5 2006-02-19 02:59:34

hotsauce
Member
From: Ann Arbor
Registered: 2005-12-28
Posts: 125

Re: I messed with pacman

Penguin wrote:

good luck

hehe, I guess I'll need it!

Now my wife is going to kill me!! (again...)

I feel it would be a bit absurd to redo the whole install only because of package management. Now I'm reinstalling all the basic deps it asks me for and I,ll see from there. I'm hoping the worse that will happen is that it'll override my settings (which is not a big deal). I'll let you know what happens.

Edit: Well that didn't work out well at all! I'm pulling out my arch cd now. Let this serve as a warning to all the stupid newbs like me.

Offline

#6 2006-02-19 10:37:57

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: I messed with pacman

it may be wise (to everyone) to run a simple backup script as a daily cronjob in /etc/crond.daily to save yourself in the future. Something like:

#!/bin/bash
tar -czvf db_backup.tar.gz /var/lib/pacman

should suffice. Then you would only have to worry about reinstalling packages between the time the script ran.

Offline

Board footer

Powered by FluxBB