Unable to installation failed on Centos 6

[root@xxxxx~]# sudo sh install.sh 2020-06-06 07:41:55 URL:https://software.virtualmin.com/lib/slib.sh [22146/22146 ] -> "slib.sh" [1]

Welcome to the Virtualmin GPL installer, version 6.1.1

This script must be run on a freshly installed supported OS. It does not perform updates or upgrades (use your system package manager) or license changes (use the "virtualmin change-license" command).

The systems currently supported by install.sh are:

CentOS/RHEL Linux 6, 7, and 8 on x86_64
Debian 8, 9, and 10 on i386 and amd64
Ubuntu 16.04 LTS and 18.04 LTS on i386 and amd64

If your OS/version/arch is not listed, installation will fail. More details about the systems supported by the script can be found here:

https://www.virtualmin.com/os-support

The selected package bundle is LAMP and the size of install is full. It will require up to 650 MB of disk space.

Exit and re-run this script with --help flag to see available options.

Continue? (y/n) y [INFO] Started installation log in /root/virtualmin-install.log

▣□□ Phase 1 of 3: Setup /usr/sbin/setenforce: SELinux is disabled Downloading virtualmin-release-latest.noarch.rpm [ ✔ ] Installing virtualmin-release package

▣▣□ Phase 2 of 3: Installation Downloading epel-release-latest-6.noarch.rpm [ ✔ ] Installing EPEL release package [ ✔ ] Installing yum-utils [ ✔ ] Enabling extras repository [ ✔ ] Installing scl-utils [ ✔ ] Install Software Collections release package [ ✔ ] Installing PHP7 [ ✔ ] Installing dependencies and system packages [ ✔ ] Installing Virtualmin and all related packages [ERROR] Failed with error: 1 [ ✘ ]

[ERROR] Something went wrong. Exiting. [ERROR] The last few log entries were: virtualmin-awstats Installing dependencies and system packages: Success. Spin pid is: 26580 Package 2:wbm-virtual-server-6.09.gpl-1.noarch already installed and latest version Package perl-Log-Log4perl-1.30-1.el6.noarch already installed and latest version Package 1:perl-parent-0.221-144.el6.x86_64 already installed and latest version Package webmin-1.942-1.noarch already installed and latest version Package 1:perl-Module-Load-0.16-144.el6.x86_64 already installed and latest version Error: Package: virtualmin-config-6.0.27-1.noarch (virtualmin-universal) Requires: perl(:VERSION) >= 5.10.0 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Installing Virtualmin and all related packages: [2020-06-06 07:45:51 EDT] [ERROR] Failed with error: 1 [2020-06-06 07:45:51 EDT] [ERROR] Something went wrong. Exiting. [2020-06-06 07:45:51 EDT] [ERROR] The last few log entries were:

Please fix this bug from your source link system.

Status: 
Closed (fixed)

Comments

Assigned: »

Howdy -- thanks for pointing that out! I passed this along to Joe for review.

Note that we can't recommend CentOS 6 for any new installs, as it's going to reach it's end of life in 5 months (November this year).

That means it will no longer receive updates from CentOS or Virtualmin.

We of course do still plan to resolve that issue with the install, but if at all possible I'd definitely recommend installing a newer OS.

Ilia's picture
Submitted by Ilia on Sat, 06/06/2020 - 09:14

That is odd, as I just install it successfully on CentOS 6.10.

Perhaps, you're using a very old distribution of version 6?

To see if Ilia's suggestion is the problem, try running this command to update your version of CentOS to the latest 6.x version:

yum update

After that, see if you're then able to run the Virtualmin installer.

Update centos still the same issue. please fix this error.

Error: Package: virtualmin-config-6.0.27-1.noarch (virtualmin-universal) Requires: perl(:VERSION) >= 5.10.0 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Installing Virtualmin and all related packages: [2020-06-08 03:15:35 EDT] [ERROR] Failed with error: 1 [2020-06-08 03:15:35 EDT] [ERROR] Something went wrong. Exiting. [2020-06-08 03:15:35 EDT] [ERROR] The last few log entries were:

I'm installing on cat /etc/centos-release CentOS release 6.10 (Final)

Reinstall 2 times try again still same error

screenshot: http://prntscr.com/svqx9h

I'm installing on cat /etc/centos-release CentOS release 6.10 (Final)

@Ilia not working on my side.

Ilia's picture
Submitted by Ilia on Mon, 06/08/2020 - 07:20

What are the outputs of the following commands:

perl -v
which perl
whereis perl

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

[root@mails ~]# which perl /usr/bin/perl [root@mails ~]# whereis perl perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz [root@mails ~]#

Ilia's picture
Submitted by Ilia on Tue, 06/09/2020 - 11:55

Odd.

What if you manually install missing Perl package:

yum install perl-version
[root@mails ~]# yum install perl-version
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * centos-sclo-rh: mirror2.evolution-host.com
 * centos-sclo-sclo: mirror.dst.ca
 * epel: mirror.dst.ca
Package 3:perl-version-0.77-144.el6.x86_64 already installed and latest version
Nothing to do
Ilia's picture
Submitted by Ilia on Wed, 06/10/2020 - 05:49

It looks, that base, extras, updates repos are disabled for you. It doesn't seems standard.

Ilia's picture
Submitted by Ilia on Thu, 06/11/2020 - 04:57

You can enable disabled repos by running the following command:

yum-config-manager --enable base extras updates

Try Ilia's advice above, and that will hopefully resolve your issue.

In our testing, it has been working for us to install Virtualmin on CentOS 6, and we haven't been receiving other queries about that.

As it does look like your using Virtualmin GPL there, and it doesn't appear you're seeing a Virtualmin bug, you'd want to ask additional questions you have in the Forums.

We monitor the Forums, along with lots of wonderful folks in the community. Thanks!

Ilia's picture
Submitted by Ilia on Thu, 06/11/2020 - 10:49

Assigned: » Unassigned
Status: Active » Closed (works as designed)

Hi, Sorry to open this up again, but my centos 6 box is giving the same error when I try to do an update of packages from Virtualmin.

It complains that it needs a newer version of perl, but perl is at 5.10.1.

The painful details:

perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

Copyright 1987-2009, Larry Wall

======

Running yum update gives:

Loaded plugins: fastestmirror, security

Setting up Update Process

Loading mirror speeds from cached hostfile

  • base: centos.mirrors.tds.net

  • centos-sclo-rh: mirror.mojohost.com

  • centos-sclo-sclo: centos.vwtonline.net

  • epel: pubmirror1.math.uh.edu

  • extras: mirrors.xtom.com

  • remi-php72: mirror.team-cymru.com

  • remi-safe: mirror.team-cymru.com

  • updates: centos.vwtonline.net

Resolving Dependencies

--> Running transaction check

---> Package virtualmin-config.noarch 0:6.0.22-1 will be updated

---> Package virtualmin-config.noarch 0:6.0.27-1 will be an update

--> Processing Dependency: perl(:VERSION) >= 5.10.0 for package: virtualmin-config-6.0.27-1.noarch

--> Finished Dependency Resolution

Error: Package: virtualmin-config-6.0.27-1.noarch (virtualmin-universal)

       Requires: perl(:VERSION) >= 5.10.0

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

I have exactly the same error on a new install on centos 6

omg, it seems i'm not alone, i'm also having this issue, centos 6.10

perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

Exactly the same : Requires: perl(:VERSION) >= 5.10.0

perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

I tried breaking it down - not really knowing what I am doing:

yum install virtualmin-config-6.0.27-1.noarch

but I still got the error: Error: Package: virtualmin-config-6.0.27-1.noarch (virtualmin-universal) Requires: perl(:VERSION) >= 5.10.0

Ilia's picture
Submitted by Ilia on Fri, 07/03/2020 - 07:56

We will look in to it after new Virtualmin release.

We yet don't recommend installing CentOS 6 in 2020.

BTW It's not a new install.

If I rebuild the box it will be using 7 or maybe 8, but for now it is what it is. Obviously others think if it ain't broke, don't fix it!

-Bob

Hi

I have the exact same issue on a legacy server as the above people. Presume there is no simple fix?

Thanks J-P Human

I don't know when the next virtualmin release is, but I have tried again and it still doesn't work. I have no choice with my server, it only supports Centos 6, Centos 7/8 is not possible.

Ilia's picture
Submitted by Ilia on Sat, 07/11/2020 - 05:51

I have no choice with my server, it only supports Centos 6,

How come?

Its a dedicated server a Supermicro 6-b 1385. The Host Dacentec tell me Centos 7 and 8 don't work on it.

Ilia's picture
Submitted by Ilia on Sat, 07/11/2020 - 08:08

I would change the hosting company then. I personally tried Vultr, Scaleway and other happened to be great.

Problem is Vultr -as one example- is 6 times more expensive than what I am paying at Dacentec. Its not as if Centos 6 is obsolete yet.

Ilia's picture
Submitted by Ilia on Sat, 07/11/2020 - 09:12

Assigned: Unassigned »

I talked about this CentOS 6 issues with Joe. He said, that he would take a look after he's doing Virtualmin 6.10 Pro release, which is coming this weekend.

Hang on a little while please.

Ilia, just an FYI... at this moment, the GPL INSTALL.SH is version 6.1.1 and the GITHUB version is 6.2.0

error reproduced.

yum install virtualmin-config-6.0.28-1.noarch

Processing Dependency: perl(:VERSION) >= 5.10.0 for package: virtualmin-config-6.0.28-1.noarch

Error: Package: virtualmin-config-6.0.28-1.noarch (virtualmin-universal) Requires: perl(:VERSION) >= 5.10.0

Operating system: CentOS Linux 6.10 Webmin version: 1.953
Usermin version 1.802 Virtualmin version 6.10 Kernel and CPU: Linux 2.6.32-754.31.1.el6.x86_64 on x86_64 Processor information: Intel Core Processor (Haswell, no TSX), 2 cores

This error still exists, its been five weeks with no resolution.

Joe's picture
Submitted by Joe on Thu, 07/30/2020 - 19:46 Pro Licensee

Can I ask why y'all are doing new installations with CentOS 6 today? It reaches end of life quite soon; it's an extremely poor choice for new installations.

I'll fix it, as soon as I figure out how. But, really, I can't recommend you install new systems with CentOS 6 this close to EOL.

This is not just a problem for new installs. This is also a problem for running installations that cannot update due to this issue.

Also running installations with CentOS 6 (not new installs). EOL is Nov 30, 2020. Still need time to migrate especially while dealing with a pandemic.

Joe's picture
Submitted by Joe on Sat, 08/01/2020 - 04:52 Pro Licensee

I'm working on it. But, also, existing installations don't really need updates of virtualmin-config. It is almost exclusively used during initial installation of Virtualmin to configure the system for Virtualmin. It's harmless to skip the updates. I'm sure the only changes happening in that package are to support newer distros, we won't be making C6 related changes.

I've been searching for hours for a solution to this that doesn't require having a whole separate CentOS 6 build system for just this one package...so far, no luck. I'll keep searching, but you're not missing anything= on existing systems.

Ilia's picture
Submitted by Ilia on Sun, 08/02/2020 - 05:38

Good news - Joe has just fixed it for CentOS 6. It works flawlessly. Enjoy!

Thank you, Joe!

thank you Joe and Ilia also virtualmin team, server updated successfully ..

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.