Summary: | pkcon offline-status does not show failed transactions details | ||
---|---|---|---|
Product: | PackageKit | Reporter: | Kamil Páral <kparal> |
Component: | General | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
failure dialog after reboot
pkcon get-transactions output prepared-update file system journal from the upgrade file listing of /var/cache/PackageKit rpm -qa of the system |
Description
Kamil Páral
2015-06-19 13:00:23 UTC
Created attachment 116594 [details]
failure dialog after reboot
Sorry for Czech language, it says "Update Failed. Offline update failed in an unexpected way. Here are the failure details retrieved from the package manager:"
Created attachment 116595 [details]
pkcon get-transactions output
Showing the successful transaction of downloading the packages, and then the failed transaction of offline update, with no details.
Created attachment 116596 [details]
prepared-update file
Created attachment 116597 [details]
system journal from the upgrade
Created attachment 116598 [details]
file listing of /var/cache/PackageKit
Created attachment 116599 [details]
rpm -qa of the system
I've found out that you can also simulate a similar behavior, if you adjust "prepared-update" before rebooting into offline upgrade. I.e. remove some package line (do not break deps), delete the package from the correct directory, and try to perform offline upgrade. It will fail, the but error message will again only be reachable in the gtk dialog, not in the command line tools. I just received another offline upgrade error: cannot download a/abrt-2.6.0-1.fc22.x86_64.rpm to /var/cache/PackageKit/metadata/updates/packages/: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org] But again, pkcon doesn't say anything: $ pkcon offline-status Command failed: no update results available $ pkcon get-transactions Transaction: /1845_dcaaecce System time: 2015-06-22T11:11:16.218055Z Succeeded: False Role: update-packages Duration: 6574 (seconds) Command line: User ID: 0 Username: root Real name: root Affected packages: - downloading abrt-2.6.0-1.fc22.x86_64 Should be fixed with https://git.gnome.org/browse/gnome-software/commit/?id=786999077324e4314c86a9f65683b24389ad6233 , thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.