You are not logged in.

#1 2018-01-29 23:31:00

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

[SOLVED] Removed the filesystem package

Hi!

I made a mistake, I uninstalled the filesystem-package via pacman (Rdd).
Restored manually from backup,  but would like to have Pacman think the package is installed.

If I try to install the filesystem package now, it of course complains that files/folders already exists and I don't want to force install it (in case it overwrites my files).

Help?

Last edited by WiLLiE (2018-01-30 18:32:17)

Offline

#2 2018-01-29 23:34:26

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] Removed the filesystem package

Did you try the --dbonly flag?

Offline

#3 2018-01-29 23:37:41

headkase
Member
Registered: 2011-12-06
Posts: 2,005

Re: [SOLVED] Removed the filesystem package

In your specific case you know why it happened (Rdd) and you know what you did, manually put the files back in place.  The only thing left to clean up is to make the pacman database aware that the package is correctly installed.  And if you force an install with the same files as the ones you manually restored then that should achieve the goal of making the pacman database aware of what things are supposed to be.

Offline

#4 2018-01-30 18:31:26

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

Re: [SOLVED] Removed the filesystem package

Thanks to both of you!

I wanted a fast solution that I could count on with out any fuss, so I used the --dbonly flag smile

Offline

#5 2018-01-30 19:03:06

headkase
Member
Registered: 2011-12-06
Posts: 2,005

Re: [SOLVED] Removed the filesystem package

You're welcome.  I'm not familiar with --dbonly but I have broken packages myself. wink

Offline

Board footer

Powered by FluxBB