Bug 907216 - Offline update confused by obsoleted packages
Summary: Offline update confused by obsoleted packages
Keywords:
Status: CLOSED DUPLICATE of bug 907058
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-03 19:51 UTC by amturnip
Modified: 2013-12-10 17:34 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-10 17:34:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description amturnip 2013-02-03 19:51:20 UTC
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

Comment 1 kerving 2013-04-01 08:21:23 UTC
sudo rm /var/lib/PackageKit/prepared-update /var/lib/PackageKit/offline-update-competed

Comment 2 Charles R. Anderson 2013-04-06 01:23:22 UTC
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.

Comment 3 Richard Hughes 2013-12-10 17:34:39 UTC

*** This bug has been marked as a duplicate of bug 907058 ***


Note You need to log in before you can comment on or make changes to this bug.