PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001319PacketFencecorepublic2011-10-25 20:442011-11-21 12:05
Reporterduxklr 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.0.2 
Target Version3.0.3Fixed in Version3.0.3 
Summary0001319: Does not install on RedHat 6.1 without modifications.
DescriptionWhen 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.


TagsNo tags attached.
fixed in git revision
fixed in mtn revision87f76d1f1362ffdfd250b0bfa4e1d44cf716be55
Attached Files

- Relationships

-  Notes
(0002408)
obilodeau (reporter)
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 (reporter)
2011-11-21 12:04

Fixed released in 3.0.3 today.

- Issue History
Date Modified Username Field Change
2011-10-25 20:44 duxklr New Issue
2011-10-31 12:23 obilodeau mtn revision => 87f76d1f1362ffdfd250b0bfa4e1d44cf716be55
2011-10-31 12:23 obilodeau Note Added: 0002408
2011-10-31 12:23 obilodeau Status new => resolved
2011-10-31 12:23 obilodeau Fixed in Version => +1
2011-10-31 12:23 obilodeau Resolution open => fixed
2011-10-31 12:23 obilodeau Assigned To => obilodeau
2011-11-21 12:04 obilodeau Note Added: 0002459
2011-11-21 12:04 obilodeau Target Version => 3.0.3
2011-11-21 12:05 obilodeau Status resolved => closed
2011-11-21 12:05 obilodeau Fixed in Version +1 => 3.0.3


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker