Bug 1110542

Summary: Zypper resolution prompt appears twice
Product: [openSUSE] openSUSE Distribution Reporter: Linus Kardell <linus.kardell>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: linus.kardell
Version: Leap 15.0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Linus Kardell 2018-10-03 06:48:33 UTC
When there is an error message in Zypper which you need to respond to, e.g. some missing dependency, and you enter something, it will just ignore it and display the prompt a second time, and you have to enter something again.
Comment 1 Andreas Stieger 2018-10-03 07:09:01 UTC
Give a terminal session log please, indicating the specific commands and scenario you are describing.
Comment 2 Linus Kardell 2018-10-04 05:46:40 UTC
I can reproduce it by changing the URL for a repo, in which case I get the following:

```
# LC_ALL=c zypper ref
Repository 'Atom Editor' is up to date.                                                                                                                                                                                                                            
Repository 'openSUSE BuildService - KDE:Extra' is up to date.                                                                                                                                                                                                      
Repository 'Packman' is up to date.                                                                                                                                                                                                                                
Repository 'openSUSE BuildService - Publishing' is up to date.                                                                                                                                                                                                     
Repository 'Visual Studio Code' is up to date.                                                                                                                                                                                                                     
Repository 'libdvdcss' is up to date.                                                                                                                                                                                                                              
Repository 'OpenSUSE Buildservice - network:utilities' is up to date.                                                                                                                                                                                              
Download (curl) error for 'https://download.opensuse.orgg/debug/distribution/leap/15.0/repo/oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.orgg

Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
Abort, retry, ignore? [a/r/i/...? shows all options] (a): a
ABORT request: Aborting requested by user
```
Comment 3 Michael Andres 2018-10-05 12:02:27 UTC
These are 2 different issues:

