You are not logged in.

#1 2021-07-30 11:35:43

Freakzz
Member
Registered: 2020-12-01
Posts: 66

[SOLVED] Deleted packages possibly from /var/lib/pacman

I just did something cringe. So I was cleaning my system with ncdu and as I was deleting files inside cache/ folders I may have accidentally deleted packages from important files while not paying attention. I definitely deleted files from /var/cache/pacman and /var/cache/man but I may have accidentally deleted files from /var/lib/pacman or anywhere else while not paying attention. This is the output of my terminal when trying to re-install binutils: https://pastebin.com/2MwnP3Q8

Please help, I am going to have to turn the laptop off soon enough. Am I safe to turn it off? Do I need to back up my files?

Last edited by Freakzz (2021-07-30 15:03:29)


Suffering from crippling rice addiction.

Offline

#2 2021-07-30 12:18:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,313

Re: [SOLVED] Deleted packages possibly from /var/lib/pacman

Sounds like you may have corrupted pacman local database , see https://wiki.archlinux.org/title/Pacman … l_database .

powering down (or rebooting)  should be fine.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2021-07-30 14:01:19

Freakzz
Member
Registered: 2020-12-01
Posts: 66

Re: [SOLVED] Deleted packages possibly from /var/lib/pacman

Lone_Wolf wrote:

Sounds like you may have corrupted pacman local database , see https://wiki.archlinux.org/title/Pacman … l_database .

powering down (or rebooting)  should be fine.

Everything seems to have worked out. Thanks a lot,

Last edited by Freakzz (2021-07-30 15:03:15)


Suffering from crippling rice addiction.

Offline

Board footer

Powered by FluxBB