Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
plasma5-pk-updates
0001-Also-treat-ErrorNotAuthorized-as-temporary...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Also-treat-ErrorNotAuthorized-as-temporary.patch of Package plasma5-pk-updates
From 4cf369b6676d92dcfaed48fb3837c98ce6c6f0fa Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fabian@ritter-vogt.de> Date: Fri, 17 Apr 2020 16:42:41 +0200 Subject: [PATCH] Also treat ErrorNotAuthorized as temporary This can happen if updates are checked while it's not the active session. --- src/declarative/pkupdates.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index 1c958db..857a6a1 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -490,6 +490,7 @@ void PkUpdates::onRefreshErrorCode(PackageKit::Transaction::Error error, const Q if(!m_isManualCheck) { auto isTransientError = [] (PackageKit::Transaction::Error error) { return (error == PackageKit::Transaction::ErrorFailedInitialization) || + (error == PackageKit::Transaction::ErrorNotAuthorized) || (error == PackageKit::Transaction::ErrorNoNetwork) || (error == PackageKit::Transaction::ErrorCannotGetLock); }; -- 2.25.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor