Koozali.org: home of the SME Server

Yum Update - Openssl dependency error

Offline nicolatiana

  • *
  • 724
  • +0/-0
Yum Update - Openssl dependency error
« on: March 02, 2014, 10:23:19 PM »
Sme 8/32; launching yum update I get a dependency error on openssl.
List of yum transaction:

Quote
[root@fudge ~]# yum update
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: centos.fastbull.org
 * smeaddons: sme-mirror.firewall-services.com
 * smeextras: sme-mirror.firewall-services.com
 * smeos: sme-mirror.firewall-services.com
 * smeupdates: sme-mirror.firewall-services.com
 * updates: centos.fastbull.org
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package clamav.i386 0:0.98.1-4.el5.sme set to be updated
---> Package clamav-db.i386 0:0.98.1-4.el5.sme set to be updated
---> Package clamd.i386 0:0.98.1-4.el5.sme set to be updated
---> Package e-smith-apache.noarch 0:2.2.0-12.el5.sme set to be updated
---> Package e-smith-backup.noarch 0:2.2.0-86.el5.sme set to be updated
--> Processing Dependency: perl(Passwd::Unix) for package: e-smith-backup
--> Processing Dependency: perl(Crypt::PasswdMD5) for package: e-smith-backup
---> Package e-smith-base.i386 0:5.2.0-90.el5.sme set to be updated
---> Package e-smith-email.noarch 0:5.2.0-25.el5.sme set to be updated
---> Package e-smith-horde.noarch 0:4.2.0-20.el5.sme set to be updated
---> Package e-smith-ibays.noarch 0:2.2.0-14.el5.sme set to be updated
---> Package e-smith-imap.noarch 0:2.2.0-9.el5.sme set to be updated
---> Package e-smith-manager.noarch 0:2.2.0-11.el5.sme set to be updated
---> Package e-smith-ntp.noarch 0:2.2.0-7.el5.sme set to be updated
---> Package e-smith-proxy.noarch 0:5.2.0-6.el5.sme set to be updated
---> Package e-smith-samba.noarch 0:2.2.0-60.el5.sme set to be updated
---> Package ipsvd.i386 0:0.12.1-7.el5.sme set to be updated
---> Package kernel.i686 0:2.6.18-371.4.1.el5 set to be installed
---> Package libtiff.i386 0:3.8.2-19.el5_10 set to be updated
---> Package openldap.i386 0:2.3.43-27.el5_10 set to be updated
---> Package openldap-clients.i386 0:2.3.43-27.el5_10 set to be updated
---> Package openldap-servers.i386 0:2.3.43-27.el5_10 set to be updated
---> Package openssl.i386 0:0.9.8e-27.1.el5.sme set to be updated
---> Package openssl-perl.i386 0:0.9.8e-27.el5_10.1 set to be updated
--> Processing Dependency: openssl = 0.9.8e-27.el5_10.1 for package: openssl-perl
---> Package proftpd.i386 0:1.3.3g-4.el5 set to be updated
---> Package smeserver-audittools.noarch 0:1.2.0-9.el5.sme set to be updated
---> Package smeserver-locale-bg.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-da.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-de.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-el.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-es.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-et.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-fr.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-he.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-hu.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-id.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-it.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-ja.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-nb.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-nl.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-pl.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-pt.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-pt_BR.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-ro.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-ru.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-sl.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-sv.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-th.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-tr.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-zh_CN.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-locale-zh_TW.noarch 0:2.2.0-49.el5.sme set to be updated
---> Package smeserver-qpsmtpd.noarch 0:2.2.0-21.el5.sme set to be updated
---> Package smeserver-release.noarch 26:8.1-1.el5.sme set to be updated
---> Package smeserver-spamassassin.noarch 0:2.2.0-13.el5.sme set to be updated
---> Package smeserver-support.noarch 0:2.2.0-27.el5.sme set to be updated
---> Package tzdata.i386 0:2013i-2.el5 set to be updated
--> Running transaction check
---> Package openssl-perl.i386 0:0.9.8e-27.el5_10.1 set to be updated
--> Processing Dependency: openssl = 0.9.8e-27.el5_10.1 for package: openssl-perl
---> Package perl-Crypt-PasswdMD5.noarch 0:1.3-2.el5 set to be updated
---> Package perl-Passwd-Unix.noarch 0:0.71-1 set to be updated
--> Processing Dependency: perl(Struct::Compare) for package: perl-Passwd-Unix
--> Running transaction check
---> Package openssl-perl.i386 0:0.9.8e-27.el5_10.1 set to be updated
--> Processing Dependency: openssl = 0.9.8e-27.el5_10.1 for package: openssl-perl
---> Package perl-Struct-Compare.noarch 0:1.0.1-1 set to be updated
--> Finished Dependency Resolution
openssl-perl-0.9.8e-27.el5_10.1.i386 from updates has depsolving problems
  --> Missing Dependency: openssl = 0.9.8e-27.el5_10.1 is needed by package openssl-perl-0.9.8e-27.el5_10.1.i386 (updates)
--> Running transaction check
---> Package kernel.i686 0:2.6.18-348.18.1.el5 set to be erased
---> Package openssl-perl.i386 0:0.9.8e-27.el5_10.1 set to be updated
--> Processing Dependency: openssl = 0.9.8e-27.el5_10.1 for package: openssl-perl
--> Finished Dependency Resolution
openssl-perl-0.9.8e-27.el5_10.1.i386 from updates has depsolving problems
  --> Missing Dependency: openssl = 0.9.8e-27.el5_10.1 is needed by package openssl-perl-0.9.8e-27.el5_10.1.i386 (updates)
Error: Missing Dependency: openssl = 0.9.8e-27.el5_10.1 is needed by package openssl-perl-0.9.8e-27.el5_10.1.i386 (updates)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

It seems affecting only a system where additional openssl/perl packages are installed (coming from Centos updates repository).

Nicola

« Last Edit: March 02, 2014, 10:27:01 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Yum Update - Openssl dependency error
« Reply #1 on: March 03, 2014, 01:52:23 AM »
It seems affecting only a system where additional openssl/perl packages are installed (coming from Centos updates repository).

What happens if you first remote those openssl-perl rpms?

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: Yum Update - Openssl dependency error
« Reply #2 on: March 03, 2014, 07:18:33 AM »
I'll try it; first I must check "who" (a contrib, i suppose) have installed them.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: Yum Update - Openssl dependency error
« Reply #3 on: March 03, 2014, 08:25:26 AM »
I'm able to find dependencies:

Quote
[root@fudge ~]# rpm -qa openssl*
openssl-0.9.8e-26.el5_9.1
openssl-perl-0.9.8e-26.el5_9.1

[root@fudge ~]# rpm -qR openssl-perl-0.9.8e-26.el5_9.1
/usr/bin/perl
openssl = 0.9.8e-26.el5_9.1
perl
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
[root@fudge ~]#
but I'm not able to do the reverse (which rpm needs openssl-perl).  :(

I'll continue googling . . ..

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Re: Yum Update - Openssl dependency error
« Reply #4 on: March 03, 2014, 12:38:38 PM »
If it is any consolation, I am experiencing the same issue.

 rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n"  | grep 'openssl'
shows
openssl-0.9.8e-27.el5_10.1.i686
openssl-perl-0.9.8e-27.el5_10.1.i386

Is it getting confused about architectures?
----
Steve H.

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Re: Yum Update - Openssl dependency error
« Reply #5 on: March 03, 2014, 12:44:03 PM »
If it is any consolation, I am experiencing the same issue.
Quote
.......
--> Package openssl-perl.i386 0:0.9.8e-27.el5_10.1 set to be updated
--> Processing Dependency: openssl = 0.9.8e-27.el5_10.1 for package: openssl-perl
--> Finished Dependency Resolution
openssl-perl-0.9.8e-27.el5_10.1.i386 from updates has depsolving problems
  --> Missing Dependency: openssl = 0.9.8e-27.el5_10.1 is needed by package openssl-perl-0.9.8e-27.el5_10.1.i386 (updates)
Error: Missing Dependency: openssl = 0.9.8e-27.el5_10.1 is needed by package openssl-perl-0.9.8e-27.el5_10.1.i386 (updates)
.....

Quote
rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n"  | grep 'openssl'
shows
Quote
openssl-0.9.8e-27.el5_10.1.i686
openssl-perl-0.9.8e-27.el5_10.1.i386
Is it getting confused about architectures?
----
Steve H.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Yum Update - Openssl dependency error
« Reply #6 on: March 03, 2014, 03:52:15 PM »
but I'm not able to do the reverse (which rpm needs openssl-perl).  :(

Here's two ways to do that:

rpm --whatrequires openssl-perl
rpm -e --test

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: Yum Update - Openssl dependency error
« Reply #7 on: March 03, 2014, 05:47:14 PM »
Here it is the result:
Quote
[root@fudge ~]# rpm -q --whatrequires openssl-perl-0.9.8e-26.el5_9.1
nessun pacchetto necessita di openssl-perl-0.9.8e-26.el5_9.1
It seems no package requires openssl-perl; but in the past I installed OpenUpload and scaveaging yum.log I found a sequence:
Quote
Apr 26 07:29:17 Installed: openssl-perl-0.9.8e-26.el5_9.1.i386
Apr 26 07:29:17 Installed: smeserver-webapps-common-0.2.8-1.el5.fws.noarch
Apr 26 07:29:19 Installed: openupload-0.4.2-22.el5.fws.noarch
Apr 26 07:29:19 Installed: smeserver-openupload-0.2.0-1.el5.fws.noarch
In effect on a fresh server:
Quote
[root@amgmsmb ~]# yum --enablerepo=fws install smeserver-openupload
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.informatik.hs-fulda.de
 * smeaddons: ftp.nluug.nl
 * smeextras: mirror.pialasse.com
 * smeos: mirror.pialasse.com
 * smeupdates: mirror.pialasse.com
 * updates: mirror.informatik.hs-fulda.de
base                                                                                                                                                          | 1.1 kB     00:00
fws                                                                                                                                                           | 2.5 kB     00:00
fws/primary_db                                                                                                                                                | 351 kB     00:00
smeaddons                                                                                                                                                     | 2.5 kB     00:00
smeextras                                                                                                                                                     | 2.5 kB     00:00
smeos                                                                                                                                                         | 2.3 kB     00:00
smeupdates                                                                                                                                                    | 2.9 kB     00:00
updates                                                                                                                                                       | 1.9 kB     00:00
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smeserver-openupload.noarch 0:0.2.0-1.el5.fws set to be updated
--> Processing Dependency: smeserver-webapps-common for package: smeserver-openupload
--> Processing Dependency: openupload for package: smeserver-openupload
--> Running transaction check
---> Package openupload.noarch 0:0.4.2-25.el5.fws set to be updated
---> Package smeserver-webapps-common.noarch 0:0.2.11-1.el5.fws set to be updated
--> Processing Dependency: openssl-perl for package: smeserver-webapps-common
--> Running transaction check
---> Package openssl-perl.i386 0:0.9.8e-27.el5_10.1 set to be updated
--> Processing Dependency: openssl = 0.9.8e-27.el5_10.1 for package: openssl-perl
--> Running transaction check
---> Package openssl.i686 0:0.9.8e-27.el5_10.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
Furthermore It seems that yum remove (as stated by contrib page to remove it) does not remove openssl-perl:
Quote
[root@fudge yum]# yum remove openupload
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package openupload.noarch 0:0.4.2-22.el5.fws set to be erased
--> Processing Dependency: openupload for package: smeserver-openupload
--> Running transaction check
---> Package smeserver-openupload.noarch 0:0.2.0-1.el5.fws set to be erased
--> Finished Dependency Resolution
So I can remove both contrib and dependencies and try again to yum-ming update.
I'll try this evening; eventually it is something to be marked to the OpenUpload contrib developer (FWS).

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Yum Update - Openssl dependency error
« Reply #8 on: March 03, 2014, 05:51:19 PM »
Here it is the result:It seems no package requires openssl-perl;

"rpm -e --test" sometimes reveals dependencies which aren't seen via "rpm --whatrequires ...".

I don't trust "yum remove ..."; it sometimes removes lots of things I don't want it to.

It looks to me that you could avoid the issue you are seeing by excluding the base and updates repositories.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Yum Update - Openssl dependency error
« Reply #9 on: March 03, 2014, 09:35:23 PM »
i have the same problem.

Code: [Select]
[root@sme8iii ~]# rpm -q --whatrequires openssl-perl
smeserver-webapps-common-0.2.10-1.el5.fws

i have not smeserver-openupload installed only tt-rss and smeserver-backuppc but like you can see the openssl-perl which need the openssl dependency is installed from smeserver-webapps

you can resolve your dependency problem by installing openssl-perl from smedev

 openssl-perl                             i386                     0.9.8e-27.1.el5.sme                      smedev                     37 k

Code: [Select]
yum update --enablerepo=smedev
Not sure it is a good idea to install it now, we need maybe the feedback of daniel
« Last Edit: March 03, 2014, 11:06:52 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Yum Update - Openssl dependency error
« Reply #10 on: March 03, 2014, 09:53:16 PM »
i have asked to daniel and the package openssl-perl is pending the migration from smedev to smeos.

either you wait or you can do

Code: [Select]
yum update openssl --enablerepo=smedev
yum update

probably you should wait.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: Yum Update - Openssl dependency error
« Reply #11 on: March 03, 2014, 10:55:24 PM »
We'll wait !  :pint:

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Re: Yum Update - Openssl dependency error
« Reply #12 on: March 04, 2014, 01:15:32 PM »
Here's two ways to do that:

rpm --whatrequires openssl-perl
rpm -e --test
I tried to see what needs openssl-perl:
Quote
[root@arthur ~]# rpm -q --whatrequires openssl-perl
smeserver-webapps-common-0.2.10-1.el5.fws
[root@arthur ~]# rpm -e openssl-perl
error: Failed dependencies:
        openssl-perl is needed by (installed) smeserver-webapps-common-0.2.10-1.el5.fws.noarch


Does anyone have any idea why that would not be getting found?

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Yum Update - Openssl dependency error
« Reply #13 on: March 08, 2014, 12:45:40 AM »
i have asked to daniel and the package openssl-perl is pending the migration from smedev to smeos.

either you wait or you can do

Code: [Select]
yum update openssl --enablerepo=smedev
yum update

probably you should wait.

Why would we move openssl-perl or openssl-dev to smeos? They are not needed by the core distribution.
If a contrib hosted in smecontribs needs one or both then they could be moved to smecontribs, but please identify the need.

For now they stay in smedev
............

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Yum Update - Openssl dependency error
« Reply #14 on: March 08, 2014, 07:16:54 AM »
i probably misunderstood what daniel explained, indeed probably the right repository  is smecontribs.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!