PacketFence - BTS - PacketFence
View Issue Details
0001319PacketFencecorepublic2011-10-25 20:442011-11-21 12:05
duxklr 
obilodeau 
normalminoralways
closedfixed 
3.0.2 
3.0.33.0.3 
87f76d1f1362ffdfd250b0bfa4e1d44cf716be55
0001319: Does not install on RedHat 6.1 without modifications.
When attempting to install PF 3.0.2 on RHEL6.1 it fails without the following changes:


PacketFence Repo
===================
In the configuration file: /etc/yum.repos.d/PacketFence.repo

The following line:

    baseurl=http://inverse.ca/downloads/PacketFence/RHEL$releasever/$basearch [^]

Needs to be changed to:

    baseurl=http://inverse.ca/downloads/PacketFence/RHEL6/$basearch [^]

If you don't change this, the REPO URL is expanded out to:

    http://inverse.ca/downloads/PacketFence/RHEL6Server/x86_64 [^]

Based on the following website: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Using_Yum_Variables.html [^]

The $releasever can be set in the /etc/yum.conf by setting: distroverpkg=value, if this value is blank it defaults back to the version that is listed in the: `yum info redhat-release-server`. In my case it is set to:

    Version : 6Server



Dependency Problems (Part 1 - RHEL6 Channel)
=================================================

You must enable the optional software in RHEL6:

    spacewalk-channel --add -c rhel-x86_64-server-optional-6


Without this repo enabled you get the following dependency problems:

Error: Package: packetfence-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl-YAML
Error: Package: packetfence-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl-rrdtool
Error: Package: packetfence-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl-Readonly
Error: Package: perl-MIME-Lite-TT-0.02-1.el6.rf.noarch (rpmforge)
           Requires: perl(Template)
Error: Package: perl-Net-Appliance-Session-1.36-1.el6.rf.noarch (rpmforge)
           Requires: perl(Net::Telnet)
Error: Package: packetfence-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl-Template-Toolkit
Error: Package: packetfence-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl(Readonly::XS)
Error: Package: packetfence-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl-SOAP-Lite
Error: Package: perl-Exception-Class-1.29-1.1.el6.noarch (epel)
           Requires: perl(Devel::StackTrace) >= 1.20
Error: Package: packetfence-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl(JSON)
Error: Package: packetfence-freeradius2-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl-SOAP-Lite
Error: Package: packetfence-3.0.2-1.el6.noarch (PacketFence)
           Requires: perl-Net-Telnet
Error: Package: perl-Data-Phrasebook-Loader-YAML-0.09-1.el6.rf.noarch (rpmforge)
           Requires: perl(YAML)
Error: Package: perl-Log-Log4perl-1.30-1.el6.noarch (epel)
           Requires: perl(RRDs)




Dependency Problems (Part 2 - RPM Forge)
=================================================

You must install perl-Net-Telnet by enabeling the rpmforge-extra repo:

    yum --enablerepo=rpmforge-extras install perl-Net-Telnet

Without this repo enabled you get the following dependency problems:

    Error: Package: perl-Net-Appliance-Session-1.36-1.el6.rf.noarch (rpmforge)
           Requires: perl(Net::Telnet)


I suspect you could perform the same operation by running:

    yum groupinstall --enablerepo=PacketFence,rpmforge,rpmforge-extras Packetfence-complete

But I did not try this.


No tags attached.
Issue History
2011-10-25 20:44duxklrNew Issue
2011-10-31 12:23obilodeaumtn revision => 87f76d1f1362ffdfd250b0bfa4e1d44cf716be55
2011-10-31 12:23obilodeauNote Added: 0002408
2011-10-31 12:23obilodeauStatusnew => resolved
2011-10-31 12:23obilodeauFixed in Version => +1
2011-10-31 12:23obilodeauResolutionopen => fixed
2011-10-31 12:23obilodeauAssigned To => obilodeau
2011-11-21 12:04obilodeauNote Added: 0002459
2011-11-21 12:04obilodeauTarget Version => 3.0.3
2011-11-21 12:05obilodeauStatusresolved => closed
2011-11-21 12:05obilodeauFixed in Version+1 => 3.0.3

Notes
(0002408)
obilodeau   
2011-10-31 12:23   
PacketFence Repo

We fixed this one by adding a symlink from RHEL6Server to RHEL6 on our server repository. We decided to stick to the variables because they allow us to support both rhel5 and 6 (and CentOS) without having to put two different repo files on our download page.

Dependency Problems (Part 1 - RHEL6 Channel):
We updated our admin guide and website to cover the installation of the channel through rhn-channel:
rhn-channel --add --channel=rhel-`uname -m`-server-optional-6

See the website's download page or the updated admin guide.

Dependency Problems (Part 2 - RPM Forge):
We updated our admin guide to tell users to perform the manual perl-Net-Telnet through rpmforge-extras. We recommend against doing the whole groupinstall with rpmforge-extras enabled since packages in this repository are known to be conflicting with system's packages.

The updated Administration Guide is available here: http://mtn.inverse.ca/revision/info/87f76d1f1362ffdfd250b0bfa4e1d44cf716be55 [^]
Admin guide PDF will be updated on our next release.
(0002459)
obilodeau   
2011-11-21 12:04   
Fixed released in 3.0.3 today.