Mailinglist Archive: zypp-devel (62 mails)

< Previous Next >
Re: [zypp-devel] Automatic removal of orphan depencencies
On 20:52 Mon 15 Dec , Paolo Tuninetto wrote:
Hi all,
I'm new to this mailing list and also I don know anything about zypp
development. I'm also new to openSUSE, so you may think "what the xxxx
are you doing here?".

I try to explain...
IMHO one of the most annoying missing feature in the openSUSE package
management (afaik, YaST and zypper) is that once a user installs a
package (i.e. in order to test it), the package management
automagically checks for missing dependencies and find all libraries
that are required but not yet installed and install them. This is
cool, The missing feature is that when the user uninstalls the package
all the installed dependencies are left there... there is no help in
finding where are such orphan packages.
First of all... is it true? Is there no way to "cleanup" such
dependencies? Something that is doing the work "apt-get autoremove" is
doing in Ubuntu Systems.

If it is not currently possible... why not make it so?

Looking on the net I found the following links:
* https://bugzilla.novell.com/show_bug.cgi?id=425890 looks like there
is a feature request related to this stuff. I wrote down some ideas on
how this feature can be implemented.
* http://opensuse.awardspace.com/ where John Thomas started putting
down some YaST mockups with some other ideas.

Is there someone working on this? May I help in some way? Where can I
find documentation on how openSUSE package management works?

Ciao,
Paolo

hi guys,

i'm also noob here, beg your pardon if my words below are useless.

A) don't think that we should implement a kind of "apt-get autoremove"
because it can raise a lot of more issues to the particular User then
benefits

B) the idea which is right within the reach is to create the "snapshots"
which should contain a simple list of installed packages at the time of
the command execution with the possibility to roll-back to the chosen
"snapshot" at User's will. it's clear that algorithm could be like this:

1) check names of currently installed packages
2) compare with the names stored in "snapshot"
3) install missing names if any (those that doesn't exist now but were
stored in snapshot)
4) rpm -e --nodeps {list of all packages not mentioned in a snapshot}

suppose that it's easy to implement and this option could be useful for
some of us. also let me point that i don't see any sense to store
packages versions or anything other than "names" - updates are on the
way and may be such "snapshots" could be useful to transfer/distribute
between different openSUSE versions.

hope you like the idea :)

regards,
sda
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References