I suppose it's more of a frustration with myself, but can some kind soul please help me with the procedure to tell yum a package is in fact installed? Here is the output from the command "yum update".
# yum update Setting up Update Process Setting up repositories kbs-CentOS-Extras 100% |=========================| 951 B 00:00 kbs-CentOS-Misc 100% |=========================| 951 B 00:00 update 100% |=========================| 951 B 00:00 rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kernel-devel.i686 0:2.6.9-67.0.7.EL set to be installed ---> Package kernel.i686 0:2.6.9-67.0.7.EL set to be installed ---> Package tzdata.noarch 0:2007k-2.el4 set to be updated ---> Package krb5-devel.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package krb5-workstation.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package clamav-data.i386 0:0.88.2-2.el4.kb set to be updated ---> Package clamav-server.i386 0:0.88.2-2.el4.kb set to be updated ---> Package krb5-libs.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package kernel-hugemem-devel.i686 0:2.6.9-67.0.7.EL set to be updated ---> Package kernel-smp-devel.i686 0:2.6.9-67.0.7.EL set to be updated ---> Package lftp.i386 0:3.7.0-1.el4.rf set to be updated ---> Package evolution.i386 0:2.0.2-35.0.4.el4_6.1 set to be updated --> Running transaction check --> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamav-lib = 0.88.2-2.el4.kb for package: clamav-server --> Processing Dependency: libclamav.so.1 for package: clamav-server --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package clamav-lib.i386 0:0.88.2-2.el4.kb set to be updated --> Running transaction check --> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Finished Dependency Resolution Error: Missing Dependency: clamav-db = 0.92.1-1.el4.rf is needed by package clamav Error: Missing Dependency: clamd = 0.92.1-1.el4.rf is needed by package clamav-milter
As you can see in the last two lines, clamav-db and clamd appear to be missing, but I assure you, clamav-milter and clamav as well as the database are here, and running quite well. I even went so far as to do an erase of both, and both times, yum shows them as being installed. Of course I did not erase them, but if it finds them to be installed, why does it say they are missing during an update attempt?
I'm off the digest currently, so I can more quickly respond with further info if needed.
Thanks..
Sam
On Mon, Mar 24, 2008 at 11:32 AM, Sam Drinkard sam@wa4phy.net wrote:
I suppose it's more of a frustration with myself, but can some kind soul please help me with the procedure to tell yum a package is in fact installed? Here is the output from the command "yum update".
--> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamav-lib = 0.88.2-2.el4.kb for package: clamav-server --> Processing Dependency: libclamav.so.1 for package: clamav-server --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package clamav-lib.i386 0:0.88.2-2.el4.kb set to be updated --> Running transaction check --> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Finished Dependency Resolution Error: Missing Dependency: clamav-db = 0.92.1-1.el4.rf is needed by package clamav Error: Missing Dependency: clamd = 0.92.1-1.el4.rf is needed by package clamav-milter
As you can see in the last two lines, clamav-db and clamd appear to be missing, but I assure you, clamav-milter and clamav as well as the database are here, and running quite well. I even went so far as to do an erase of both, and both times, yum shows them as being installed. Of course I did not erase them, but if it finds them to be installed, why does it say they are missing during an update attempt?
I'm off the digest currently, so I can more quickly respond with further info if needed.
Okay. Take a look at clamav-db = 0.92.1-1.el4.rf for package: clamav then look at clamav-lib = 0.88.2-2.el4.kb for package: clamav-server
One is from the kbs repo, and one is from rpmforge. Mostly, you're mixing similar packages from different repositories. This is a bad thing, and the reason for the existence of priorities, and protectbase plugins, as well as include/exclude statements on a per repository basis.
Jim Perrin wrote:
On Mon, Mar 24, 2008 at 11:32 AM, Sam Drinkard sam@wa4phy.net wrote:
I suppose it's more of a frustration with myself, but can some kind soul please help me with the procedure to tell yum a package is in fact installed? Here is the output from the command "yum update".
--> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamav-lib = 0.88.2-2.el4.kb for package: clamav-server --> Processing Dependency: libclamav.so.1 for package: clamav-server --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package clamav-lib.i386 0:0.88.2-2.el4.kb set to be updated --> Running transaction check --> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Finished Dependency Resolution Error: Missing Dependency: clamav-db = 0.92.1-1.el4.rf is needed by package clamav Error: Missing Dependency: clamd = 0.92.1-1.el4.rf is needed by package clamav-milter
As you can see in the last two lines, clamav-db and clamd appear to be missing, but I assure you, clamav-milter and clamav as well as the database are here, and running quite well. I even went so far as to do an erase of both, and both times, yum shows them as being installed. Of course I did not erase them, but if it finds them to be installed, why does it say they are missing during an update attempt?
I'm off the digest currently, so I can more quickly respond with further info if needed.
Okay. Take a look at clamav-db = 0.92.1-1.el4.rf for package: clamav then look at clamav-lib = 0.88.2-2.el4.kb for package: clamav-server
One is from the kbs repo, and one is from rpmforge. Mostly, you're mixing similar packages from different repositories. This is a bad thing, and the reason for the existence of priorities, and protectbase plugins, as well as include/exclude statements on a per repository basis.
Jim,
Thanks for pointing that out. I had not even noticed the differences. When I installed clamav and everything, I let yum do it, so I just assumed it would pull in all the right pieces. I know not to mix repositories, so I'm at a loss how this happened. I assume now I have to install the correct clamav package and clamav-db? What would best practices do - remove the earlier version and start over? It's been quite a while since I did any stuff on the machine, as it just runs and works as it's supposed to do, but I see now I need to start playing catch-up.
Thanks..
Sam
Sam Drinkard wrote:
One is from the kbs repo, and one is from rpmforge. Mostly, you're mixing similar packages from different repositories. This is a bad thing, and the reason for the existence of priorities, and protectbase plugins, as well as include/exclude statements on a per repository basis.
Thanks for pointing that out. I had not even noticed the differences. When I installed clamav and everything, I let yum do it, so I just assumed it would pull in all the right pieces. I know not to mix repositories, so I'm at a loss how this happened. I assume now I have to install the correct clamav package and clamav-db? What would best practices do - remove the earlier version and start over? It's been quite a while since I did any stuff on the machine, as it just runs and works as it's supposed to do, but I see now I need to start playing catch-up.
I'd make sure all the 3rd party repos are disabled in their /etc/yum.repos.d files, do an 'rpm -e ...' of any questionable packages, then do a 'yum --enablerepo=reponame install package1 package2...' so you can group the specific sets together from the same repo. That doesn't guarantee it will come out right but at least it gives a hint about what you want to happen.
On Monday 24 March 2008 18:59:59 Les Mikesell wrote:
Sam Drinkard wrote:
One is from the kbs repo, and one is from rpmforge. Mostly, you're mixing similar packages from different repositories. This is a bad thing, and the reason for the existence of priorities, and protectbase plugins, as well as include/exclude statements on a per repository basis.
Thanks for pointing that out. I had not even noticed the differences. When I installed clamav and everything, I let yum do it, so I just assumed it would pull in all the right pieces. I know not to mix repositories, so I'm at a loss how this happened. I assume now I have to install the correct clamav package and clamav-db? What would best practices do - remove the earlier version and start over? It's been quite a while since I did any stuff on the machine, as it just runs and works as it's supposed to do, but I see now I need to start playing catch-up.
I'd make sure all the 3rd party repos are disabled in their /etc/yum.repos.d files, do an 'rpm -e ...' of any questionable packages, then do a 'yum --enablerepo=reponame install package1 package2...' so you can group the specific sets together from the same repo. That doesn't guarantee it will come out right but at least it gives a hint about what you want to happen.
I would also back to a separate directory up any configuration files for the software you are about to re-install especially if they are not default configuration files. That way you can always compare before and after settings. Regards John
On Monday 24 March 2008, Sam Drinkard wrote:
I suppose it's more of a frustration with myself, but can some kind soul please help me with the procedure to tell yum a package is in fact installed? Here is the output from the command "yum update".
# yum update Setting up Update Process Setting up repositories kbs-CentOS-Extras 100% |=========================| 951 B 00:00 kbs-CentOS-Misc 100% |=========================| 951 B 00:00 update 100% |=========================| 951 B 00:00 rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kernel-devel.i686 0:2.6.9-67.0.7.EL set to be installed ---> Package kernel.i686 0:2.6.9-67.0.7.EL set to be installed ---> Package tzdata.noarch 0:2007k-2.el4 set to be updated ---> Package krb5-devel.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package krb5-workstation.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package clamav-data.i386 0:0.88.2-2.el4.kb set to be updated ---> Package clamav-server.i386 0:0.88.2-2.el4.kb set to be updated ---> Package krb5-libs.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package kernel-hugemem-devel.i686 0:2.6.9-67.0.7.EL set to be updated ---> Package kernel-smp-devel.i686 0:2.6.9-67.0.7.EL set to be updated ---> Package lftp.i386 0:3.7.0-1.el4.rf set to be updated ---> Package evolution.i386 0:2.0.2-35.0.4.el4_6.1 set to be updated --> Running transaction check --> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamav-lib = 0.88.2-2.el4.kb for package: clamav-server --> Processing Dependency: libclamav.so.1 for package: clamav-server --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package clamav-lib.i386 0:0.88.2-2.el4.kb set to be updated --> Running transaction check --> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Finished Dependency Resolution Error: Missing Dependency: clamav-db = 0.92.1-1.el4.rf is needed by package clamav Error: Missing Dependency: clamd = 0.92.1-1.el4.rf is needed by package clamav-milter
As you can see in the last two lines, clamav-db and clamd appear to be missing, but I assure you, clamav-milter and clamav as well as the database are here, and running quite well. I even went so far as to do an erase of both, and both times, yum shows them as being installed. Of course I did not erase them, but if it finds them to be installed, why does it say they are missing during an update attempt?
The problem is that you are mixing repositories that provide different versions of the same package which is impossible to sanely support. the easiest way would be to temporarily disable one repo and run your update again.
Dennis
Dennis Gilmore wrote:
On Monday 24 March 2008, Sam Drinkard wrote:
I suppose it's more of a frustration with myself, but can some kind soul please help me with the procedure to tell yum a package is in fact installed? Here is the output from the command "yum update".
# yum update Setting up Update Process Setting up repositories kbs-CentOS-Extras 100% |=========================| 951 B 00:00 kbs-CentOS-Misc 100% |=========================| 951 B 00:00 update 100% |=========================| 951 B 00:00 rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kernel-devel.i686 0:2.6.9-67.0.7.EL set to be installed ---> Package kernel.i686 0:2.6.9-67.0.7.EL set to be installed ---> Package tzdata.noarch 0:2007k-2.el4 set to be updated ---> Package krb5-devel.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package krb5-workstation.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package clamav-data.i386 0:0.88.2-2.el4.kb set to be updated ---> Package clamav-server.i386 0:0.88.2-2.el4.kb set to be updated ---> Package krb5-libs.i386 0:1.3.4-54.el4_6.1 set to be updated ---> Package kernel-hugemem-devel.i686 0:2.6.9-67.0.7.EL set to be updated ---> Package kernel-smp-devel.i686 0:2.6.9-67.0.7.EL set to be updated ---> Package lftp.i386 0:3.7.0-1.el4.rf set to be updated ---> Package evolution.i386 0:2.0.2-35.0.4.el4_6.1 set to be updated --> Running transaction check --> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamav-lib = 0.88.2-2.el4.kb for package: clamav-server --> Processing Dependency: libclamav.so.1 for package: clamav-server --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package clamav-lib.i386 0:0.88.2-2.el4.kb set to be updated --> Running transaction check --> Processing Dependency: clamav-db = 0.92.1-1.el4.rf for package: clamav --> Processing Dependency: clamd = 0.92.1-1.el4.rf for package: clamav-milter --> Finished Dependency Resolution Error: Missing Dependency: clamav-db = 0.92.1-1.el4.rf is needed by package clamav Error: Missing Dependency: clamd = 0.92.1-1.el4.rf is needed by package clamav-milter
As you can see in the last two lines, clamav-db and clamd appear to be missing, but I assure you, clamav-milter and clamav as well as the database are here, and running quite well. I even went so far as to do an erase of both, and both times, yum shows them as being installed. Of course I did not erase them, but if it finds them to be installed, why does it say they are missing during an update attempt?
The problem is that you are mixing repositories that provide different versions of the same package which is impossible to sanely support. the easiest way would be to temporarily disable one repo and run your update again.
Dennis _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dennis,
As Jim just pointed out to me, I was unaware of the mixing.. I'll see what else I can muck up while trying to fix this :)
Thanks..
Sam
On Monday 24 March 2008 18:43:43 Sam Drinkard wrote:
As Jim just pointed out to me, I was unaware of the mixing.. I'll see what else I can muck up while trying to fix this :)
I'm surprised that no-one mentioned the skip-broken plugin. You'd still have to sort out your clamav problem, but you wouldn't have the whole update stopped because of it. Everything apart from clamav and its associated packages would be installed.
Anne