Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
PackageKit.34493
PackageKit-zypp-dont-remove-locked-packages.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PackageKit-zypp-dont-remove-locked-packages.patch of Package PackageKit.34493
Index: PackageKit-1.2.5/backends/zypp/pk-backend-zypp.cpp =================================================================== --- PackageKit-1.2.5.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-1.2.5/backends/zypp/pk-backend-zypp.cpp @@ -2940,6 +2940,12 @@ backend_remove_packages_thread (PkBacken return; } PoolItem item(solvable); + if (item.status ().isLocked ()) { + zypp_backend_finished_error (job, PK_ERROR_ENUM_PACKAGE_FAILED_TO_REMOVE, + "Failed to remove %s: Locked package.", + solvable.name ().c_str ()); + return; + } if (solvable.isSystem ()) { item.status ().setToBeUninstalled (ResStatus::USER); items.push_back (item);
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