Re: db problems in 1.0.2
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
Shouldn't reply to self but some more diagnostics
cp /usr/local/redhat/linux/6.2/current/rpm_index.wdb tree
Run this perl script:
#!/usr/bin/perl
use DB_File ;
use Fcntl ;
tie %h, DB_File, "tree", O_RDWR|O_CREAT, 0640, $DB_BTREE ;
# Cycle through the keys printing them in order.
# Note it is not necessary to sort the keys as
# the btree will have kept them in order automatically.
foreach (keys %h)
{ print "$_\n" }
untie %h ;
Sample output
AfterStep-1.8.0-1.i386.rpm
AfterStep-APPS-20000124-6.i386.rpm
AnotherLevel-1.0.1-1.noarch.rpm
ElectricFence-2.1-3.i386.rpm
GXedit-1.23-4.i386.rpm
ImageMagick-4.2.9-3.i386.rpm
ImageMagick-devel-4.2.9-3.i386.rpm
MAKEDEV-2.5.2-1.noarch.rpm
Mesa-3.2-2.i386.rpm
Mesa-3.2-2.i686.rpm
Mesa-devel-3.2-2.i386.rpm
Mesa-devel-3.2-2.i686.rpm
ORBit-0.5.0-3.i386.rpm
ORBit-devel-0.5.0-3.i386.rpm
SVGATextMode-1.9-1.i386.rpm
SysVinit-2.78-5.i386.rpm
WindowMaker-0.61.1-2.i386.rpm
X11R6-contrib-3.3.2-11.i386.rpm
XFree86-100dpi-fonts-3.3.6-29.i386.rpm
XFree86-3.3.6-29.i386.rpm
XFree86-3DLabs-3.3.6-29.i386.rpm
XFree86-75dpi-fonts-3.3.6-29.i386.rpm
XFree86-8514-3.3.6-29.i386.rpm
XFree86-AGX-3.3.6-29.i386.rpm
XFree86-FBDev-3.3.6-29.i386.rpm
So file seems sane....
*help*
Paul