PacketFence - BTS - PacketFence
View Issue Details
0001556PacketFenceupstreampublic2012-09-26 10:282012-09-26 17:14
obilodeau 
obilodeau 
highmajorhave not tried
resolvedfixed 
 
 
5147571f
0001556: depsolving problems with Net::Appliance::Session
Resolving Dependencies
--> Running transaction check
---> Package openfusion-release.noarch 0:0.5-1.of.el6 will be updated
---> Package openfusion-release.noarch 0:0.6.2-1.of.el6 will be an update
---> Package perl-Net-Appliance-Session.noarch 0:1.36-1.el6.rf will be updated
--> Processing Dependency: perl(Net::Appliance::Session) = 1.36 for package: packetfence-3.6.0-0.20120921.el6.noarch

---> Package perl-Net-Appliance-Session.noarch 0:3.122100-2.el6 will be an update
--> Processing Dependency: perl(Net::CLI::Interact) >= 1.122100 for package: perl-Net-Appliance-Session-3.122100-2.el6.noarch

--> Processing Dependency: perl(Net::CLI::Interact) for package: perl-Net-Appliance-Session-3.122100-2.el6.noarch

--> Running transaction check
---> Package perl-Net-Appliance-Session.noarch 0:1.36-1.el6.rf will be updated
--> Processing Dependency: perl(Net::Appliance::Session) = 1.36 for package: packetfence-3.6.0-0.20120921.el6.noarch

---> Package perl-Net-CLI-Interact.noarch 0:1.122100-2.el6 will be installed
--> Processing Dependency: perl(Log::Dispatch::Configurator::Any) for package: perl-Net-CLI-Interact-1.122100-2.el6.noarch

--> Processing Dependency: perl(Log::Dispatch::Config) for package: perl-Net-CLI-Interact-1.122100-2.el6.noarch

--> Processing Dependency: perl(IPC::Run) for package: perl-Net-CLI-Interact-1.122100-2.el6.noarch

--> Running transaction check
---> Package perl-IPC-Run.noarch 0:0.89-1.of.el6 will be installed
---> Package perl-Log-Dispatch-Config.noarch 0:1.04-3.el6 will be installed
---> Package perl-Log-Dispatch-Configurator-Any.noarch 0:1.110690-5.el6 will be installed
---> Package perl-Net-Appliance-Session.noarch 0:1.36-1.el6.rf will be updated
--> Processing Dependency: perl(Net::Appliance::Session) = 1.36 for package: packetfence-3.6.0-0.20120921.el6.noarch

--> Finished Dependency Resolution
Error: Package: packetfence-3.6.0-0.20120921.el6.noarch (@/packetfence-3.6.0-0.20120921.el6.noarch)
           
Requires: perl(Net::Appliance::Session) = 1.36
           Removing: perl-Net-Appliance-Session-1.36-1.el6.rf.noarch (@rpmforge)
               perl(Net::Appliance::Session) = 1.36
           Updated By: perl-Net-Appliance-Session-3.122100-2.el6.noarch (epel)
               perl(Net::Appliance::Session) = 3.122100
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Problem updating system packages. Aborting nightly build process...
Leaving chroot centos-6-i386-os


to investigate
Introduced in EPEL 6: https://bugzilla.redhat.com/show_bug.cgi?id=853380 [^]
No tags attached.
related to 0001313closed  Port our Net-Appliance-Session to the version 3 API 
diff perl-Net-Appliance-Session.spec.diff (808) 2012-09-26 14:19
https://www.packetfence.org/bugs/file_download.php?file_id=164&type=bug
Issue History
2012-09-26 10:28obilodeauNew Issue
2012-09-26 10:28obilodeauStatusnew => assigned
2012-09-26 10:28obilodeauAssigned To => obilodeau
2012-09-26 11:11obilodeauAdditional Information Updated
2012-09-26 11:14obilodeauNote Added: 0003099
2012-09-26 11:31milkmanssonNote Added: 0003100
2012-09-26 11:31milkmanssonNote Edited: 0003100
2012-09-26 12:21obilodeauNote Added: 0003101
2012-09-26 14:18obilodeauNote Added: 0003102
2012-09-26 14:18obilodeauStatusassigned => feedback
2012-09-26 14:19obilodeauFile Added: perl-Net-Appliance-Session.spec.diff
2012-09-26 17:10obilodeaugit revision => 5147571f
2012-09-26 17:10obilodeauNote Added: 0003103
2012-09-26 17:10obilodeauStatusfeedback => resolved
2012-09-26 17:10obilodeauResolutionopen => fixed
2012-09-26 17:11obilodeauRelationship addedrelated to 0001313
2012-09-26 17:14obilodeauNote Added: 0003104

Notes
(0003099)
obilodeau   
2012-09-26 11:14   
Ok, a generic `yum update` does exhibit the problem.
(0003100)
milkmansson   
2012-09-26 11:31   
Olivier, saw your post on packetfence-users list, doing 'yum update' (taking care of enabling the repos) on the 3.5.1 ESX VPX/image reproduces the issue exactly. HTH!

(0003101)
obilodeau   
2012-09-26 12:21   
I tried several things and it didn't work.

I considered updating our code to 3.x w/ the v2 compat module but found that it has been dropped already by upstream: https://metacpan.org/source/OLIVER/Net-Appliance-Session-4.122630/Changes [^]

I'm thinking of providing our own N::A::S in our repo w/ an Epoch in front of the version.
(0003102)
obilodeau   
2012-09-26 14:18   
Ok, we created a perl-Net-Appliance-Session with epoch 1 so that 1:1.36 will be better than 0:3.xx.. The patch on the repoforge spec will be attached here.

Please confirm that this fixes your issue.

Can you try:

yum clean all

with all the proper repositories enabled.

Then confirm that a `yum update` proceeds successfully.

Thanks!
(0003103)
obilodeau   
2012-09-26 17:10   
Confirmed as fixed on the mailing list.

Basically, we worked around upstream EPEL providing a newer package and RPM from not honoring our hardcoded required version in our SPEC. We fakely created a newer package by using Epoch flag in our repo.
(0003104)
obilodeau   
2012-09-26 17:14   
Once 0001313 is fixed, we'll get rid of our package.