Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Lachu:SystemServices
Lachu-PackageKit
0046-Treads-IO-errors-as-Package-Manager-error....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0046-Treads-IO-errors-as-Package-Manager-error.patch of Package Lachu-PackageKit
From 4e1ea8633b82e4412abe3a6819c3aeecf61acd74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Lach?= <slawek@lach.art.pl> Date: Mon, 19 Jul 2021 16:00:32 +0200 Subject: [PATCH 46/46] - Treads IO errors as Package Manager error - Handle error flag in install local files - Both changes are related only to zypp backend --- backends/zypp/pk-backend-zypp.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 33734f3e7..3740cdcd3 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -2033,6 +2033,12 @@ dependency_handle_selection(GIOChannel *source, //pk_backend_job_error_code (msg_proc->job, PK_ERROR_ENUM_DEP_RESOLUTION_FAILED, "Error when handling dependency. PIPE problem"); //pk_backend_job_done (msg_proc->job->helper); + + + dependency_error("Runtime-Error when handling dependency", msg_proc); + + msg_proc->job->done = 1; + pk_backend_job_thread_setup(msg_proc->job->helper); return FALSE; } @@ -3897,7 +3903,7 @@ backend_install_files_thread (PkBackendJob *job, GVariant *params, gpointer user // remove tmp-dir and the tmp-repo - if (true == job->done) + if (true == job->done || true == rjob->error) try { manager->removeRepository (tmpRepo); -- 2.32.0
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