|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper remove gives wrong message when removing a versioned package | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.2 | Reporter: | Stefan Sauer <ensonic> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Enhancement | ||
| Priority: | P3 - Medium | CC: | lnussel, suse-beta |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | maint:released:sle11-sp3:55605 | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Deadline: | 2014-01-03 | ||
|
Description
Stefan Sauer
2013-10-07 21:14:17 UTC
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.
???
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.
(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. Thank you, it is appreciated. "? for more options" sounds like a good idea. - 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 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. 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 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 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 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) 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) 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 |