How to force yum to uninstall a package when you change it’s name

By Joao

Use the obsoletes tag in the specfile. This will cause “package-oldname” to be uninstalled before installing “package-renamed”.


Name: package-renamed
Obsoletes: package-oldname

categoriaTechnology commento1 Comment dataOctober 29th, 2009
Read All

Common yum commands

By Joao

List available repositores
yum repolist
Search by package name (case insensitive)
yum list "*package*"
List files inside a repository package (regardless if that package has been installed)
repoquery --list <PACKAGE_NAME>

categoriaTechnology commentoNo Comments dataOctober 13th, 2009
Read All