incorect checksum for percona-release in percona-release-noarch repo

Bug #1736418 reported by jahor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
New
Undecided
Unassigned

Bug Description

we have problem with installing percona-release package from percona repo

---><---
# yum update percona-release
Loaded plugins: changelog, etckeeper, priorities, versionlock
percona-release-noarch/7/primary_db | 14 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package percona-release.noarch 0:0.1-3 will be updated
---> Package percona-release.noarch 0:0.1-4 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================
 Package Arch Version Repository Size
==============================================================================================================================================================================================================================================
Updating:
 percona-release noarch 0.1-4 percona-release-noarch 6.6 k

Transaction Summary
==============================================================================================================================================================================================================================================
Upgrade 1 Package

Total download size: 6.6 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
percona-release-0.1-4.noarch.r FAILED
http://repo.percona.com/release/7/RPMS/noarch/percona-release-0.1-4.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=percona-release-noarch clean metadata ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.

Error downloading packages:
  percona-release-0.1-4.noarch: [Errno 256] No more mirrors to try.
---><---

we have a bit older file cached and it has correct checksum:

[jahor@jhrcz-wrk DOWNLOAD]$ shasum percona-cache-spacewalk/* percona-repo-wrong/*
76815f403c495cc75183900ed3db2c6d47f78e8a percona-cache-spacewalk/percona-release-0.1-4.noarch.rpm
2f2b449bd9c3900f2e9bb5829d98d5fdd062c413 percona-repo-wrong/percona-release-0.1-4.noarch.rpm

checksums from the metadata:

bunzip 6b795a5c1b8b8b17f5d999d9ef1f655b1cadec62-primary.sqlite.bz2
sqlite3 6b795a5c1b8b8b17f5d999d9ef1f655b1cadec62-primary.sqlite

sqlite> .mode column
sqlite> .headers on
sqlite> select * from packages where name like 'percona-release%';
pkgKey pkgId name arch version epoch release summary description url time_file time_build rpm_license rpm_vendor rpm_group rpm_buildhost rpm_sourcerpm rpm_header_start rpm_header_end rpm_packager size_package size_installed size_archive location_href location_base checksum_type
---------- ---------------------------------------- --------------- ---------- ---------- ---------- ---------- ----------------------------------------------- --------------------------------------------------------------------------------------------- ---------- ---------- ---------- ----------- ---------- ----------------------- --------------------------------- ----------------------------- ---------------- -------------- ------------ ------------ -------------- ------------ -------------------------------- ------------- -------------
7 ba2beb0d1447fa6be100bf812ec82e5862e79323 percona-release noarch 0.1 0 1 Package to install Percona GPG key and YUM repo percona-release package contains Percona GPG public key and Percona repository configuration for YUM 1409842528 1409833608 GPL-3.0+ System Environment/Base vps-centos5-x32-01.ci.percona.com percona-release-0.1-1.src.rpm 456 4572 6525 6525 6668 percona-release-0.1-1.noarch.rpm sha
8 20de74702d5f8ead3d5696ad7c5b4f441d4c857a percona-release noarch 0.1 0 2 Package to install Percona GPG key and YUM repo percona-release package contains Percona GPG public key and Percona repository configuration for YUM 1411046955 1411046951 GPL-3.0+ System Environment/Base vps-centos5-x64-03.ci.percona.com percona-release-0.1-2.src.rpm 456 4620 6563 6563 6668 percona-release-0.1-2.noarch.rpm sha
9 0ca0877d7e09c0b3e68dad793b29f5b9dad9c57f percona-release noarch 0.1 0 3 Package to install Percona GPG key and YUM repo percona-release package contains Percona GPG public key and Percona repository configuration for YUM 1438081539 1438081525 GPL-3.0+ System Environment/Base centos-5-x64.ci.percona.com percona-release-0.1-3.src.rpm 456 4700 6645 6645 6668 percona-release-0.1-3.noarch.rpm sha
10 76815f403c495cc75183900ed3db2c6d47f78e8a percona-release noarch 0.1 0 4 Package to install Percona GPG key and YUM repo percona-release package contains Percona GPG public keys and Percona repository configuration for YU 1478883397 1478883382 GPL-3.0+ System Environment/Base vps-centos5-x64-03.ci.percona.com percona-release-0.1-4.src.rpm 456 4784 6729 6729 6668 percona-release-0.1-4.noarch.rpm sha

when i uncpacked the rpm, i notices some diferences:
builhost
emin-centos-6-x64-2382 vs 6vps-centos5-x64-03.ci.percona.com

it looks like hand-made hacky way to update rpm with different version of rpm (4.4 vs 4.8) or hacked repository.

Tags: pkg
Revision history for this message
jahor (jahor) wrote :

here is screenshot with diff over "strings" output of percona-release*.rpm

tags: added: pkg
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3763

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.