Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
gnome-packagekit
gnome-packagekit-BNC542819.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-packagekit-BNC542819.patch of Package gnome-packagekit
Index: gnome-packagekit-2.27.92/src/gpk-update-viewer.c =================================================================== --- gnome-packagekit-2.27.92.orig/src/gpk-update-viewer.c +++ gnome-packagekit-2.27.92/src/gpk-update-viewer.c @@ -432,13 +432,14 @@ gpk_update_viewer_button_install_cb (Gtk install_package_ids = g_strdupv (package_ids); /* get packages that also have to be updated */ -#if PK_CHECK_VERSION(0,5,2) - ret = pk_client_simulate_update_packages (client_primary, package_ids, &error); + /* don't try to get dependencies for patches - bnc#542819 */ +#if PK_CHECK_VERSION(0,5,0) + ret = pk_client_update_packages (client_primary, TRUE, package_ids, &error); #else - ret = pk_client_get_depends (client_primary, pk_bitfield_value (PK_FILTER_ENUM_NOT_INSTALLED), package_ids, TRUE, &error); + ret = pk_client_update_packages (client_primary, package_ids, &error); #endif if (!ret) { - egg_warning ("cannot get depends for updates: %s", error->message); + egg_warning ("update failed: %s", error->message); g_error_free (error); goto out; }
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