Feature changed by: John Thomas
Feature #305305, revision 4
Title: 1-click uninstall
openSUSE-11.2: Evaluation
Requested by: Michael Loeffler (sprudel24)
Partner organization: openSUSE.org
Description:
An easy way to remove Software! For example: you installed an
application with "1-click install" (which will install all the packages
that you need), there should be an easy way (also with 1 click) to
remove what you have installed with that 1-click operation... in
another words: an "1-click Uninstall" to remove installed software
(dependencies and packages included).
Discussion:
#1: Marek Stopka (m4r3k) (2008-09-16 17:56:55)
This need support in libzypp... First needed feature is history of
installation... should be ready before 11.1 release, but fully support
will not be done before release, as far as I know...
Imagine.. why we need history of installation
You will install package fooA which need libfooA and libfooB. With
installation of fooA, libfooA will be installed and libfooB will not be
installed because it is already installed because user type zypper
install libfooB before (he is a developer and libfooB is needed for his
program which is not handled via package management).
Now when you want remove all packages which was installed with fooA you
can't tell if you should remove fooA, libfooA and libfooB or only fooA,
libfooA, because you don't know (at this point) if libfooB was
installed as fooA dependency or not..
So we need history of installation, after that it is just about solving
dependency graph with sat solver.
But 11.2 sounds realistic, I guess...
This should not be only a 1-click install/uninstall feature, this
should be implemented in libzypp as "remove_unneeded_dependency" and
here should be possibility to do this clean up by 1-click uninstall,
zypper and yast. It also should be configurable in /etc/zypp/zypp.conf
so zypper, 1-click uninstall and YaST can remove all unneeded
dependency automaticky. But when it is forbidden in configuration file
user still can click on button in YaST (1-click uninstall can ask user
during every uninstallation, if not configured as "remove every
unneeded dependency automatically"), or just type zypper clean-my-mess :
-) (maybe more smart name for this action :-) )
#2: Jan-Simon Möller (dl9pf) (2008-09-17 09:58:22)
Good point, Marek! This is the way to go. Just a note/question:
* can we already detect what 1-click-packages are installed?
* if yes: we could for now show a list of the 1-click-packages itself
and remove them (for now without the dependencies - I know, this is
windoze-like)
+ #3: John Thomas (john_tomas) (2009-01-06 17:39:16)
+ so... isn't this what's missing:
+ http://en.opensuse.org/Testing:Features_11.1#Package_history_.28Feature_No:_...
+ ???
--
openSUSE Feature:
https://features.opensuse.org/?rm=feature_show&id=305305