FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
YUM - disable certain packages from updating
I manually downloaded and installed the new OpenOffice 2.3.1. The version originally installed is 2.0. Every time I run the OpenOffice 2.3.1 setup, it installs fine, but then YUM/PUP will pop up telling me there is an "update". It wants to revert back to the old OpenOffice 2.0. How do I tell YUM to get rid of the OpenOffice 2.0 in its database? I have tried uninstalling 2.0 from YUM, installing the new OpenOffice 2.3.1, but the "update" comes right back wanting to go back to OpenOffice 2.0.
I manually downloaded and installed the new OpenOffice 2.3.1. The version originally installed is 2.0. Every time I run the OpenOffice 2.3.1 setup, it installs fine, but then YUM/PUP will pop up telling me there is an "update". It wants to revert back to the old OpenOffice 2.0. How do I tell YUM to get rid of the OpenOffice 2.0 in its database? I have tried uninstalling 2.0 from YUM, installing the new OpenOffice 2.3.1, but the "update" comes right back wanting to go back to OpenOffice 2.0.
What install method did you use for OpenOffice 2.3.1? I have had similar problems in the past when I installed packages outside of the package manager system (yum in Fedora). The best solution that I ever came up with was to create a rpm package and install it using the rpm command.
In other words if you are compiling OpenOffice 2.3.1 from source then use checkinstall to create a rpm package. Then use yum or the rpm command to uninstall Openoffice 2.0. Then install the OpenOffice 2.3.1 rpm package using the rpm command or you might be able to talk yum into installing a local rpm package. Hopefully this will set up things in the rpm data base to where yum understands that 2.3.1 is the latest version.
If Fedora does not have checkinstall available you can get it here:
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
When I downloaded the OpenOffice 2.3.1 tarball, it came with a setup file which linked to an RPM folder.
problem solved! I uninstalled the packages and instead used the rpm -ivh command to install the RPM's and now YUM doesn't bug me anymore about "updates". Previously I was doing rpm -Uvh. Guess it makes a difference.
I know you already resolved your problem, but for anyone else who is interested, to exclude packages from being updated, you can edit /etc/yum.conf and add an exclude like e.g.
Code:
exclude=openoffice*
Last edited by reddazz; 01-13-2008 at 09:51 PM.
Reason: typo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.