Re: depenancy problem: prevent yum from downloading a package I already have



Rahul wrote:
I just tried a "yum install octave" (http://www.gnu.org/software/octave/)

Although I have a working gnuplot on my system yum insists on trying to redownload and install it. Any way to prevent this? (I know that the yum default gnuplot that RHEL ships was obsolete so I had installed gnuplot manually from source after doing a 'yum remove gnuplot')


********************************************
Dependencies Resolved

===========================================================================
==
Package Arch Version Repository Size ===========================================================================
==
Installing:
octave i386 6:3.0.0-2.el5 epel 12 M
Installing for dependencies:
fftw3 i386 3.1.2-5.el5 epel 898 k
glpk i386 4.20-2.el5 epel 737 k
gnuplot i386 4.0.0-12 rhel-i386-server-5 1.3 M


Because you installed from source, yum has no idea that gnuplot is installed. Consider uninstalling the source-built package and updating to an RPM installation, even one built from a Fedora SRPM, or download and install the other packages manually and do a forced installation.

And do note that if you just casually mix and match components from the latest source tarballs with RPM components, you may run into some nasty and undetected dependency and interactions which you can be the very excited first person to encounter.
.



Relevant Pages

  • RE: FC5 - T3 - Had enough. Package Managers, Yumex is crap.
    ... install/update a huge number of packages would stress things out too ... Run "yum update yum". ... Say FC4, where you install it new, then ... dependencies, something that is a major bugbear in Linux that I've not ...
    (Fedora)
  • yum localupdate weirdness on x86_64
    ... I'm trying to install FC6 for x86_64 on my notebook (this is not going ... yum localupdate *.rpm ... but that didn't work well when updated packages had new dependencies.) ...
    (Fedora)
  • Re: dvdrip
    ... | yum install dvdrip-0.98.8-2.fc8.i386, ... | so yum will resolve all the dependencies it needs to finally install ... Missing Dependency: transcode>= 0.6.13 ...
    (Fedora)
  • Re: Forcing YUM to install devel packages
    ... > manually install the current development version 2.1.4, ... > the dependencies list I quickly changed my mind. ... but would like to return to Evolution. ... dependencies, and want to use YUM, but the package you want to install ...
    (Fedora)
  • yum and multiple architectures... more pain!
    ... More nightmares trying to remove a devel package from Fedora 8 on PS3. ... Why does yum want to remove all those ppc devel packages when I ask to remove a ppc64 devel? ... Dependencies Resolved ... Setting up Install Process ...
    (Fedora)