You are not logged in.

#1 2007-10-05 09:47:25

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

pacman-optimize fails!

Ever since pacman 3.0.6 I cannot do pacman-optimize anymore, it fails everytime.

[rhandulle@Don-DiZzLe ~]$ sudo pacman-optimize
:: 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

#2 2007-10-05 11:36:07

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: pacman-optimize fails!

no problem here

Last edited by wonder (2007-10-05 11:36:54)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2007-10-05 13:36:56

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

Re: pacman-optimize fails!

Well I never had this problem before. My root partition is on a regular ext3 filesystem.

Offline

#4 2007-10-05 13:47:21

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: pacman-optimize fails!

Perhaps you're running out of space?

Offline

#5 2007-10-05 13:50:06

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

Re: pacman-optimize fails!

Unlikely, I did a fresh install of arch yesterday on a 120 gig hd. Currently I have over 100 gigs of freespace left.

Offline

#6 2007-10-06 08:18:08

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

Re: pacman-optimize fails!

I'd take a look at dmesg, you might have HD hardware problems...

Offline

#7 2007-10-06 09:04:31

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

Re: pacman-optimize fails!

Well come to think of it, I've been using these ext3 tweaks after a fresh install.

tune2fs -O dir_index /dev/sda2
e2fsck -D /dev/sda2
tune2fs -O has_journal -o journal_data /dev/sda2
tune2fs -J size=$SIZE /dev/sda2
tune2fs -c 0 -i 0 /dev/sda2

Could this be the cause?

Offline

#8 2007-10-06 09:24:41

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

Re: pacman-optimize fails!

Don-DiZzLe wrote:

Well come to think of it, I've been using these ext3 tweaks after a fresh install.

tune2fs -O dir_index /dev/sda2
e2fsck -D /dev/sda2
tune2fs -O has_journal -o journal_data /dev/sda2
tune2fs -J size=$SIZE /dev/sda2
tune2fs -c 0 -i 0 /dev/sda2

Could this be the cause?

sda2 was not mounted when you did that, right?


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

Offline

#9 2007-10-06 09:47:15

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: pacman-optimize fails!

what about $SIZE ? what value has? i think that you haven't export that variable and the size is null

Last edited by wonder (2007-10-06 09:57:24)


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2007-10-06 10:23:23

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

Re: pacman-optimize fails!

shining: sda2 was unmounted.

wonder: U'r right I did not give $SIZE a value, how lame of me. Any suggestions on what the value should be, it's a 120 gig SATA hd. I have one partition sda1 of 1 gig for the swap and a partition for / sda2 with the rest of the freespace.

Offline

Board footer

Powered by FluxBB