[Bug 1155624] New: [Build 20191030] PackageKit: cancells entire transaction if one package already installed
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624 Bug ID: 1155624 Summary: [Build 20191030] PackageKit: cancells entire transaction if one package already installed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other URL: https://openqa.opensuse.org/tests/1072910/modules/libq t5_qtbase/steps/21 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- ## Observation openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_on_kde@64bit fails in [libqt5_qtbase](https://openqa.opensuse.org/tests/1072910/modules/libqt5_qtbase/steps/21) the pkcon call asks to install multiple packages, of which one is already installed. Newly, this is RETVAL 7 for PK, but it cancells the entire transaction. The behavior of zypper is better in this regards: accept the queue to be done, ignore the one already installed ## Test suite description ## Reproducible Fails since (at least) Build [20191024](https://openqa.opensuse.org/tests/1065903) ## Expected result Last good: [20191023](https://openqa.opensuse.org/tests/1065144) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=extra_tests_on_kde&version=Tumbleweed) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624#c1
--- Comment #1 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624#c2
--- Comment #2 from Stefan Brüns
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624#c6
--- Comment #6 from Dominique Leuenberger
The closest we can achieve now is:
# a is installed in the system, while b and c is not. $ pkcon install a b c Resolving bla bla The following packages have to be installed: b description of package b c description of package c Proceed with changes? [N/y] y Installing bla bla Finished Fatal error: a is already installed.
It shouldn't be a 'Fatal error' (it's rather an information) - and pkcon should not exit with error code - the rest is acceptable -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624#c7
--- Comment #7 from Jonathan Kang
(In reply to Jonathan Kang from comment #5)
The closest we can achieve now is:
# a is installed in the system, while b and c is not. $ pkcon install a b c Resolving bla bla The following packages have to be installed: b description of package b c description of package c Proceed with changes? [N/y] y Installing bla bla Finished Fatal error: a is already installed.
It shouldn't be a 'Fatal error' (it's rather an information) - and pkcon should not exit with error code - the rest is acceptable
This is as close as we can get with how PK works now. PK doesn't have a mechanism to allow backend pass a summary. Let's just ignore those already installed packages and proceed installing others atm. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
Stefan Brüns
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624
http://bugzilla.opensuse.org/show_bug.cgi?id=1155624#c8
--- Comment #8 from Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com