Koozali.org: home of the SME Server

HylaFax - Yum and dungog - Installation Fails

Offline MarkR

  • ***
  • 56
  • +0/-0
HylaFax - Yum and dungog - Installation Fails
« on: September 06, 2007, 04:58:00 PM »
Hi all,

I am trying to install HylaFax via yum and the dungog repository but keep getting the following error

Transaction Check Error:   file /etc/hylafax/etc conflicts between attempted installs of smeserver-hylafax-0.9-5.el4.sme and hylafax-4.3.4-1rhel4

If anyone can shed a little light on this it would be much appreciated

thanks
mark
...

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: HylaFax - Yum and dungog - Installation Fails
« Reply #1 on: September 07, 2007, 01:52:46 AM »
Install everything except the smeserver-hylafax, then install smeserver-hylafax and it will work.  I think I have a fix for it, but I need to test it first.

Good Luck,

John
......


Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: HylaFax - Yum and dungog - Installation Fails
« Reply #3 on: September 10, 2007, 05:51:13 AM »
http://bugs.contribs.org/show_bug.cgi?id=3326

The fix is to remove the two files being copied to /etc/hylafax/etc and copy them to the symlinked directory of /var/spool/hylafax/etc, and change the spec file to update the permissions of mailfax so that they point to the new directory.  This has corrected the error on my tests.  I didn't create a patch, I just rolled a new rpm as that is what seems to have been done in the past.  You want me to post the new src rpm to the bug, or attempt to mzrm the spec and old src and mzadd the new ones?

John
......

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: HylaFax - Yum and dungog - Installation Fails
« Reply #4 on: September 10, 2007, 06:07:07 AM »
thanks john,
first option is to make a patch, i try to do that now
but you can mzrm and mzadd the src if you prefer
just edit the spec

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: HylaFax - Yum and dungog - Installation Fails
« Reply #5 on: September 13, 2007, 03:27:30 AM »
OK, I committed a fix today that worked for my install.  I am now able to yum install all of the files without getting an error.

* Wed Sep 12 2007 John H. Bennett III <bennettj@johnbennettservices.com> 0.9-6
- Patch to move the files that were being copied to
  /etc/hylafax/etx to var/spool/hylafax/etc/ so that
  a yum install will install all RPM's without any errors
- Modify spec file to change directory where the permissions
  are applied to for mailfax
......