You are not logged in.

#1 2007-11-09 02:17:22

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

md5summing the database ends up in integrity failure

What might cause this? I clean out the cache before i did this, I don't know if it has anything to do with it.

# 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

Last edited by theringmaster (2007-11-09 02:17:35)


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#2 2007-11-09 03:08:13

nj
Member
Registered: 2007-04-06
Posts: 93

Re: md5summing the database ends up in integrity failure

This is probably due to not having the diff program installed (pacman -S diffutils for it). There's a few tickets for it in the bug tracker, and it will be fixed when pacman 3.1 is released.

Offline

#3 2007-11-11 17:35:54

Anonymo
Member
Registered: 2005-04-07
Posts: 427
Website

Re: md5summing the database ends up in integrity failure

This fixed it.

Offline

#4 2007-12-07 14:16:59

nDray
Member
From: Portugal
Registered: 2007-01-21
Posts: 143
Website

Re: md5summing the database ends up in integrity failure

this should be reported.... If pacman-optimize uses diff and pacman owns pacman-optimize. pacman should depend on diffutils

Offline

#5 2007-12-07 15:03:10

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: md5summing the database ends up in integrity failure

That, and diffutils will soon become part of the "base" group anyway.


1000

Offline

#6 2007-12-07 16:01:51

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

Re: md5summing the database ends up in integrity failure

Already reported and fixed a while ago :
http://bugs.archlinux.org/task/8190


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

Offline

Board footer

Powered by FluxBB