Bug 1212878

Summary: [Build 20230626] [zypper] The basic error message is wrong when do zypper rm PackageName
Product: [openSUSE] openSUSE Tumbleweed Reporter: Grace Wang <grace.wang>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/3383330/modules/gb18030/steps/16
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Grace Wang 2023-06-30 06:30:20 UTC
## Observation

This issue can be reproduced when doing zypper remove multiple packages and some of them don't exist in the OS.

e.g. zypper rm "arphic-ukai-fonts arphic-uming-fonts baekmuk-*-fonts noto-*-tc* noto-*-jp* noto-*-kr* wqy* adobe-sourcecodepro-fonts xorg-x11-fonts-converted"

and follow the procedure, then after "adobe-sourcecodepro-fonts" and "xorg-x11-fonts-converted" are removed successfully, the wrong error message "Installation has completed with error" can be seen from the terminal.

In fact, we are doing uninstallation operation not installation.

Below link is a good example which can reproduce this issue.

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-desktopapps-gb18030@64bit fails in
[gb18030](https://openqa.opensuse.org/tests/3383330/modules/gb18030/steps/16)

## Test suite description
Maintainer: zcjia@suse.com


## Reproducible

Fails since (at least) Build [20230626](https://openqa.opensuse.org/tests/3383330) (current job)


## Expected result

Last good: [20230625](https://openqa.opensuse.org/tests/3382001) (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=desktopapps-gb18030&version=Tumbleweed)