Menu

#4877 Fails OS detection

1.830
closed-fixed
nobody
None
5
2020-04-19
2017-01-22
Tony Albers
No

Downloading packages:
webmin-1.831-1.noarch.rpm | 27 MB 00:00:05
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Unable to identify operating system
error: %pre(webmin-1.831-1.noarch) scriptlet failed, exit status 2
Error in PREIN scriptlet in rpm package webmin-1.831-1.noarch
Verifying : webmin-1.831-1.noarch 1/1

Failed:
webmin.noarch 0:1.831-1

Complete!
[root@crocodile ~]# uname -a
Linux crocodile.djursbackup.net 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 03:09:47 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@crocodile ~]# cat /etc/redhat-release
Springdale Linux release 7.3 (Verona)
[root@crocodile ~]#

So, the script fails to detect Springdale as a RHEL-clone (like CentOS)

After changing /etc/redhat-release to reflect CentOS 7.3, webmin install as expected.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2017-01-22

    Ok, we can add support for that. Is Springdale 7.3 exactly the same as CentOS 7.3 ?

     
  • Tony Albers

    Tony Albers - 2017-01-23

    Yes it is, and it actually existed before CentOS.

     
  • Jamie Cameron

    Jamie Cameron - 2017-01-23
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2017-01-23

    Thanks - this will be supported in the next Webmin release.

     
  • Eric Aguayo

    Eric Aguayo - 2017-05-04

    Getting this in Open VZ 7 as well

    [root@eva02 ~]# uname -a
    Linux eva02 3.10.0-327.36.1.vz7.20.18 #1 SMP Tue Dec 20 13:52:43 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux
    [root@eva02 ~]# cat /etc/redhat-release
    Virtuozzo Linux release 7.3

     
  • Jamie Cameron

    Jamie Cameron - 2017-05-05

    Is Virtuozzo Linux 7.3 the same same as CentOS 7.3 ?

     
  • Eric Aguayo

    Eric Aguayo - 2017-05-05

    Yes, I'm pretty sure is based on CentOS 7

     
  • Jamie Cameron

    Jamie Cameron - 2017-05-05

    Ok, I wlll support this in 1.840

     
  • randome

    randome - 2017-09-15

    unfortunately this is still an issue with Virtuozzo Linux :-(

    [root@bl13 dl]# cat /etc/redhat-release          
    Virtuozzo Linux release 7.3
    [root@bl13 dl]# rpm -i webmin-1.850-1.noarch.rpm 
    warning: webmin-1.850-1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
    Unable to identify operating system
    error: %pre(webmin-1.850-1.noarch) scriptlet failed, exit status 2
    error: webmin-1.850-1.noarch: install failed
    

    Andreas Schnederle-Wagner

     
  • Jamie Cameron

    Jamie Cameron - 2017-09-16

    Please try the 1.853 development version from http://www.webmin.com/devel.html

     
  • jack

    jack - 2018-07-16

    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Unable to identify operating system
    error: %pre(webmin-1.850-1.noarch) scriptlet failed, exit status 2
    Error in PREIN scriptlet in rpm package webmin-1.850-1.noarch
    Verifying : webmin-1.850-1.noarch 1/1

    Failed:
    webmin.noarch 0:1.850-1

    Complete!

    cat /etc/os-release
    NAME="Amazon Linux"
    VERSION="2"
    ID="amzn"
    ID_LIKE="centos rhel fedora"
    VERSION_ID="2"
    PRETTY_NAME="Amazon Linux 2"
    ANSI_COLOR="0;33"
    CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
    HOME_URL="https://amazonlinux.com/"


    cat system-release
    Amazon Linux 2

     
  • Peter VARGA

    Peter VARGA - 2020-04-17

    The same here:

    uname -a returns
    Linux aaeb91 4.19.0+1 #1 SMP Wed Dec 4 13:59:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

    cat /etc/os-release returns

    NAME="Citrix Hypervisor"
    VERSION="8.1.0"
    ID="xenenterprise"
    ID_LIKE="centos rhel fedora"
    VERSION_ID="8.1.0"
    PRETTY_NAME="Citrix Hypervisor 8.1.0"
    ANSI_COLOR="0;31"
    HOME_URL="http://xenserver.org/"
    BUG_REPORT_URL="https://bugs.xenserver.org/"

    Trying to install webmin 1.941

    As Citrix is CentOs it should be possible to install it. Any idea?

     

    Last edit: Peter VARGA 2020-04-17
  • Jamie Cameron

    Jamie Cameron - 2020-04-19

    We'll add support for Citrix in the next Webmin release.

     

Log in to post a comment.