Bug 246037
| Summary: | Fails unpacking package, but reports success | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Boris Goldowsky <boris> |
| Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 7 | CC: | james.antill |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-08-10 07:05:41 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: | |||
You are likely trying to replace a directory with a symlink. If so, you will need to add a %pretrans section to move the directory and create the symlink. tar/cpio have exactly the same problem as rpm replacing a directory with a symlink. |
This package has been failing to update, but yum reports success. Pup attempts to update it over and over, always claiming to have done so. Command line yum shows this: $ sudo yum update Password: Loading "installonlyn" plugin Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package java-1.5.0-gcj-javadoc.x86_64 0:1.5.0.0-14.fc7 set to be updated Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: java-1.5.0-gcj-javadoc x86_64 1.5.0.0-14.fc7 fedora 5.2 M replacing java-1.4.2-gcj-compat-javadoc.x86_64 1.4.2.0-40jpp.110 Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 5.2 M Is this ok [y/N]: y Downloading Packages: (1/1): java-1.5.0-gcj-javadoc-1.5.0.0-14.fc7.x86_64.rpm 5.2 MB 00:11 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: java-1.5.0-gcj-javadoc ######################### [1/2] error: unpacking of archive failed on file /usr/share/javadoc/java: cpio: rename Installed: java-1.5.0-gcj-javadoc.x86_64 0:1.5.0.0-14.fc7 Replaced: java-1.4.2-gcj-compat-javadoc.x86_64 0:1.4.2.0-40jpp.110 Complete! But it really failed: $ rpm -qa | grep javadoc java-1.4.2-gcj-compat-javadoc-1.4.2.0-40jpp.110.x86_64