View Issue Details

IDProjectCategoryView StatusLast Update
0007308CentOS-7centos-releasepublic2014-07-07 20:14
Reportermawe 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionnot fixable 
PlatformCentOSOS7OS Versionx86_64
Product Version 
Target VersionFixed in Version 
Summary0007308: Update to RC failed
DescriptionI 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:

Downloading packages:
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
Running transaction
  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

Updated:
  kexec-tools.x86_64 0:2.0.4-32.el7.centos

Failed:
  centos-release.x86_64 0:7-0.el7.0.140617.3
  centos-release.x86_64 0:7-0.1406.el7.centos.2.3

Complete!
TagsNo tags attached.
abrt_hash
URL

Relationships

has duplicate 0007312 resolvedEvolution error updating beta centos-release-7 to final release 

Activities

avij

avij

2014-07-07 07:56

manager   ~0020199

Try

# 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.
mawe

mawe

2014-07-07 08:08

reporter   ~0020200

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.
avij

avij

2014-07-07 08:48

manager   ~0020202

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.

Issue History

Date Modified Username Field Change
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
2014-10-20 12:14 shengvvvvv Issue cloned: 0007760