[packagekit] RFC - easy install/remove

Duncan Mac-Vicar Prett dmacvicar at suse.de
Tue Nov 18 01:28:34 PST 2008


David Timms wrote:
> While there are times when it could work consider this example:
> - install dvbcut {requires ffmpeg and mplayer amongst others}; installs 
> dvbcut + ffmpeg (libs) + mplayer (media player that is used to play back 
> content within the dvbcut window).
>
> - uses dvbcut; it works, it's nice etc.
>
> - since mplayer got installed, user now has an icon for mplayer in the menu
>
> - starts using mplayer - standalone, likes it but didn't really notice 
> the reason why the mplayer icon exists
>
> - decides to remove dvbcut since he isn't using it anymore.
>
> Can you think of a way in which the package manager can just know that 
> it should _not_ remove mplayer (since the user is still actively using it} ?
>   
Your example is really good, because with a simple algorithm using
transaction origin, mplayer would be marked by solver, and therefore
uninstallable.

Duncan




More information about the PackageKit mailing list