View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007308||CentOS-7||centos-release||public||2014-07-07 06:43||2014-07-07 20:14|
|Priority||normal||Severity||major||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0007308: Update to RC failed|
|Description||I had the link http://buildlogs.centos.org/centos/7/os/x86_64-latest/ in my yum repo file. Did a update and changed the entry in repo to http://buildlogs.centos.org/centos/7/os/x86_64-20140704-1/.|
After that I did a yum update again. The update from centos-release failed. Here the output:
No Presto metadata available for centos7
(1/2): centos-release-7-0.1406.el7.centos.2.3.x86_64.rpm | 19 kB 00:00
(2/2): kexec-tools-2.0.4-32.el7.centos.x86_64.rpm | 319 kB 00:01
Total 214 kB/s | 338 kB 00:01
Running transaction check
Running transaction test
Transaction test succeeded
Updating : kexec-tools-2.0.4-32.el7.centos.x86_64 1/4
Updating : centos-release-7-0.1406.el7.centos.2.3.x86_64 2/4
Error unpacking rpm package centos-release-7-0.1406.el7.centos.2.3.x86_64
error: unpacking of archive failed on file /usr/share/doc/redhat-release: cpio: rename
error: centos-release-7-0.1406.el7.centos.2.3.x86_64: install failed
error: centos-release-7-0.el7.0.140617.3.x86_64: erase skipped
Cleanup : kexec-tools-2.0.4-32.el7.x86_64 3/4
Verifying : kexec-tools-2.0.4-32.el7.centos.x86_64 1/4
centos-release-7-0.el7.0.140617.3.x86_64 was supposed to be removed but is not!
Verifying : centos-release-7-0.el7.0.140617.3.x86_64 2/4
Verifying : kexec-tools-2.0.4-32.el7.x86_64 3/4
Verifying : centos-release-7-0.1406.el7.centos.2.3.x86_64 4/4
|Tags||No tags attached.|
# rm -rf /usr/share/doc/redhat-release
# rm -rf /usr/share/doc/centos-release
and then try updating the centos-release package again. The symlinks for these directories were changed at some point, and yum doesn't seem to be able to handle the transition.
Ok, that is what I did, of course ;-)
The background of bug report is to show what happen if you do this update.
But I don't know how important this is, and if it's easy to fix.
Thanks for quick answering to my bugs.
Yes, sure, thanks for testing and the bug report, this is much appreciated.
I'm closing this bug as "not fixable" for now. It is known that upgrading from a prior pre-release centos-release to the current centos-release can lead to the error you described. Fresh installs of the newest centos-release package work without problems, so this is not going to be a problem for CentOS 7 GA. Note that there is no supported upgrade path from RC to GA. A fresh reinstall of the GA version is recommended, when CentOS 7 eventually hits General Availability.
|2014-07-07 06:43||mawe||New Issue|
|2014-07-07 07:56||avij||Note Added: 0020199|
|2014-07-07 08:08||mawe||Note Added: 0020200|
|2014-07-07 08:48||avij||Note Added: 0020202|
|2014-07-07 08:48||avij||Status||new => resolved|
|2014-07-07 08:48||avij||Resolution||open => not fixable|
|2014-07-07 20:14||Evolution||Relationship added||related to 0007312|
|2014-07-07 20:16||Evolution||Relationship replaced||has duplicate 0007312|
||Issue cloned: 0007760|