0

If I install a piece of software using Yum, and then upgrade that software building from source, how do I tell Yum to not overwrite the source built software the next time Yum sees an 'upgrade' for the software?

Can I tell yum that it was manually uninstalled so that it thinks the yum installed version is no longer there?

I don't want to yum uninstall the software first and then build because I want to keep the service scripts and auxiliary things from the yum package

3 Answers 3

1

Found a manual(Careful its pdf) from Red-Hat regarding yum. Your targets should be yum check or yum history.

With yum history you can view and edit your yum database.

1

If you don't want to touch the package you have installed you simply add it on the exclude list on /etc/yum.conf

So, if for example the package you want to ignore is httpd then you add the following to /etc/yum.conf after the [main] section

[main]
exclude=httpd*

Depending on the package you may want to add an * after the package name to match any packages starting with that name.

0

Looks like either installonlypkgs or exclude in yum.conf will do the job

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .