yum -y update installs new software!?

Vinicius cviniciusm at terra.com.br
Fri Jan 28 14:22:31 UTC 2005


Paul Howarth escreveu:
> Vinicius wrote:
> 
>> Markku Kolkka escreveu:
>>
>>> Vinicius kirjoitti viestissään (lähetysaika perjantai, 28. tammikuuta 
>>> 2005 04:33):
>>>
>>>> Did they were installed to satisfy some dependencies? How I
>>>> get this information, please?
>>>
>>>
>>>
>>>
>>> Don't use the "-y" flag in yum update. Then it shows which new 
>>> packages will be installed to satisfy dependencies in updates.
>>>
>>
>> That occurred by the nightly yum by the cron.
> 
> 
> If you have a package "strangepackage" and you want to know what depends 
> on it, run, as a regular user (not root):
> 
> $ rpm -e strangepackage
> 
> If any other installed package depends on this one, you'll get an error 
> message telling you what the dependency is. If not, you'll get an error 
> message saying you don't have permission to remove the package ("error: 
> can't create transaction lock"), because you're not running as root. So 
> this way you find out what the dependencies are without removing the 
> package. You can then decide if you want to remove the package for real 
> or not.
> 
> Paul.
> 

Good tip, thanks!




More information about the users mailing list