[Bug 844373] New: zypper remove gives wrong message when removing a versioned package
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c0 Summary: zypper remove gives wrong message when removing a versioned package Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ensonic@sonicpulse.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1553.0 Safari/537.36 SUSE/30.0.1553.0 To track down a bug, I was asked to try development and upstrem kernels. In order to remove the upstream kernel again, I deactivated the repository and uninstalled the versioned package (german text ahead): # zypper remove kernel-desktop-3.12.rc3-1.1.ge5ef0d0 Daten des Repositories laden ... Installierte Pakete lesen ... Paketabhängigkeiten auflösen ... Das folgende Paket wird GELÖSCHT: kernel-desktop The issue are the last two lines saying: The package below will be DELETED: kernel-desktop which is not true. Removing all versions of "kernel-desktop" would not be a good idea. Deleting this particullar version might be okay. The message should include the verison as well to not set the user on a false alarm. When proceding it does only delete the versioned message. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de AssignedTo|bnc-team-screening@forge.pr |ma@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|YaST2 |libzypp AssignedTo|ma@suse.com |zypp-maintainers@forge.prov | |o.novell.com QAContact|jsrain@suse.com |qa-bugs@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Michael Andres <ma@suse.com> 2013-10-14 09:36:42 CEST --- Well, the short summary always displays package names only: The following package is going to be REMOVED: test_kernel 1 package to remove. No additional space will be used or freed after the operation. Continue? [y/n/?] (y): If you're in doubt, press '(d)etail' at the prompt and you'll get more info. This is also the default if you say 'zypper --verbose/-v': Continue? [y/n/?] (y): d The following package is going to be REMOVED: test_kernel B-2 noarch kernel_vendor_B 1 package to remove. No additional space will be used or freed after the operation. If the list gets too long, because too many packages are involved in the request (e.g on 'zypper dup'), press 'pa(g)er' for more convenient viewing. Pressing (?) will give you an overview about all prompt options available. I currently don't see the need to change this behavior. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c2 --- Comment #2 from Stefan Kost <ensonic@sonicpulse.de> 2013-10-14 13:57:28 UTC --- ??? 1.) "Continue? [y/n/?] (y):" no one is going to press 'd' here, right? 2.) "The following package is going to be REMOVED: test_kernel B-2 noarch kernel_vendor_B" Are "B-2 noarch kernel_vendor_B" deps of "test_kernel"? Otherwise that would be confusing. 3.) "No additional space will be used or freed after the operation." If a package gets removed, some space will be free, right? --- Anyway up, to you wheter you want to make this more user friendly or not. If a specific versions is given, I'd say it makes sense to also show that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c3 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|RESOLVED |REOPENED Resolution|INVALID | Severity|Normal |Enhancement --- Comment #3 from Michael Andres <ma@suse.com> 2013-10-14 17:11:14 CEST --- (In reply to comment #2)
"Continue? [y/n/?] (y):" no one is going to press 'd' here, right?
And it looks like no one presses '?' either. Maybe it should be "Continue? [y/n/? for more options] (y):" ? y - Yes, accept the summary and proceed ... n - No, cancel the operation. v - Toggle display of package versions. a - Toggle display of package architectures. r - Toggle display of repositories ... m - Toggle display of package vendor names. d - Toggle between showing all details and as few details as possible. g - View the summary in pager.
"The following package is going to be REMOVED: test_kernel B-2 noarch kernel_vendor_B"
Sorry, I should not have pasted test data. You see name, version, architecture and vendor for each package; and as the test_kernel package is a fake, it has zero size. I'll keep it as enhancement request. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c4 --- Comment #4 from Stefan Kost <ensonic@sonicpulse.de> 2013-10-14 18:06:41 UTC --- Thank you, it is appreciated. "? for more options" sounds like a good idea. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c5 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #5 from Michael Andres <ma@suse.com> 2013-10-16 11:30:18 CEST --- - The prompt was changed to "Continue? [y/n/? shows all options] (y):" - Zypper displays the version of packages to be deleted in the 'normal' summary, IF there is actually more than one version installed. So this does not depend on any commandline args, but applies to all multi-version packages. Fixed in Factory. Will be included in future updates: 13.1 zypper 1.9.3 12.3 zypper 1.8.18 12.2 zypper 1.7.15 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c6 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com --- Comment #6 from Ludwig Nussel <lnussel@suse.com> 2013-10-30 08:49:19 CET --- cosmetic changes like this at this point in the release cycle can break a full night of testing a build using openqa. the image matcher was looking for the old prompt. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> 2013-11-11 12:05:01 UTC --- openSUSE-RU-2013:1653-1: An update that has 5 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 575096,834376,844373,845619,846565 CVE References: Sources used: openSUSE 12.3 (src): libsolv-0.3.2-2.14.1, libzypp-12.16.1-1.21.2, zypper-1.8.18-1.14.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:planned:update -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c8 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:planned:update | | |maint:running:55603:moderat | |e --- Comment #8 from Swamp Workflow Management <swamp@suse.de> 2013-12-20 12:16:33 UTC --- The SWAMPID for this issue is 55603. This issue was rated as moderate. Please submit fixed packages until 2014-01-03. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/55603 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c9 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> 2014-01-07 11:04:31 UTC --- openSUSE-RU-2014:0026-1: An update that has 6 recommended fixes can now be installed. Category: recommended (low) Bug References: 844373,845619,846565,850907,852943,854784 CVE References: Sources used: openSUSE 12.2 (src): libzypp-11.13.3-2.33.1, zypper-1.7.16-1.28.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c10 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| | |maint:running:55603:moderat |maint:running:55603:moderat |e |e | |maint:released:sle11-sp2:55 | |604 --- Comment #10 from Swamp Workflow Management <swamp@suse.de> 2014-01-17 19:46:55 UTC --- Update released for: libzypp, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, zypper, zypper-debuginfo, zypper-debugsource, zypper-log Products: SLE-DEBUGINFO 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLE-DESKTOP 11-SP2 (i386, x86_64) SLE-SDK 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLE-SERVER 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP2 (i386, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c11 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| | |maint:running:55603:moderat |maint:running:55603:moderat |e |e |maint:released:sle11-sp2:55 |maint:released:sle11-sp3:55 |604 |605 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> 2014-01-17 19:52:48 UTC --- Update released for: libzypp, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, zypper, zypper-debuginfo, zypper-debugsource, zypper-log Products: SLE-DEBUGINFO 11-SP3 (i386, ia64, ppc64, s390x, x86_64) SLE-DESKTOP 11-SP3 (i386, x86_64) SLE-SDK 11-SP3 (i386, ia64, ppc64, s390x, x86_64) SLE-SERVER 11-SP3 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP3 (i386, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> 2014-01-17 23:04:32 UTC --- SUSE-YU-2014:0091-1: An update that has 7 YOU fixes can now be installed. Category: YOU (moderate) Bug References: 841473,844373,845619,846565,850907,852943,854784 CVE References: Sources used: SUSE Linux Enterprise Software Development Kit 11 SP3 (src): libzypp-9.37.4-0.7.2 SUSE Linux Enterprise Software Development Kit 11 SP2 (src): libzypp-9.16.4-0.5.2 SUSE Linux Enterprise Server 11 SP3 for VMware (src): libzypp-9.37.4-0.7.2, zypper-1.6.311-0.7.3 SUSE Linux Enterprise Server 11 SP3 (src): libzypp-9.37.4-0.7.2, zypper-1.6.311-0.7.3 SUSE Linux Enterprise Server 11 SP2 for VMware (src): libzypp-9.16.4-0.5.2, zypper-1.6.178-0.5.3 SUSE Linux Enterprise Server 11 SP2 (src): libzypp-9.16.4-0.5.2, zypper-1.6.178-0.5.3 SUSE Linux Enterprise Desktop 11 SP3 (src): libzypp-9.37.4-0.7.2, zypper-1.6.311-0.7.3 SUSE Linux Enterprise Desktop 11 SP2 (src): libzypp-9.16.4-0.5.2, zypper-1.6.178-0.5.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844373 https://bugzilla.novell.com/show_bug.cgi?id=844373#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| | |maint:running:55603:moderat |maint:released:sle11-sp3:55 |e |605 |maint:released:sle11-sp3:55 | |605 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com