You are not logged in.

#1 2007-10-30 03:42:30

shen
Member
Registered: 2003-09-05
Posts: 272
Website

pacman-optimize fails

Just noticed this happening recently. Reiserfs on both partitions with plenty of space available..well over 60 gig of space free...looked at dmesg and nothing that would even pertain to it at the end.. I am at a loss...is there a way to rebuild the db ?

Did a forum search and found only one thread about this and it didn't have much info that would help.

Last edited by shen (2007-10-30 03:43:03)

Offline

#2 2007-10-30 03:51:42

shen
Member
Registered: 2003-09-05
Posts: 272
Website

Re: pacman-optimize fails

Here's the terminal output..

:: Md5sum'ing the old database                                           [DONE] 
:: Tar'ing up /var/lib/pacman                                            [DONE] 
:: Making and md5sum'ing the new db                                      [DONE] 
:: Checking integrity                                                    [FAIL] 
:: ERROR: integrity check FAILED, reverting to old database

Offline

#3 2007-10-30 07:41:46

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Offline

#4 2007-10-30 08:06:05

forever
Member
Registered: 2007-10-30
Posts: 2

Re: pacman-optimize fails

i met this problem too,after i saw the scripy of /usr/bin/pacman-optimize,i found that i did not install
diffutils,after pacman -S diffutils,it works

Offline

#5 2007-10-30 12:27:15

shen
Member
Registered: 2003-09-05
Posts: 272
Website

Re: pacman-optimize fails

forever wrote:

i met this problem too,after i saw the scripy of /usr/bin/pacman-optimize,i found that i did not install
diffutils,after pacman -S diffutils,it works

That did the trick bud thanks for the info. I would have never thought about that package.. It really should be a dep for pacman since it is required for pacman-optimize to work right..:) Thanks again.

Offline

#6 2007-10-30 17:34:13

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: pacman-optimize fails

forever wrote:

i met this problem too,after i saw the scripy of /usr/bin/pacman-optimize,i found that i did not install
diffutils,after pacman -S diffutils,it works

Is there a bug report for this? Not sure if it'll be considered as a bug or not, but it should at least be reported.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2007-10-30 19:00:03

shen
Member
Registered: 2003-09-05
Posts: 272
Website

Re: pacman-optimize fails

Probably best to report it as a feature request...For some reason I think it use to be apart of base but isn't now with the repo changes.. So it likely should be a dep for pacman since it is required to run pacman-optimize.

Offline

#8 2007-10-31 03:37:18

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: pacman-optimize fails

Hmm, I'm not understanding why the following wasn't triggered in pacman-optimize:

# make sure diff is installed                                  
if ! type diff >/dev/null 2>&1; then
    die "$(gettext "diff tool was not found, please install diffutils.")"
fi

Last edited by stonecrest (2007-10-31 03:37:26)


I am a gated community.

Offline

#9 2007-10-31 09:09:31

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: pacman-optimize fails

shining wrote:

Is there a bug report for this?

Yes, there are three now tongue
http://bugs.archlinux.org/task/8459#comment20321


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB