Home_greyopenFATE - openSUSE feature tracking > #313233
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Get Zypper to remove installed patterns

Feature state

openSUSE Distribution
Unconfirmed

Description

Get Zypper to remove a pattern.
Zypper can install a pattern nut when going to remove that same pattern, Zypper does not remove that pattern... When do a:
"zypper rm -t pattern <pattern name>"
Zypper, just tells you:
"Uninstallation of a pattern is currently not defined and implemented."
You CAN remove a pattern in YaST so I would think that there should be a way to remove the pattern with Zypper.

"yum groupremove <group name>" works on Fedora/CentOS/RHEL... we should really have this working to keep up with them.

Usecase

If I build a bare openSUSE image on SUSE Studio, and I decide not to install yast and only Zypper... I will only be able to install patterns but NO way to remove it.

Discussion


icons/user_comment.png M. S. wrote: (6 years ago)

Patterns are actually implemented with packages in openSUSE, so you can remove them. E.gg, to remove the "openSUSE-office" pattern use:
zypper rm --clean-deps patterns-openSUSE-office
(--clean-deps may remove a bit too much currently because of a bug already fixed in factory, so check the summary before pressing 'y'...)

AFAIK yast does something different: it simply removes all packages in the "content" of the pattern. This doesn't work if packages are referenced by more than one pattern.

icons/user_comment.png G. C. wrote: (23 months ago)

Discussion on zypper remove -t pattern[1];
Feature request zypper: provide a way to remove a pattern[2]

[1] https://forums.opensuse.org/showthread.php/396891-zypper-remove-t-pattern
[2] https://bugzilla.novell.com/show_bug.cgi?id=407040

Last change: 23 months ago
Voting
Score: 9
  • Negative: 1
  • Neutral: 0
  • Positive: 10
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint