Koozali.org: home of the SME Server

Missing Dependency: perl(XML::SAX)

Offline PatchPanel

  • ****
  • 84
  • +0/-0
Missing Dependency: perl(XML::SAX)
« on: April 10, 2011, 02:18:30 PM »
How can I solve this dependency error which prevents the installation of the current updates ?

Code: [Select]
[...]
--> Processing Dependency: perl(XML::SAX) >= 0.15 for package: perl-XML-Simple
--> Finished Dependency Resolution
Error: Missing Dependency: perl(XML::SAX) >= 0.15 is needed by package perl-XML-Simple
yum update dhclient.i386 dhcp.i386 hddtemp.i386 perl-Apache-DBI.noarch perl-Archive-Zip.noarch perl-DateTime-Format-W3CDTF.noarch perl-Email-Date-Format.noarch perl-Email-Simple.noarch perl-List-MoreUtils.i386 perl-Net-XMPP.noarch perl-Params-Validate.i386 perl-SOAP-Lite.noarch perl-Unicode-String.i386 perl-XML-Entities.noarch perl-XML-RSS.noarch perl-XML-Simple.noarch perl-XML-Stream.noarch failed: 256

yum clean all
yum update
did not help.


Thanks

PatchPanel

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Missing Dependency: perl(XML::SAX)
« Reply #1 on: April 10, 2011, 04:58:01 PM »
I had same issue... solved it my way... not sure it's a good recomendation: DO IT AT YOUR OWN RISK!

Code: [Select]
wget ftp://ftp.pbone.net/mirror/ftp.freshrpms.net/pub/freshrpms/pub/dag/redhat/el4/en/x86_64/RPMS.dag/perl-XML-SAX-0.16-1.el4.rf.noarch.rpm
rpm -Uvh perl-XML-SAX-0.16-1.el4.rf.noarch.rpm

after that yum worked like a charm! :)
...

Offline PatchPanel

  • ****
  • 84
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #2 on: April 10, 2011, 06:40:49 PM »
Your way seems to be a good way...at least in this case  ;)

Thanks a lot
 :pint:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #3 on: April 10, 2011, 07:41:34 PM »
you could setup Dag's as per wiki and then do
Code: [Select]
yum --enablerepo=dag update perl-XML-SAX

Offline PatchPanel

  • ****
  • 84
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #4 on: April 10, 2011, 07:56:52 PM »
Thanks for your hint,
hopefully this has been solved as per Jader's solution.

PatchPanel

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #5 on: November 29, 2011, 03:08:50 PM »
Why doesn't someone just post the needed file to the SME repositories?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Missing Dependency: perl(XML::SAX)
« Reply #6 on: November 29, 2011, 06:23:55 PM »
Why doesn't someone just post the needed file to the SME repositories?
We post all dependencies for stock SME Server packages as well as contribs distributed through SME Contribs repository, we can not and will not cater for all dependencies of all packages that one can install. If you do so, you are responsible to do yourself.

Unfortunately you did not investigate what required that package, but most likely it was not a core SME Server package or a SME Contribs repository hosted package.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #7 on: November 29, 2011, 06:31:11 PM »
Why doesn't someone just post the needed file to the SME repositories?

did you follow my advice? are you having any issue?

what's the output of
Code: [Select]
rpm --whatrequires perl-XML-SAX
rpm --whatrequires perl-XML-Simple

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #8 on: November 29, 2011, 08:02:21 PM »
Oh I was mistaken about something I was working with I think.  I was running a software update and got stuck on that dependency.  I didn't care to figure out what was requiring it. I found the needed RPM, installed it and am not interested in looking back.

I needed to put a newer OCS Inventory on my SME 7, but began to realize it was simply more effort than it was worth so I'm just building a CentOS6 (VM) machine to host this service.  SME and all the contribs and all that are all just falling out of date.  I am sure there are good reasons why and good reasons behind the reasons, but the net result is tragic.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #9 on: November 30, 2011, 12:01:55 AM »
erroneus

Quote
SME and all the contribs and all that are all just falling out of date.  I am sure there are good reasons why and good reasons behind the reasons, but the net result is tragic.

Someone has to spend time updating the contribs, it's too big a task for 1 or 2 or 3 people to do so, that's why every individual contribution effort made adds to the sum total of what is available.
Did you ever think to contribute time, effort or money to the project to help keep it up to date ?
Did you ever think to update one of the contribs ? There are plenty of instructions on this site re doing this.
You can always install applications directly from their tar.gz (or whatever) files using the applications generic install instructions.
You could have used sme8beta6 (or now beta 7) and perhaps achieved what you wanted, and at the same time contributed to the testing and development effort for sme 8, but instead you go off and use another distro. If everybody abandoned sme as you did in this instance you quoted, then there would for sure be no sme.
Please give something back, as you have apparently been taking & using sme quite freely.

