Bug 406884 - needs to tell the user when an offline update went wrong
Summary: needs to tell the user when an offline update went wrong
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-25 09:29 UTC by Harald Sitter
Modified: 2022-01-20 16:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2019-04-25 09:29:28 UTC
when an offline update fails it leaves behind status information. this information should be displayed very prominently since the system may be in a bad state

STEPS TO REPRODUCE
1. have offline upgrade fail
2. log into rebooted system

OBSERVED RESULT
no error indication yet stuff is crashing

EXPECTED RESULT
indicate error

$ cat /var/lib/PackageKit/offline-update-competed
[PackageKit Offline Update Results]
Success=false
ErrorCode=failed-initialization
ErrorDetails=Error while installing package: unable to make backup link of './usr/sbin/org.kde.neon.packagekit.offline-policy' before installing new version



SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Aleix Pol 2022-01-20 16:19:22 UTC
It's done from PackageKitNotifier::checkOfflineUpdates, closing as fixed, please reopen if you think it's not enough.