Discussion:
comment on poldek/PLD mirrors
John P. Looney
2005-12-20 17:03:30 UTC
Permalink
I was just wondering...

I tried to install ImageMagick through poldek, and my indexes thought
that 5.4.3 were the most recent version, and when I tried to install, I
was told the files didn't exist.

So, I ran;

poldek --update-whole

and it downloaded the new indexes, which contained references to 5.4.4!

However, it took a while. Would it make sense to try and use 'rsync' to
download the new indexes, instead of FTP ? It can make a big difference.
It may even be possible to sync the indexes every time poldek is started,
as the downloads, and checks, would be quite fast. I suppose it would mean
that poldek mirrors would feel obliged to run rsync though...

I also played with gcc3 from the 'nest' set of RPMs. As I do a lot of RPM
building, I needed rpm-4.0.4 and some other packages from 'ra'. I couldn't
compile some other packages, and went back to the gcc-2.9.5.4, and the
rpm-4.0.2 from 'ra'. Unfortunatly, the upgrade seemed to corrupt my RPM
database. Everything works fine (mostly). When I erase or add an RPM, I
get;

rpmdb: Bad page number: 751 should be 1239
error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database verification failed
rpmdb: Bad page number: 2293 should be 2289
error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database verification failed

Is there anything I can do ?

What do 'ra' and 'nest' mean ?

John
--
_______________________________________
John Looney Chief Scientist
a n t e f a c t o t: +353 1 8586004
www.antefacto.com f: +353 1 8586014
Jakub Bogusz
2005-12-20 17:03:31 UTC
Permalink
Post by John P. Looney
I also played with gcc3 from the 'nest' set of RPMs. As I do a lot of RPM
building, I needed rpm-4.0.4 and some other packages from 'ra'. I couldn't
compile some other packages, and went back to the gcc-2.9.5.4, and the
rpm-4.0.2 from 'ra'. Unfortunatly, the upgrade seemed to corrupt my RPM
database. Everything works fine (mostly). When I erase or add an RPM, I
get;
rpmdb: Bad page number: 751 should be 1239
error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database verification failed
rpmdb: Bad page number: 2293 should be 2289
error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database verification failed
Is there anything I can do ?
Try `rpm --rebuilddb` (but better backup /var/lib/rpm contents before
this).
Post by John P. Looney
What do 'ra' and 'nest' mean ?
'ra' = PLD 1.0 (stable in the nearest future)
'nest' = never-ending story (development version)


PS. 'PLD' used to stand for "Polish Linux Distribution" or "Polish(ed)
Linux Distribution) some time ago, but now it's just "PLD Linux" or "PLD
Linux Distribution" - as it's now open for people outside Poland and
Polish language support isn't the most important goal.
--
Jakub Bogusz http://prioris.mini.pw.edu.pl/~qboosh/
PLD Linux http://www.pld.org.pl/
Arkadiusz Miskiewicz
2005-12-20 17:03:32 UTC
Permalink
Post by Jakub Bogusz
Post by John P. Looney
rpmdb: Bad page number: 751 should be 1239
error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database verification failed
rpmdb: Bad page number: 2293 should be 2289
error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database verification failed
Is there anything I can do ?
Try `rpm --rebuilddb` (but better backup /var/lib/rpm contents before
this).
And upgreade your rpm and db4 to latest versions.
--
Arkadiusz Mi?kiewicz IPv6 ready PLD Linux at http://www.pld.org.pl
misiek(at)pld.org.pl AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr
Michal Moskal
2005-12-20 17:03:31 UTC
Permalink
Post by John P. Looney
I was just wondering...
I tried to install ImageMagick through poldek, and my indexes thought
that 5.4.3 were the most recent version, and when I tried to install, I
was told the files didn't exist.
So, I ran;
poldek --update-whole
and it downloaded the new indexes, which contained references to 5.4.4!
However, it took a while. Would it make sense to try and use 'rsync' to
download the new indexes, instead of FTP ? It can make a big difference.
It may even be possible to sync the indexes every time poldek is started,
as the downloads, and checks, would be quite fast. I suppose it would mean
that poldek mirrors would feel obliged to run rsync though...
Try poldek --update, not poldek --update-whole (with poldek >= 0.17).
It will just download deltas.

OTOH poldek ahs support for rsync (but not all mirrors supports it).
Post by John P. Looney
What do 'ra' and 'nest' mean ?
Ra is codename for PLD-1.0. It has several meanings (Egypt God of Sun,
symbol of Rad (Radon?)).

Nest is like cooker or rawhide. It means NeverEnding STory :)
--
: Michal Moskal :::::::: malekith/at/pld.org.pl : GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h
John P. Looney
2005-12-20 17:03:31 UTC
Permalink
Post by Michal Moskal
Try poldek --update, not poldek --update-whole (with poldek >= 0.17).
It will just download deltas.
Ah, OK.
Post by Michal Moskal
OTOH poldek ahs support for rsync (but not all mirrors supports it).
Time to check the man page...
Post by Michal Moskal
Post by John P. Looney
What do 'ra' and 'nest' mean ?
Ra is codename for PLD-1.0. It has several meanings (Egypt God of Sun,
symbol of Rad (Radon?)).
OK...
Post by Michal Moskal
Nest is like cooker or rawhide. It means NeverEnding STory :)
Excellent.

Kate
--
_______________________________________
John Looney Chief Scientist
a n t e f a c t o t: +353 1 8586004
www.antefacto.com f: +353 1 8586014
John P. Looney
2005-12-20 17:03:32 UTC
Permalink
Post by Michal Moskal
Try poldek --update, not poldek --update-whole (with poldek >= 0.17).
It will just download deltas.
OTOH poldek ahs support for rsync (but not all mirrors supports it).
Is there a list of which mirrors do support it ?

John
--
_______________________________________
John Looney Chief Scientist
a n t e f a c t o t: +353 1 8586004
www.antefacto.com f: +353 1 8586014
Marcin Bohosiewicz
2005-12-20 17:03:32 UTC
Permalink
Post by John P. Looney
Post by Michal Moskal
Try poldek --update, not poldek --update-whole (with poldek >= 0.17).
It will just download deltas.
OTOH poldek ahs support for rsync (but not all mirrors supports it).
Is there a list of which mirrors do support it ?
For example rsync://rsync.pld.org.pl/pld/ - our main ftp/rsync server.

Regards,

Martin
--
-| == Marcin Bohosiewicz - MB8042-RIPE - ***@kernel.pl == |-
-| == tel. +48 601 485097 - PLD Team - ***@pld.org.pl == |-
-| == http://www.kernel.pl/ - ftp://ftp.kernel.pl/ == |-
-| == PLUG - Komisja Rewizyjna - http://www.linux.org.pl/ == |-
Loading...