Bug 907216
| Summary: | Offline update confused by obsoleted packages | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | amturnip |
| Component: | PackageKit | Assignee: | Richard Hughes <rhughes> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | cra, jonathan, kerving16, mark.harfouche, rdieter, rhughes, rvitale, smparrish |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-10 17:34:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
sudo rm /var/lib/PackageKit/prepared-update /var/lib/PackageKit/offline-update-competed I can't get offline updates to work. I just see this: [PackageKit Offline Update Results] Success=false ErrorDetails=Errors were encountered while downloading packages.\nkernel-3.8.5-201.fc18.x86_64: [Errno 256] No more mirrors to try.\nkernel-3.8.5-201.fc18.x86_64: Downloaded package kernel-3.8.5-201.fc18.x86_64, from updates, but it was invalid.\nsystem-config-printer-libs-1.3.13-1.fc18.noarch: [Errno 256] No more mirrors to try.\nsystem-config-printer-libs-1.3.13-1.fc18.noarch: Downloaded package system-config-printer-libs-1.3.13-1.fc18.noarch, from updates-testing, but it was invalid.\nkernel-modules-extra-3.8.5-201.fc18.x86_64: [Errno 256] No more mirrors to try.\nkernel-modules-extra-3.8.5-201.fc18.x86_64: Downloaded package kernel-modules-extra-3.8.5-201.fc18.x86_64, from updates, but it was invalid. ErrorCode=package-download-failed I'm not sure what to do now. *** This bug has been marked as a duplicate of bug 907058 *** |
Description of problem: "Install Updates and Restart" stopped being able to install updates. After I removed some obsoleted packages, "Install Updates and Restart" resumed working. Version-Release number of selected component (if applicable): PackageKit-0.8.7-1.fc18.x86_64 systemd-197-1.fc18.1.x86_64 yum-3.4.3-48.fc18.noarch How reproducible: Uncertain Steps to Reproduce: 1.Install Updates and Restart 2.After the 2nd reboot, do "yum check-update" and observe un-applied updates, including these: Obsoleting Packages vlgothic-fonts.noarch 20121230-2.fc18 updates vlgothic-fonts-common.noarch 20121230-1.fc18 @updates vlgothic-p-fonts.noarch 20121230-2.fc18 updates vlgothic-fonts-common.noarch 20121230-1.fc18 @updates 3.yum erase vlgothic-fonts-20121230-1.fc18.noarch yum erase vlgothic-fonts-common-20121230-1.fc18.noarch 4.Wait for Install Updates and Restart to be offered 5.Install Updates and Restart 6.After 2nd reboot, do "yum check-update" and observe that nothing needs doing. Actual results: When there are obsoleted packages to attend to, Install Updates and Restart does not perform the update. Expected results: Obsoleted packages should not block Offline Update from updating stuff. Additional info: This was a fresh installation of Fedora 18. - Not an upgrade from an earlier version. The obsoleted packages were listed in /var/lib/PackageKit/prepared-update just like other packages to be updated: e.g., vlgothic-fonts;20121230-2.fc18;noarch;updates In /var/cache/yum/x86_64/18/updates/packages/ were zero-length RPM files suggestive of the obsoleted packages: # ls -l /var/cache/yum/x86_64/18/updates/packages/ total 0 -rw-r--r--. 1 root root 0 Feb 3 10:22 vlgothic-fonts-20121230-2.fc18.noarch.rpm -rw-r--r--. 1 root root 0 Feb 3 10:22 vlgothic-p-fonts-20121230-2.fc18.noarch.rpm In /var/lib/PackageKit/offline-update-competed [sic], I found this: [PackageKit Offline Update Results] Success=false ErrorDetails=Errors were encountered while downloading packages.\nvlgothic-p-fonts-20121230-2.fc18.noarch: [Errno 256] No more mirrors to try.\nvlgothic-p-fonts-20121230-2.fc18.noarch: Downloaded package vlgothic-p-fonts-20121230-2.fc18.noarch, from updates, but it was invalid.\nvlgothic-fonts-20121230-2.fc18.noarch: [Errno 256] No more mirrors to try.\nvlgothic-fonts-20121230-2.fc18.noarch: Downloaded package vlgothic-fonts-20121230-2.fc18.noarch, from updates, but it was invalid. ErrorCode=package-download-failed