Bug 406884

Summary: needs to tell the user when an offline update went wrong
Product: [Applications] Discover Reporter: Harald Sitter <sitter>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.