Bug 1009044

Summary: Misleading zypper error messages
Product: [openSUSE] openSUSE Distribution Reporter: Axel Braun <axel.braun>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Leap 42.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Axel Braun 2016-11-08 10:54:44 UTC
When the installation is aborted for whatever reason by the user, zypper claims that a problem occured (actually, this is an old bug, thought it was fixed...)
See:
Dateikonflikte treten auf, wenn zwei Pakete versuchen, Dateien mit demselben Namen, jedoch anderen Inhalten zu installieren. Wenn Sie den Vorgang fortsetzen, werden die im Konflikt stehenden Dateien ersetzt, wobei der bisherige Inhalt verloren geht.
Fortfahren? [ja/nein] (nein): n

Während oder nach der Installation/dem Entfernung von Paketen ist ein Problem aufgetreten:
Installation aborted by user

In der Fehlermeldung oben finden Sie einen entsprechenden Hinweis.

The Message 'Während der Installation...' is wrong.

southpole:/home/axel # zypper --version
zypper 1.13.10
Comment 1 Michael Andres 2016-11-22 17:40:07 UTC
(In reply to Axel Braun from comment #0)
> The Message 'Während der Installation...' is wrong.
Why?
Comment 2 Axel Braun 2016-11-23 19:47:43 UTC
(In reply to Michael Andres from comment #1)
> (In reply to Axel Braun from comment #0)
> > The Message 'Während der Installation...' is wrong.
> Why?

Because the upgrade was canceled by the user, and this was by intention, not due to a fault.
It does not get correct due to the fact that this is mentioned afterwards
Comment 3 Michael Andres 2016-11-24 10:52:15 UTC
It was canceled due to the file conflict, and the user was not in the mood to ignore it...

The error handling at that point is quite generic. That's why we can't simply change the message. As the message is not wrong, we'll leave it as it is.