What’s the command to remove obsulete packages?
Those packages are not needed as dependencies of other packages.
During installing a package many packages/libraries are installed as dependencies.
After removing that package the packages/libraries are in partition.
Now what’s the way to remove those unnecessary libraries?
Some orphaned packages may develop.
They appear in Yast with red text and no provider when viewing the version tab. These can be safely removed in most cases, but you need to know for sure.
otherwise you must remove them manually…and, as noted in many other
posts on this subject it is very often better to leave them alone
because most don’t take so much space and unlike other operating
systems will now slow the system one bit…
On Fri, 02 Jul 2010 13:41:45 +0000, colao wrote for a reply:
> caf4926;2183805 Wrote:
>> You are probably better leaving well alone.
>>
>> Some orphaned packages may develop.
>> They appear in Yast with red text and no provider when viewing the
>> version tab. These can be safely removed in most cases, but you need to
>> know for sure.
> I’m searching a zypper command to do that. yast and removing
> individually is not the option.
There is an OpenSuse package that locates orphaned Rpmorphan.
You can use it to locate true orphan packages but make sure you double
check the found packages are orphaned. Test each uninstall by using the
dry-run option if using zypper. YaST2 Software Management should list
any other packages affected by before uninstalling the orphan.
> colao wrote:
> > I’m searching a zypper command to do that.
> > yast and removing individually is not the option.
>
> that command does not exist…
>
> but, if it doesn’t already exist, you are welcome to add a feature
> request to http://features.opensuse.org/
The gtk yast package-manager in 11.3 does it >:-P
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))