You are not logged in.

#1 2009-01-29 13:43:30

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

[SOLVED]pacman error while updating

Everytime I use pacman to install/update anything, I get an error related to the grub package.

inxs ~ > pacup
Password: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
resolving dependencies...
error: could not open file /var/lib/pacman/local/grub-0.97-15/depends: No such file or directory
looking for inter-conflicts...
error: could not open file /var/lib/pacman/local/grub-0.97-15/depends: No such file or directory
error: could not open file /var/lib/pacman/local/grub-0.97-15/depends: No such file or directory
error: could not open file /var/lib/pacman/local/grub-0.97-15/depends: No such file or directory

Targets (2): ncmpc-0.13-1  reiserfsprogs-3.6.21-1  

Total Download Size:    0.53 MB
Total Installed Size:   1.39 MB

Proceed with installation? [Y/n] y

For every package being installed/updated, it prints the error twice. This started happening since I was updating my system and my computer shutdown suddenly because it reached a critical temperature. And I precisely remember that it was trying to update the grub at that time. My system is now up to date including the grub package. How do I get rid of the error messages?

Last edited by Inxsible (2009-01-29 14:27:54)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#2 2009-01-29 13:47:06

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

Re: [SOLVED]pacman error while updating

Try "pacman -Syy" if you haven't already.


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

Offline

#3 2009-01-29 13:54:28

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]pacman error while updating

Xyne wrote:

Try "pacman -Syy" if you haven't already.

Thanks but I have tried that already. Doesn't help sad I even once tried to flush my /var, but that didnt seem to help either.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2009-01-29 14:07:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: [SOLVED]pacman error while updating

It seems one of your local db entries is missing for grub.  A "pacman -S grub" should fix it.  Use "-Sf" if you have file conflicts that should be part of the grub package.

Offline

#5 2009-01-29 14:08:04

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

Re: [SOLVED]pacman error while updating

Have you tried forcing a grub install to fix it? (pacman -Sf grub)
If that doesn't work, you could always try using the "--root /path/to/foo" option to create a database in another location and then try to copy the appropriate files over to /var/lib/pacman/local/grub-0.97-15
Otherwise, maybe you could grab it from ABS, bump the pkgrel and install it that way.

That's what I would try anyway... someone else can be a judge of how good a plan that is. After that I would start looking at that dir to see if there's anything strange with the file system.


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

Offline

#6 2009-01-29 14:09:47

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: [SOLVED]pacman error while updating

Xyne wrote:

Otherwise, maybe you could grab it from ABS, bump the pkgrel and install it that way.

Not a good plan because if we bump grub's pkgrel for a rebuild the update will not be detected.

Offline

#7 2009-01-29 14:10:23

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: [SOLVED]pacman error while updating

Your local db might have got corrupted... you can try reinstalling grub package ....

Edit : I am always late sad

Last edited by u_no_hu (2009-01-29 14:11:16)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#8 2009-01-29 14:26:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]pacman error while updating

Thanks Allan and Xyne and u_no_hu for your help.

forcing the grub install solved it, although it re-installed the same package, i guess it just updated the local db entries.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB