Bug 1188156

Summary: zypper rejects solution response when solution count is high
Product: [openSUSE] openSUSE Distribution Reporter: Felix Miata <mrmazda>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: Andreas.Stieger
Version: Leap 15.3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Felix Miata 2021-07-09 07:11:17 UTC
Original Summary:
zypper rejects solution response when solution count is high

To reproduce:
1-create a conflict with locks condition where zypper dup offers many solutions to choose from (e.g.: 22)
2a-make a single digit selection (e.g.: 2-keep obsolete suse-module-tools)
2b-make a double digit selection (e.g.: 22-break suse-module-tools)

Actual behavior:
1a-zypper responds ": Ambiguous answer '2'. (2,20,21,22)"
1b-zypper apparently loops, just redrawing the same list of options

Expected behavior:
1-selection accepted

Notes:
1-due to absence of kernel scrollback buffer (bug 1176235), the initial portion of zypper's conflict report and list of possible solutions is not accessible - #1 (with 20+ proposed removals) has scrolled off tty3 screen.
2-this has happened on my last two attempts to upgrade from 15.2 to 15.3 (two different hosts)
3-my workaround: rpm -e --nodeps suse-module-tools
4-selected locks list:
1  | *-lang              | package | (any)
11 | glibc-local?        | package | (any)
17 | kernel-az*          | package | (any)
18 | kernel-de*          | package | (any)
19 | kernel-kv*          | package | (any)
20 | kernel-pr*          | package | (any)
21 | kernel-r?           | package | (any)
22 | kernel-sy*          | package | (any)
23 | kernelshar*         | package | (any
Comment 2 Michael Andres 2021-07-22 07:37:19 UTC
Fixed for zypper-1.14.48
Comment 5 Swamp Workflow Management 2021-10-22 13:19:12 UTC
openSUSE-RU-2021:3501-1: An update that has 15 recommended fixes and contains two features can now be installed.

Category: recommended (moderate)
Bug References: 1186503,1186602,1187224,1187425,1187466,1187738,1187760,1188156,1188435,1189031,1190059,1190199,1190465,1190712,1190815
CVE References: 
JIRA References: ECO-2911,SLE-16862
Sources used:
openSUSE Leap 15.3 (src):    libsolv-0.7.20-9.2, libzypp-17.28.5-15.2, protobuf-3.9.2-4.9.1, zypper-1.14.49-16.1
Comment 6 Swamp Workflow Management 2021-10-22 13:24:07 UTC
SUSE-RU-2021:3501-1: An update that has 15 recommended fixes and contains two features can now be installed.

Category: recommended (moderate)
Bug References: 1186503,1186602,1187224,1187425,1187466,1187738,1187760,1188156,1188435,1189031,1190059,1190199,1190465,1190712,1190815
CVE References: 
JIRA References: ECO-2911,SLE-16862
Sources used:
SUSE MicroOS 5.1 (src):    libsolv-0.7.20-9.2, libzypp-17.28.5-15.2, protobuf-3.9.2-4.9.1, zypper-1.14.49-16.1
SUSE MicroOS 5.0 (src):    libsolv-0.7.20-9.2, libzypp-17.28.5-15.2, protobuf-3.9.2-4.9.1, zypper-1.14.49-16.1
SUSE Linux Enterprise Module for SUSE Manager Server 4.2 (src):    protobuf-3.9.2-4.9.1
SUSE Linux Enterprise Module for SUSE Manager Server 4.1 (src):    protobuf-3.9.2-4.9.1
SUSE Linux Enterprise Module for Public Cloud 15-SP3 (src):    protobuf-3.9.2-4.9.1
SUSE Linux Enterprise Module for Public Cloud 15-SP2 (src):    protobuf-3.9.2-4.9.1
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP3 (src):    protobuf-3.9.2-4.9.1
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP2 (src):    protobuf-3.9.2-4.9.1
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    libsolv-0.7.20-9.2, protobuf-3.9.2-4.9.1
SUSE Linux Enterprise Module for Development Tools 15-SP2 (src):    libsolv-0.7.20-9.2, protobuf-3.9.2-4.9.1
SUSE Linux Enterprise Module for Basesystem 15-SP3 (src):    libsolv-0.7.20-9.2, libzypp-17.28.5-15.2, protobuf-3.9.2-4.9.1, zypper-1.14.49-16.1
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    libsolv-0.7.20-9.2, libzypp-17.28.5-15.2, protobuf-3.9.2-4.9.1, zypper-1.14.49-16.1
SUSE Linux Enterprise Installer 15-SP2 (src):    libsolv-0.7.20-9.2, libzypp-17.28.5-15.2, protobuf-3.9.2-4.9.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Swamp Workflow Management 2021-11-24 02:22:47 UTC
SUSE-RU-2021:3780-1: An update that has 31 recommended fixes and contains one feature can now be installed.

Category: recommended (moderate)
Bug References: 1153687,1182372,1183268,1183589,1184326,1184399,1184997,1185325,1186447,1186503,1186602,1187224,1187425,1187466,1187738,1187760,1188156,1188435,1189031,1190059,1190199,1190356,1190465,1190712,1190815,1191286,1191324,1191370,1191609,1192337,1192436
CVE References: 
JIRA References: SLE-18858
Sources used:
SUSE Linux Enterprise Server for SAP 15 (src):    libsolv-0.7.20-3.48.1, libzypp-17.28.8-3.78.1, zypper-1.14.50-3.60.1
SUSE Linux Enterprise Server 15-LTSS (src):    libsolv-0.7.20-3.48.1, libzypp-17.28.8-3.78.1, zypper-1.14.50-3.60.1
SUSE Linux Enterprise Installer 15 (src):    libsolv-0.7.20-3.48.1, libzypp-17.28.8-3.78.1, zypper-1.14.50-3.60.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    libsolv-0.7.20-3.48.1, libzypp-17.28.8-3.78.1, zypper-1.14.50-3.60.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    libsolv-0.7.20-3.48.1, libzypp-17.28.8-3.78.1, zypper-1.14.50-3.60.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 10 Swamp Workflow Management 2021-11-24 02:32:15 UTC
SUSE-RU-2021:3781-1: An update that has 31 recommended fixes and contains one feature can now be installed.

Category: recommended (moderate)
Bug References: 1153687,1182372,1183268,1183589,1184326,1184399,1184997,1185325,1186447,1186503,1186602,1187224,1187425,1187466,1187738,1187760,1188156,1188435,1189031,1190059,1190199,1190356,1190465,1190712,1190815,1191286,1191324,1191370,1191609,1192337,1192436
CVE References: 
JIRA References: SLE-18858
Sources used:
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    libsolv-0.7.20-4.3.1, libzypp-17.28.8-3.61.1, zypper-1.14.50-3.46.1
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    libsolv-0.7.20-4.3.1, libzypp-17.28.8-3.61.1, zypper-1.14.50-3.46.1
SUSE Linux Enterprise Server 15-SP1-BCL (src):    libsolv-0.7.20-4.3.1, libzypp-17.28.8-3.61.1, zypper-1.14.50-3.46.1
SUSE Linux Enterprise Installer 15-SP1 (src):    libsolv-0.7.20-4.3.1, libzypp-17.28.8-3.61.1
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    libsolv-0.7.20-4.3.1, libzypp-17.28.8-3.61.1, zypper-1.14.50-3.46.1
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    libsolv-0.7.20-4.3.1, libzypp-17.28.8-3.61.1, zypper-1.14.50-3.46.1
SUSE Enterprise Storage 6 (src):    libsolv-0.7.20-4.3.1, libzypp-17.28.8-3.61.1, zypper-1.14.50-3.46.1
SUSE CaaS Platform 4.0 (src):    libsolv-0.7.20-4.3.1, libzypp-17.28.8-3.61.1, zypper-1.14.50-3.46.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.