You are not logged in.

#1 2009-01-20 02:59:17

virati
Member
Registered: 2008-04-14
Posts: 83

Fixing Pacman package mess-up

Did a system upgrade the other day and Pacman (latest with pacman-color) segfaulted on me after lib32-glib2. Since then I've been getting errors everytime I -Syu saying something akin to:

error: /var/lib/pacman/local/lib32-glib2/depends does not exist
error: /var/lib/pacman/local/lib32-glib2/desc does not exist
error: /var/lib/pacman/local/lib32-glib2/files does not exist

or something like that. I tried reinstalling lib32-glib2 but that didn't fix anything. I navigate to that directory and indeed it doesn't have any of those files (which every other folder/package does). How do I fix this?

I already tried creating the files myself with vi but that didn't work.

Offline

#2 2009-01-20 03:11:26

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Fixing Pacman package mess-up

Try

pacman -Syy lib32-glib2

If that doesn't work, remove it with

pacman -R lib32-glib2

and try to install it again.


If it was installed as a dependency for another package, remove that package with

pacman -Rs <pkg>

and check that lib32-glib2 was removed, then re-install the target package.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB