Menu

#5154 Failed OS detection

1.850
open
nobody
None
5
2018-12-15
2018-07-17
jack
No

Hi, tried on 1.89, 1.88 could not able to install, Error -:


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


Discussion

  • Jamie Cameron

    Jamie Cameron - 2018-07-18

    Is there an /etc/system-release file on this machine, and if so what does it contain?

     
  • jack

    jack - 2018-07-18

    Hi Jamie, Its showing

    cat /etc/system-release
    Amazon Linux 2

     
  • Jamie Cameron

    Jamie Cameron - 2018-07-20

    Unfortunately right now only the older Amazon Linux versions are supported.

     
  • Romer

    Romer - 2018-12-15

    1.901 is not working on "amazon linux 2" same error

    sudo rpm -U webmin-1.901-1.noarch.rpm
    warning: webmin-1.901-1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
    Unable to identify operating system
    error: %pre(webmin-1.901-1.noarch) scriptlet failed, exit status 2
    error: webmin-1.901-1.noarch: install failed

    somebody could find the fix?

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

    Thx

     

Log in to post a comment.