Bug 104905
Summary: | old amp RPMs (i386 & src) for RHL 5.x completely break on RPM 4.x (100% reproducible, URLs included) | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Barry K. Nathan <barryn> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Mike McLean <mikem> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | barryn | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-09-24 20:00:52 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Barry K. Nathan
2003-09-23 14:07:31 UTC
This is probably fixable if necessary. Could you attach the pkgs and rpm -q --qf 'rpmversion: %rpmversion) built: %{buildtime:date}' pkgs output please? Thanks ... Sorry, just noted the url's, i will do. Thanks for report. Heh, really really old packages: $ rpm -qp --qf 'rpmversion: %{rpmversion} built %{buildtime:date}\n' amp* warning: amp-0.7.6-3.i386.rpm: V3 RSA/MD5 signature: NOKEY, key ID d21da329 rpmversion: 2.4.12 built Tue 28 Apr 1998 06:19:57 AM EDT rpmversion: 2.4.12 built Tue 28 Apr 1998 06:19:57 AM EDT Created attachment 94691 [details]
rpm -qp --qf '[%{*:xml}\n]' amp*6.rpm > amp.xml
Here's the dump of the header metadata.
Here's the src.rpm failure mode reproduced: $ xrpm -ivv amp-0.7.6-3.src.rpm D: ============== amp-0.7.6-3.src.rpm D: Expected size: 103043 = lead(96)+sigs(268)+pad(4)+data(102675) D: Actual size: 103011 D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: locked db index /var/lib/rpm/Packages D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0 warning: amp-0.7.6-3.src.rpm: V3 RSA/MD5 signature: NOKEY, key ID d21da329 D: added source package [0] D: found 1 source and 0 binary packages D: Expected size: 103043 = lead(96)+sigs(268)+pad(4)+data(102675) D: Actual size: 103011 warning: user nimir does not exist - using root warning: group staff does not exist - using root warning: user nimir does not exist - using root warning: group staff does not exist - using root amp-0.7.6-3 D: ========== Directories not explictly included in package: D: 0 /X/amp/ D: 1 /X/amp/ D: ========== D: fini 100644 1 ( 0, 0) 1324 /X/amp/amp-0.7.6.spec;3f71f62d D: undo 100664 1 (1072, 10) 100337 amp-0.7.6.tgz unknown GZDIO: 1 reads, 8192 total bytes in 0.000 secs error: unpacking of archive failed on file amp-0.7.6.tgz: cpio: Archive file not in header D: closed db index /var/lib/rpm/Pubkeys D: closed db index /var/lib/rpm/Packages And here is workaround: $ /usr/lib/rpm/rpm2cpio.sh amp-0.7.6-3.src.rpm | cpio -itv -rw-r--r-- 1 1072 wheel 1324 Apr 28 1998 amp-0.7.6.spec -rw-rw-r-- 1 1072 wheel 100337 Aug 27 1997 amp-0.7.6.tgz 200 blocks Use -dim instead of -itv to extract. Rebuild strongly encouraged, this is V2 packaging, and a.out executable needs to die even if still supported by kernel/glibc somehow. WONTFIX because of age of packaging. Can/will fix if/when necessary, I see little reason to mess around with V2 packaging in the year 2003. Correction: That package contains an ELF executable, not a.out. Anyway, since rpm2cpio works, WONTFIX is fine with me. |