rawhide: 20060921 - problems.

Bojan Smojver bojan at rexursive.com
Fri Sep 22 21:53:04 UTC 2006


Naoki <naoki <at> valuecommerce.com> writes:

> Ahh, indeed the RH repo is fine :
> 
> # rpm -Uvh

Actually, it still isn't. You can force all kinds of things by using RPM
directly. Yum, however, will check packages checksum against what it has in its
primary.xml.gz file. For example, here are 3 packages from i386 repository:

-------------------------------------
1a9e25cd7c81e1ce10e2b73dc47a35eed166a698  gsf-sharp-0.8.1-1.fc6.i386.rpm
2beb89a8a66dca72833334a83ef2ffc3d1262761  hal-0.5.7.1-3.fc6.i386.rpm
a7b7fd448a2960c355c039297b070fece73f7521  hsqldb-1.8.0.4-3jpp.2.i386.rpm
-------------------------------------

However, primary.xml.gz has:

-------------------------------------
  <name>gsf-sharp</name>
  <arch>i386</arch>
  <version epoch="0" ver="0.8.1" rel="1.fc6"/>
  <checksum type="sha"
            pkgid="YES">ffadfbeab23ac7ef2d252ae68930ca4283435129</checksum>

  <name>hal</name>
  <arch>i386</arch>
  <version epoch="0" ver="0.5.7.1" rel="3.fc6"/>
  <checksum type="sha"
            pkgid="YES">2beb89a8a66dca72833334a83ef2ffc3d1262761</checksum>

  <name>hsqldb</name>
  <arch>i386</arch>
  <version epoch="1" ver="1.8.0.4" rel="3jpp.2"/>
  <checksum type="sha"
            pkgid="YES">e1131397f0919ff1d04c16b5fcb7be6b82891748</checksum>
-------------------------------------

Two of those three don't match the checksum and yum won't update them. Here are
the errors:

-------------------------------------
(5/38): hsqldb-1.8.0.4-3j 100% |=========================| 1.6 MB    00:10     
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/os/Fedora/RPMS/hsqldb-1.8.0.4-3jpp.2.i386.rpm:
[Errno -1] Package does not match checksum
Trying other mirror.
(16/38): gsf-sharp-0.8.1- 100% |=========================|  42 kB    00:00     
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/os/Fedora/RPMS/gsf-sharp-0.8.1-1.fc6.i386.rpm:
[Errno -1] Package does not match checksum
Trying other mirror.
-------------------------------------

--
Bojan




More information about the fedora-devel-list mailing list