[Mageia-dev] Task-obsolete and non-sense obsoletes

andre999 andre999mga at laposte.net
Wed Aug 8 07:35:54 CEST 2012


Olivier Blin a écrit :
> Colin Guthrie<mageia at colin.guthr.ie>  writes:
>
>    
>> 'Twas brillig, and Christiaan Welvaart at 07/08/12 12:54 did gyre and
>> gimble:
>>      
>>> The package manager (urpmi) can also notify people because it sees which
>>> installed packages are not in the configured repositories. Zypper even
>>> removes such packages automatically. This would give users the choice to
>>> keep an 'obsolete' package installed, while that choice doesn't exist
>>> with task-obsolete.
>>>        
>> urpmq --not-available?
>>      
> This would also remove packages installed from third-party vendors,
> there are still some proprietary RPM packages out there.
>
> There is also this command:
> urpmi_rpm-find-leaves -g
>
> It finds unused library packages, or actually unused packages in the
> System/Libraries group. But there are quite a few false-positive
> results, because of packages incorrectly using System/Libraries as
> group.
>    

Tried it.
Being cautious, I left about 10 of the 50 or so packages listed.  Most 
listed were obviously useless, but otherwise hard to find.  Used 
rpmdrake to see their descriptions and remove them.
Some of the packages seemed to be used by others, if I'm not mistaken.  
Maybe by suggests ?

For everyone's info, -g alone scans System/Libraries.
Using -g {group} will scan whatever other group.

In sum, a useful tool if used cautiously.
A lot better than task-obsoletes or whatever else that would remove 
packages indiscriminately and/or automatically.

-- 
André



More information about the Mageia-dev mailing list