Overview

Request 815332 accepted

- Add PackageKit-pkcon-exit-with-retval-5.patch: pkcon: exit with
retval 5 if no packages needed be installed
(gh#/hughsie/PackageKit#405 bsc#1170562).

- Add PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch:
zypp: Ensure ResPool is built before is_tumbleweed()
(gh#/hughsie/PackageKit/commit/5c0fd7d7).

Loading...

xiaoguang wang's avatar

pkcon: exit with I think it's not graceful. You can write it in the new line or don't use :.


Dominique Leuenberger's avatar

Not sure I understand - the patch changes pkcon to behave as documented: it nothing needed to be done, e.g. package already installed, it will return with exit code 5.

> pkcon install vim; echo $?
Resolving                     [=========================]         
Querying                      [=========================]         
Testing changes               [=========================]         
Finished                      [=========================]         
Fatal error: The packages are already all installed
5

Exit code 5 is as documented in man pkcon (used to be 7)

Request History
Jonathan Kang's avatar

JonathanKang created request

- Add PackageKit-pkcon-exit-with-retval-5.patch: pkcon: exit with
retval 5 if no packages needed be installed
(gh#/hughsie/PackageKit#405 bsc#1170562).

- Add PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch:
zypp: Ensure ResPool is built before is_tumbleweed()
(gh#/hughsie/PackageKit/commit/5c0fd7d7).


Jonathan Kang's avatar

JonathanKang accepted request

accepting this, as it has been accepted in GNOME:Factory.

openSUSE Build Service is sponsored by