(In reply to Linus Kardell from comment #0)
> some missing dependency, and you enter something, it will just ignore it and
> display the prompt a second time, and you have to enter something again.

It may indeed be that the same resolution is offered for 2 similar problems the resolver found. It appears as if the entered solution was ignored and later asked again, but it is not (at least not for the resolver). It's a known issue without solution yet.


(In reply to Linus Kardell from comment #2)
> I can reproduce it by changing the URL for a repo, in which case I get the
> following:

This is a good catch, and a real bug in zypper. In case the repo URl is `https://` you may get prompted two times.

Fixed in zypper-1.14.13
Comment 7 Swamp Workflow Management 2019-07-17 16:15:40 UTC
SUSE-RU-2019:1865-1: An update that has 6 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1035729,1110542,1111319,1112911,1113296,1134226
CVE References: 
Sources used:
SUSE Linux Enterprise Server for SAP 12-SP1 (src):    libzypp-15.28.0-46.31.1, zypper-1.12.65-46.16.1
SUSE Linux Enterprise Server 12-SP1-LTSS (src):    libzypp-15.28.0-46.31.1, zypper-1.12.65-46.16.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 8 Swamp Workflow Management 2019-07-25 16:11:34 UTC
SUSE-SU-2019:1972-1: An update that solves three vulnerabilities and has 9 fixes is now available.

Category: security (moderate)
Bug References: 1109893,1110542,1111319,1112911,1113296,1120629,1120630,1120631,1127155,1131823,1134226,1137977
CVE References: CVE-2018-20532,CVE-2018-20533,CVE-2018-20534
Sources used:
SUSE OpenStack Cloud 8 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4
SUSE Linux Enterprise Software Development Kit 12-SP4 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4
SUSE Linux Enterprise Server for SAP 12-SP3 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4
SUSE Linux Enterprise Server 12-SP5 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4
SUSE Linux Enterprise Server 12-SP4 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4
SUSE Linux Enterprise Server 12-SP3-LTSS (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4
SUSE Linux Enterprise Desktop 12-SP5 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4
SUSE Linux Enterprise Desktop 12-SP4 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4
SUSE Enterprise Storage 5 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4
SUSE CaaS Platform 3.0 (src):    libsolv-0.6.36-2.16.2, libzypp-16.20.0-2.39.4, zypper-1.13.51-21.26.4

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 2019-07-31 22:12:06 UTC
SUSE-SU-2019:2030-1: An update that solves three vulnerabilities and has 41 fixes is now available.

Category: security (moderate)
Bug References: 1047962,1049826,1053177,1065022,1099019,1102261,1110542,1111319,1112911,1113296,1114908,1115341,1116840,1118758,1119373,1119820,1119873,1120263,1120463,1120629,1120630,1120631,1121611,1122062,1122471,1123137,1123681,1123843,1123865,1123967,1124897,1125415,1127026,1127155,1127220,1130161,1131823,1135749,1137977,663358,764147,965786,978193,993025
CVE References: CVE-2018-20532,CVE-2018-20533,CVE-2018-20534
Sources used:
SUSE Linux Enterprise Workstation Extension 15 (src):    PackageKit-1.1.10-4.10.4
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src):    libsolv-0.7.5-3.12.2, libyui-ncurses-pkg-2.48.5.2-3.5.2, libyui-qt-pkg-2.45.15.2-3.5.3, libzypp-17.12.0-3.23.6, zypper-1.14.28-3.18.6
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src):    PackageKit-1.1.10-4.10.4, libsolv-0.7.5-3.12.2, libzypp-17.12.0-3.23.6, yast2-pkg-bindings-devel-doc-4.0.13-3.7.2, zypper-1.14.28-3.18.6
SUSE Linux Enterprise Module for Development Tools 15 (src):    libsolv-0.7.5-3.12.2
SUSE Linux Enterprise Module for Desktop Applications 15 (src):    PackageKit-1.1.10-4.10.4, libyui-qt-pkg-2.45.15.2-3.5.3
SUSE Linux Enterprise Module for Basesystem 15 (src):    libsolv-0.7.5-3.12.2, libyui-ncurses-pkg-2.48.5.2-3.5.2, libyui-ncurses-pkg-doc-2.48.5.2-3.5.3, libyui-qt-pkg-2.45.15.2-3.5.3, libyui-qt-pkg-doc-2.45.15.2-3.5.3, libzypp-17.12.0-3.23.6, yast2-pkg-bindings-4.0.13-3.7.2, zypper-1.14.28-3.18.6
SUSE Linux Enterprise Installer 15 (src):    libsolv-0.7.5-3.12.2, libyui-ncurses-pkg-2.48.5.2-3.5.2, libyui-qt-pkg-2.45.15.2-3.5.3, libzypp-17.12.0-3.23.6, yast2-pkg-bindings-4.0.13-3.7.2, zypper-1.14.28-3.18.6

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 11 Swamp Workflow Management 2019-08-18 13:12:55 UTC
openSUSE-SU-2019:1927-1: An update that solves three vulnerabilities and has 41 fixes is now available.

Category: security (moderate)
Bug References: 1047962,1049826,1053177,1065022,1099019,1102261,1110542,1111319,1112911,1113296,1114908,1115341,1116840,1118758,1119373,1119820,1119873,1120263,1120463,1120629,1120630,1120631,1121611,1122062,1122471,1123137,1123681,1123843,1123865,1123967,1124897,1125415,1127026,1127155,1127220,1130161,1131823,1135749,1137977,663358,764147,965786,978193,993025
CVE References: CVE-2018-20532,CVE-2018-20533,CVE-2018-20534
Sources used:
openSUSE Leap 15.0 (src):    PackageKit-1.1.10-lp150.11.1, libsolv-0.7.5-lp150.7.1, libyui-ncurses-pkg-2.48.5.2-lp150.7.1, libyui-qt-pkg-2.45.15.2-lp150.7.1, libzypp-17.12.0-lp150.2.13.1, yast2-pkg-bindings-4.0.13-lp150.2.13.1, zypper-1.14.28-lp150.2.13.1
Comment 14 Swamp Workflow Management 2019-09-02 10:34:37 UTC
SUSE-SU-2019:2265-1: An update that solves three vulnerabilities and has 13 fixes is now available.

Category: security (moderate)
Bug References: 1049825,1109893,1110542,1111319,1112911,1113296,1116995,1120629,1120630,1120631,1127155,1131823,1134226,1137977,1140039,1145521
CVE References: CVE-2018-20532,CVE-2018-20533,CVE-2018-20534
Sources used:
SUSE OpenStack Cloud Crowbar 8 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE OpenStack Cloud 8 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE OpenStack Cloud 7 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Linux Enterprise Server for SAP 12-SP3 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Linux Enterprise Server for SAP 12-SP2 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Linux Enterprise Server 12-SP4 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Linux Enterprise Server 12-SP3-LTSS (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Linux Enterprise Server 12-SP3-BCL (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Linux Enterprise Server 12-SP2-LTSS (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Linux Enterprise Server 12-SP2-BCL (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Linux Enterprise Desktop 12-SP4 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Enterprise Storage 5 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE Enterprise Storage 4 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
SUSE CaaS Platform 3.0 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2
HPE Helion Openstack 8 (src):    libsolv-0.6.36-2.27.19.8, libzypp-16.20.2-27.60.4, zypper-1.13.54-18.40.2

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.