I am not being critical of you just asking you to contribute, so please do not attack me back as it's not necessary.


Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #10 on: November 30, 2011, 01:08:23 AM »
This is not an attack.  It's a fact.  There are people who don't always read all the details nor follow all the rules and simply need to be told and ALSO forgiven.  It is not only my opinion but the opinion of many that the people who are key players in the SME project are 'impatient' with others to put it mildly.  Look at the sharp response offered to my question about why a certain package just doesn't appear?  Yes, it may have been true that the dependency was actually from something unsupported or the like, but it hasn't been proven to be the case but the presumption was express that I didn't do something I should.  Admittedly, as negative responses go, that one was pretty well contained, but SME people are extremely defensive and difficult to deal with.  I have made suggestions and supplied bug reports in the past only to have them rejected... then later the same bugs and suggested fixed and deployed.  (One which comes to mind had to do with USB drives connected to a machine while installation was going through and SME creating a RAID with it... another had to do with LDAP issues)  In both of those cases, I spent hours collecting information for submission to have someone look at it for a few seconds before rejecting it as if it were worthless.  (Clearly it wasn't worthless as those issues were opened by others and actually addressed!)  My point is that among the top things which cause harm to F/OSS projects are the people in control of it.  This is why there is no more XFree86 and why many otherwise great projects failed.

SME needs its community as much as it needs its leaders and developers.  The feeling I and other SME users get is that the community isn't valued quite so much.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #11 on: November 30, 2011, 01:58:53 AM »
erroneus

Quote
The feeling I and other SME users get is that the community isn't valued quite so much.

Well I suggest you all stop having those "feelings", that's all they are and they do not contribute to sme, they only create angst within yourselves and others who read posts that reflect that attitude.
It's far better to have a positive and constructive and contributory attitude and simply get on with helping and supporting sme in any way each of us can.
All input adds up to create the whole.

Much good advice is given in these forums, but often users do not follow the advice given or react poorly to the advice as it "irks" them.
This is an advanced technical forum and users should listen to what they are being told, usually they will learn a lot if they are beginners or less knowledgable.

I believe the original issue of this thread was adequately addressed, and I believe your issue was adequately resolved, you both "know more" now, which I assume is the reason you came here in the first place.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #12 on: November 30, 2011, 02:14:38 AM »
"Well I suggest you all stop having those "feelings", that's all they are and they do not contribute to sme, they only create angst within yourselves and others who read posts that reflect that attitude. "

Perfect example of blaming the very community.  Worse, you like so many others, forget that people are humans.  You display immediate defensiveness which is protection of your own "side's" feelings or pride or whatever you might want to call it but fail to acknowledge that the community is decreasing in activity and progress because there are fewer users involved. 

Yes, this is "off topic" but is there a forum or a thread where this extremely critical and important topic can be discussed and resolved?  So far, no one on 'the other side' is even willing to discuss it.  Meanwhile, the guy who turned me on to SME server has since moved on to ClearOS who swears by both the platform and the community and only misses "affa." 

There are things not going right and participation is unquestionably needed -- we both agree on that.  But how do you foster an environment which is lively with participation and enthusiasm?  If your first answer isn't related to being friendly and hospitable, then you are seriously blind to what has been happening.

I have attempted to contribute and to participate.  I have posed questions and offered answers.  The cost of participating here is to fear the wrath of critical and defensive moderators and developers.  Feelings are not insignificant and are not irrelevant.  We are a community of humans -- quite likely 100% humans -- and we all for communities by respecting one another.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Missing Dependency: perl(XML::SAX)
« Reply #13 on: November 30, 2011, 02:33:32 AM »
erroneus

Quote
Well I suggest you all stop having those "feelings"

It was a suggestion..... there was no blame, that's your (incorrect in my opinion) conclusion.

There are MANY things good about sme, it is progressing, new releases are happening, there are thousands and thousands of satisfied users, sme cannot fit every niche that every user requires, so if you must go elsewhere then that is the appropriate answer for you and your friend.

In my opinion if more people positively contributed as compared to bemoaning any lack of progress, then sme would be even more advanced, better to use any free time you have doing testing & development etc rather than being critical. You are free to foster closer personal contact with developers and share your aspirations with them, most of their email addresses are available here or they can be contacted via forums or bugzilla, or simply ask.

As for me this is about my quota limit of free time today. Thanks.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.