Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: dz00te on September 11, 2009, 09:40:01 AM
-
Hi,
about two weeks ago I started to have the following error when updating sme:
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package perl-DateTime.i386 1:0.41-1.el4 set to be updated
--> Running transaction check
--> Processing Dependency: perl(DateTime) >= 0.1705 for package: perl-DateTime-Format-Mail
--> Finished Dependency Resolution
Error: Missing Dependency: perl(DateTime) >= 0.1705 is needed by package perl-DateTime-Format-Mail
but perl(DateTime) seems already installed:
rpm -qa | grep perl-DateTime
perl-DateTime-Format-Mail-0.3001-1.el4.rf
perl-DateTime-Locale-0.4001-1.el4.rf
perl-DateTime-Format-W3CDTF-0.04-1.el4.rf
perl-DateTime-TimeZone-0.8301-1.el4.rf
perl-DateTime-0.4305-1.el4.rf
any idea? tnx
z
-
See this:
http://groups.google.fr/group/alt.e-smith.fr/browse_thread/thread/e086a675d8c14203/1f6e9b6f77582560?show_docid=1f6e9b6f77582560
It says that a solution goes like this:
yum --enablerepo=smecontribs update --exclude=perl-DateTime
It also talks about dag's repo. So I tested this:
yum --enablerepo=dag update perl-DateTime
... but it was not needed in my case.
From what I understand, this is a problem with the repository.
-
Error: Missing Dependency: perl(DateTime) >= 0.1705 is needed by package perl-DateTime-Format-Mail
the message is clear enough AFAICT. It seems perl-DateTime-Format-Mail requires a version of perl(DateTime) >= 0.1705 which seems unavailable in the repositories you have enabled. AFAIK this is not a package part of the SME Server base installation, so you need to find out what is requiring that package:
rpm -q perl-DateTime-Format-Mail
And if you can not work around it where to find it, for instance using http://rpm.pbone.net
-
I have the same issue.
I run this command to see what require the package, but there are no packages.
rpm -q --whatrequires perl-DateTime-Format-Mail
When I run yum remove perl-DateTime-Format-Mail I get:
Removing:
perl-DateTime-Format-Mail noarch 0.3001-1.el4.rf installed 46 k
Removing for dependencies:
perl-Template-Toolkit i386 2.14-10.el4.at installed 3.1 M
perl-XML-RSS noarch 1.44-1.el4.rf installed 172 k
So I suspect there is one software need for template-toolkit. Anyway I have performed the remove, and wait a few day what happens :)
-
rpm -q --whatrequires perl-DateTime-Format-Mail
It could be that you need to run it like this:
rpm -q --whatrequires 'perl(DateTime::Format::Mail)'
-
I think it rather is a versioning problem, it actually would be a downgrade:
> Marking perl-DateTime-0.41-1.el4.i386.rpm as an update to perl-DateTime - 0.4305-1.el4.rf.i386
but yum can't remove the never version (to be replaced by the older) because:
>perl(DateTime) >= 0.1705 is needed by package perl-DateTime-Format-Mail
Or am I wrong? Anyway I'm just going to ignore this for a while.
-
but yum can't remove the never version (to be replaced by the older) because:
>perl(DateTime) >= 0.1705 is needed by package perl-DateTime-Format-Mail
Or am I wrong? Anyway I'm just going to ignore this for a while.
You can, but it might raise other problems as requirements are made like this for a reason:
rpm -e --nodeps package-name
Most likely one package really needs a functionality that was removed in a later version, where another package needs something the newer function implemented, therefore you have a race condition that would be hard to fix.
-
tnx for the answer i'v just uninstalled as Normando says with an
yum remove perl-DateTime-Format-Mail
and now today with a yum --enablerepo=smecontribs update:
Updating:
perl-DateTime i386 1:0.41-1.el4 smecontribs 589 k
smeserver-mailsorting noarch 1.2-35.el4.sme smecontribs 49 k
smeserver-remoteuseraccess noarch 1.2-33.el4.sme smecontribs 43 k
smeserver-vacation noarch 1.0-36.el4.sme smecontribs 46 k
and now seems all ok...
z
-
normando,
So I suspect there is one software need for template-toolkit. Anyway I have performed the remove, and wait a few day what happens
so did anything happen?
I have exactly the same issue when I try to update contribs:
# rpm -q --whatrequires 'perl(DateTime::Format::Mail)'
perl-XML-RSS-1.32-1.el4.rf
I want to do the same removal as you, but always wonder at the consequences...
-
In my case, it had a side effect on sql-ledger (which is in perl).
So you might be well advised to be causious...
-
soprom,
So you might be well advised to be causious...
mmm, but to find out which contrib needs this is beyond me. But I do know I need the updates to other contribs. Our Affa box will just update with no dependency issue, although not all our contribs are installed on it.
I'm tending to think like normando and dz00te on this one - just do a yum remove perl-DateTime-Format-Mail and see what happens - they have not reported any dire consequences (not that that means nothing happened...)
Rather gung-ho, and I usually wouldn't do this but life goes on, so here goes :-P
Edit: 17 packages successfully updated. I can also confirm perl-DateTime-Format-Mail downgraded to 1:0.41-1.el4 The server is back up. If something fails I'll report back here for the benefit of others.
-
normando,
so did anything happen?
I have exactly the same issue when I try to update contribs:
I want to do the same removal as you, but always wonder at the consequences...
No concecuences and all runing OK! Anyway, I was take a note about what packages I was uninstalled in case I will get an issue with SME.