I'm going to lock this thread and advise everyone to use pacman-optimize included in pacman 2.9.2-2 instead.
]]>Mmm, I don't know if you're aware guys, that Judd already included such script in the newest pacman.
Well that figures. I see its very similar to mine except he tared the folder and piped the sums in a much more sensible fashion.
Cam: Just curious, what problems were you having with pacman-optimize? Did my script do the same?
At any rate, people should not use this anymore. I'll remove it from my site and the wiki when I get a chance.
]]>Just to point it out, as I see that you're still fighting with it ;-)
]]>same different checksums were given with the old and the new lines 98/99
I thought you said earlier on page 1 that the sums appeared to be indentical but the script thought they were wrong? If thats the case, there's very little chance its this but more likely a major problem elsewhere.
Anyways, I reviewed and played around with my code many times and I still can't see how it could be falsely crapping out on you with the integrity check. I'm sorry but I'm completely out of ideas.
In the process of all this I've found some minor cosmetics and coding improvements which I will finish up and probably upload onto the server later today.
]]>replace lines 98 and 99 with
olddb=$(cat old.sums | sed 's|s*old.tar||g')
newdb=$(cat new.sums | sed 's|s*new.tar||g')
my diff works correct
won't start installing and booting other kernel images (too lazy, sorry)...
think it's risky to try without the check, as it fails of different checksums.
better want to try other things first.
cu
Ford Prefect
If nothing else works you can comment lines 90 to 91, 95-116, and 118-124. That will take out the intregrity check all together. Thats of course based off my latest (1.6-2). I haven't tested it so it'll be a good a idea to back up /var/lib/pacman/local in case it craps out.
EDIT: do a diff on the same file like so:
diff foo.file foo.file; [ $? -ne 0 ] && echo "You shouldn't see this"
tell me if you see the message.
]]>Linux lanrules 2.6.9 #1 Thu Oct 28 02:15:28 CEST 2004 i686 AMD Athlon(tm) XP 1900+ AuthenticAMD GNU/Linux
selfmade kernel 2.6.9
]]>Has anyone else had this problem?
]]>packages tar, coreutils and bash were re-installed.
I just don't know what to do. I hade errors on my filesystem but resolved them lately.
cu
Ford Prefect