Koozali.org: home of the SME Server

Transaction Check Error -- can't do yum upgrade.

Offline FreakWent

  • ****
  • 89
  • +0/-0
Transaction Check Error -- can't do yum upgrade.
« on: February 09, 2014, 02:18:56 AM »
Hi! Yum upgrade fails with:

Transaction Check Error:
  file /usr/share/man/man1/clambc.1.gz from install of clamd-0.98.1-4.el5.sme.i386 conflicts with file from package clamav-0.98-2.el5.rf.i386

I can't remove and clam* packages because yum then want's to remove all the things that depend on it, which is more-or-less everything, and that's bad.

How can I get around this problem where two packages claim the same file?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Transaction Check Error -- can't do yum upgrade.
« Reply #1 on: February 09, 2014, 02:46:37 AM »
FreakWent

"file /usr/share/man/man1/clambc.1.gz from install of clamd-0.98.1-4.el5.sme.i386 conflicts with file from package clamav-0.98-2.el5.rf.i386"

My fully updated sme 8.0 currently has
rpm -q clamav
clamav-0.98.1-4.el5.sme
rpm -q clamd
clamd-0.98.1-4.el5.sme

You need the same "version" of those two rpms (clamd & clamav) installed, & they should be the sme server variant

Do
rpm -e --nodeps clamav clamd

Then do
yum install clamav clamd

Then do
yum update

Always use the following with great care, & think through what you are doing & why you are doing it, BEFORE you actually issue the command.
rpm -e packagename
rpm -e --nodeps packagename

then use yum to install the removed package
yum install packagename1 packagename2

If there are two versions (or differing versions) of packages installed, then (usually) remove the older one
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline FreakWent

  • ****
  • 89
  • +0/-0
Re: Transaction Check Error -- can't do yum upgrade.
« Reply #2 on: February 09, 2014, 09:07:33 PM »
All fixed, thank you so much.