yum -y update installs new software!?

Paul Howarth paul at city-fan.org
Fri Jan 28 11:57:32 UTC 2005


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.




More information about the fedora-list mailing list