Problem to update last virtualmin-config

When I try update last virtualmin-config show me this error but I have perl v5.10.1 in the machine

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

Whaiting for help

Thanks

It tells you whats wrong. Either you really need at least PERL in the version with 5.10 and higher or there is an error in the script with detecting it.

But I have, see below

[root@xxxxx~]# perl -v

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.

Hmm, yea. You wrote that in the first post too, sorry.
Either there is a pre-check which detects it wrong or there is something else interfering and triggering that.
Can you provide log files?

Edit: You could try a downgrade to 5.10.0, but I am not sure if that really does the trick.

I never have this problem before. I think that a package problem detection version of perl.

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

  • base: mirror.checkdomain.de
  • centos-sclo-rh: centos . mirror . iphh.net
  • centos-sclo-sclo: mirror . checkdomain . de
  • epel: mirror . 23media . com
  • extras: mirror . softaculous . com
  • updates: mirror . scaleuptech . com
    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

@Joe might have a guess for that.
If I think theres a bug in the perl detection, but I dont know the package that well.

No! Don’t do that. It is not requiring exactly 5.10.0. It is requiring that version or any version higher.

What version of CentOS is this? What does rpm -v perl show?

That is why I said I dont think it will help since that version or newer is required. :slight_smile:

Hi Joe,
never had a problem with previous updates.

PERL:
[root@xxxx~]# yum info perl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror. checkdomain. de
  • centos-sclo-rh: centos. mirrors. as250. net
  • centos-sclo-sclo: ftp.rz.uni-frankfurt. de
  • epel: mirror.23media.com
  • extras: centos.mirror.iphh. net
  • updates: mirror.scaleuptech. com
    Installed Packages
    Name : perl
    Arch : x86_64
    Epoch : 4
    Version : 5.10.1
    Release : 144.el6
    Size : 34 M
    Repo : installed
    From repo : base
    Summary : Practical Extraction and Report Language
    URL : http://www.perl. org/
    License : (GPL+ or Artistic) and (GPLv2+ or Artistic) and Copyright Only and
    : MIT and Public Domain and UCD
    Description : Perl is a high-level programming language with roots in C, sed,
    : awk and shell scripting. Perl is good at handling processes and
    : files, and is especially good at handling text. Perl’s hallmarks
    : are practicality and efficiency. While it is used to do a lot of
    : different things, Perl’s most common applications are system
    : administration utilities and web programming. A large proportion
    : of the CGI scripts on the web are written in Perl. You need the
    : perl package installed on your system so that your system can
    : handle Perl scripts.
    :
    : Install this package if you want to program in Perl or enable your
    : system to handle Perl scripts.

CENTOS:
CentOS Linux 6.10

[root@xxxx~]# uname -a Linux xxxx.xxxx. com 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I dunno. I guess it’s something different about the RPM version I’m using to build on the new build server. I’ll try to test it when I get some free time, but it’s not a high priority at the moment…virtualmin-config is generally only used during initial installation and nearly all of the updates are specific to CentOS 8. It won’t hurt anybody on existing CentOS 6 systems to keep the old package forever. And, nobody should be doing new installs on CentOS 6 today.

So, for now…don’t worry about it. You’re not missing anything.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.