Thread: Bug #692: corrupt rpms

Bug #692: corrupt rpms

From
pgsql-bugs@postgresql.org
Date:
Chris (calls@magnum.espresso.org) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
corrupt rpms

Long Description
Your redhat-6.2 rpms for postgresql latest trashed my rpm database and corrupted it which was unfixable and now have no
abilityto utilize the use of rpm, which had been operating for 4+years on this box, i can't believe this, that a well
utilizedsite as this does this poor job maintaining their files, thanks for the devastation. Even tryed going back to
myversion and was unfixable. 

Sample Code
D:   +++        501 postgresql-7.0.3-2
D: adding "postgresql" to Name index.
D: adding 1126 entries to Basenames index.
D: adding "Applications/Databases" to Group index.
D: adding 25 entries to Requirename index.
D: adding 14 entries to Providename index.
Segmentation fault

error: cannot open Depends index using db1 - Invalid argument (22)
Preparing...                memory alloc (2865462042 bytes) returned NULL.

No file was uploaded with this report

Re: Bug #692: corrupt rpms

From
Lamar Owen
Date:
On Friday 14 June 2002 05:43 am, pgsql-bugs@postgresql.org wrote:
> Short Description
> corrupt rpms

> Long Description
> Your redhat-6.2 rpms for postgresql latest trashed my rpm database and
> corrupted it which was unfixable and now have no ability to utilize the use
> of rpm, which had been operating for 4+years on this box, i can't believe
> this, that a well utilized site as this does this poor job maintaining
> their files, thanks for the devastation. Even tryed going back to my
> version and was unfixable.

What version of RPM are you using?  Did you get and install the Red
Hat-recommended update to RPM 4?  As you are the only one who has reported
this, and a number of people have downloaded and are using those RPM's
without any problem, I suspect a problem with your box.

Although Red Hat 6.2 hasn't been out for 4 years.

You didn't try to install the sparc RPM's, did you?

What program did you use to download the RPMset?

Your error report indicated PostgreSQL 7.0.3.  This is not the latest version;
the latest is 7.2.1, which for Red Hat 6.2 is only available as the source
RPM or as SPARC32 RPM's.  I don't have a Red Hat 6.2 Intel machine; but the
source RPM build works on Red Hat 6.2 for SPARC (and I have reports that it
rebuilds just fine on Red Hat 6.2/Intel from more than one source).

Besides all that, a corrupt RPM won't trash the RPM database.  There is
something else going on there.  A corrupt RPM will fail the installation.  It
sounds to me like your RPM installation got hosed either due to a hardware
fault or running out of disk space on the /var partition.  I certainly
reserve the right to be wrong; but to test this theory run 'rpm --rebuilddb'
and see what happens.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11