I attempted to update Webmin from 1.74 to 1.75.
An error with dependencies was generated.
==========================================
System Settings
Operating system CentOS Linux 5.11
Webmin version 1.740
Time on system Thu May 14 16:02:18 2015
Kernel and CPU Linux 2.6.18-308.el5.028stab099.3 on i686
Processor information Intel(R) Xeon(R) CPU E31230 @ 3.20GHz, 2 cores
==========================================
Here is the error below
Downloading http://prdownloads.sourceforge.net/sourceforge/webadmin/webmin-1.750-1.noarch.rpm (185 bytes) ..
Downloading http://downloads.sourceforge.net/project/webadmin/webmin/1.750/webmin-1.750-1.noarch.rpm (172 bytes) ..
Downloading http://hivelocity.dl.sourceforge.net/project/webadmin/webmin/1.750/webmin-1.750-1.noarch.rpm (25.45 MB) ..
Received 1024 bytes (0 %)
Received 2.54 MB (10 %)
Received 5.09 MB (20 %)
Received 7.63 MB (30 %)
Received 10.18 MB (40 %)
Received 12.72 MB (50 %)
Received 15.27 MB (60 %)
Received 17.81 MB (70 %)
Received 20.36 MB (80 %)
Received 22.90 MB (90 %)
Received 25.45 MB (100 %)
.. download complete.
Package signature verified successfully.
Running RPM to upgrade Webmin .. Please wait a minute until it is complete before continuing.
error: Failed dependencies:
perl(Net::SSLeay) is needed by webmin-1.750-1.noarch
This is intentional - SSL support is now required by default. The fix is to first run "yum install perl-Net-SSLeay"
Does this mean we will access webmin via https only now?
On Thu, May 14, 2015 at 11:24 PM, Jamie Cameron jcameron@users.sf.net
wrote:
Related
Bugs: #4595
Once this dependency is installed, you will have the option to access it via HTTPS.
I have exactly the same problem as Anthony.
My server is on Novell SuSE Enterprise Server 9.4, Webmin 1.740 is used over HTTPS, perl module Net::SSLeay 1.68 is installed and dependencies check for all perl modules shows OK.
I am puzzled....
If you run : perl -e 'use Net::SSLeay'
does it fail with any error message?
Hi Jamie,
No, the command does not fail and checking all perl package dependencies through Yast tool also gives OK result.
I have been using Webmin for about 10 years and this is the first time I have a problem updating it.
I searched the web briefly yesterday and found the same issue at cPanel.net forum and here.
So, I am not alone with the problem.
Did you install the Net::SSLeay module manually, or from an RPM?
Normally the package is named like perl-Net-SSLeay
Installing it fixes the problem. It worked for me.
On Thu, May 21, 2015 at 7:08 PM, Jamie Cameron jcameron@users.sf.net
wrote:
Related
Bugs: #4595
After reinstalling perl-Net-SSLeay from rpm, Webmin upgrade succeeded. Thanks.
Seriously, it's fine requiring SSL, but why have a requirement for a certain RPM to be installed? Why not check for the actual Perl module??
I have for years and years used CPAN to install Net::SSLeay, and always use SSL with webmin, but now Webmin suddenly doesn't recognize that I have Net::SSLeay installed?
Why?
And I can't even find any RPM for CentOS5 - for CentOS6 it's in the repoforge repository, but not for CentOS5, and we still have a number of servers running CentOS5.
So instead of making anything safer, you now keep us from upgrading a number of servers, even though they already have perfectly valid installs of Net::SSLeay!
I can NOT say that I'm happy...
Correction; It's there, alright, for CentOS5 too; But our CentOS5 servers are sunning cPanel, which means installing perl modules from RPM:s may break it, when compliling modules from CPAN is perfectly fine - except webmin doesn't accept it.
As a worst-case work-around you could install the new RPM manually with a command like :
rpm -U --nodeps http://hivelocity.dl.sourceforge.net/project/webadmin/webmin/1.750/webmin-1.750-1.noarch.rpm
Possibly.. but to me it's a bit strange that it can't check for the actual CPAN package.
I have never ever before installed Perl modules via RPM or yum, but always via CPAN.
Most modules aren't even available via RPM or yum, so why have to chase all over the place to find one specific one, to satisfy a nonexistent "dependency" when they're all right there from CPAN?
As far as I know, most of the other "recommended" modules aren't available other than directly from CPAN anyway, and my install scripts automatically compile all needed modules with no need for any specific yum repositories, before Webmin is installed.
It's possible to work around, but the lack of check for the actual CPAN module instead of a specific rpm, I would still call a bug which needs to be addressed in future releases.
Yes, this is a limitation of RPM that it only seems to detect Perl modules installed from other RPM packages. I added this as a dependency so that it gets brought in automatically when installing Webmin via RPM, which gives users SSL support out of the box.