Bug 456392

Summary: yast2 --remove doesn't mark packages for removal if version is provided
Product: [openSUSE] openSUSE 11.2 Reporter: James Ogley <riggwelter>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: i686   
OS: SUSE Other   
URL: http://jamesthevicar.com/index.cgi/1228390052rpm_help_required_and_yast_zypper_functionality_separation.jtv
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs

Description James Ogley 2008-12-04 11:35:20 UTC
The output of rpm -qf filename is package-name-VERSION-RELEASE.
zypper remove package-name-VERSION-RELEASE works but yast2 --remove package-name-VERSION-RELEASE does not mark that package for removal - you have to just do yast2 --remove package-name.

It seems to me that the zypper behaviour is correct.
Comment 1 Cyril Hrubis 2008-12-04 15:21:51 UTC
Please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 2 James Ogley 2008-12-04 16:28:16 UTC
Created attachment 258072 [details]
y2logs
Comment 3 Ladislav Slezák 2008-12-05 07:55:44 UTC
This behavior is described in the help text (see 'yast2 --help'), use zypper if you need to remove a package with version number.