Menu

webmin on openSUSE Tumbleweed install problem

Webmin
2018-03-15
2021-05-07
  • GJ Eldering

    GJ Eldering - 2018-03-15

    How can i install webmin on openSUSE Tumbleweed.
    Get a Error

    Installation of webmin-1.880-1.noarch failed:
    Error: Subprocess failed. Error: RPM failed: warning: /var/cache/zypper/RPMS/webmin-1.880-1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
    grep: /etc.defaults/VERSION: No such file or directory
    Unable to identify operating system
    error: %prein(webmin-1.880-1.noarch) scriptlet failed, exit status 2
    error: webmin-1.880-1.noarch: install failed

     
  • Kay

    Kay - 2018-03-18

    install webmin from suse repo and use the webmin internal update functionality.

     
  • Tim

    Tim - 2018-05-24

    Please provide the specific repo loaction. webmin is not in the tumbleweed repos.
    Thanks, Tim

     
  • Kay

    Kay - 2018-05-27

    sorry, it was my fault, I was shuremI installed it from repo, but did it from source.
    download the tgz, unpack and run l . /setup.sh from within unpacked dir.

    webmin prerequisite can be f86nd here:
    https://www.unixmen.com/install-webmin-opensuse-42-1/

     
  • Tim

    Tim - 2018-06-24

    Found a way to get around this problem. On SUSE based systems, the Webmin rpm installer is checking for a file named "SuSE-release" in /etc. This file has become depreciated and is replaced by "os-release". Unfortunately, the contents and the format of the new file is NOT the same, so you can't just link it. I looked at SuSE-release in a virtual of a previous openSUSE release and came up with this:

    Create a file in /etc named "SuSE-release" (note the odd capitalization)
    Line 1: openSUSE Tumbleweed (x86_64)
    Line 2: VERSION = Tumbleweed
    Line 3: CODENAME = Tumbleweed

    This file will allow the downloaded Webmin RPM to install properly (1.881 used in my case). Also note: Tumbleweed still supports i586 32 bit machines and Webmin appears to work properly in this environment as well. No guarantees though, there may be some modules that no longer work in 32 bit.

    I thought it best to document this in cast others have similar issues.

     

    Last edit: Tim 2018-06-24
  • Filippos L Filippides

    Add the following two lines to the webmin file os_list.txt
    # SuSE Linux Tumbleweed
    SuSE Linux Tumbleweed $1 suse-linux sprintf("%d",$1) $etc_issue =~ /Tumbleweed\s+(\S+)\s/i

     

    Last edit: Filippos L Filippides 2021-05-04
    • Ilia

      Ilia - 2021-05-04

      What is the output of /etc/os-release and /etc/issue files?

       
  • Filippos L Filippides

    Issue is needed only. It has all information in one line, Ostype and version.

     
    • Ilia

      Ilia - 2021-05-04

      What is the content of the both files, please?

       
      • Filippos L Filippides

        Why do you ask?
        Do you have a problem with the solution provided?
        Do you have OpenSUSE Tumbleweed?

         
  • Ilia

    Ilia - 2021-05-06

    Do you have a problem with the solution provided?

    Why using sprintf("%d",$1)for the string 20210503?

    Do you have OpenSUSE Tumbleweed?

    No, I didn't.

    Add the following two lines to the webmin file os_list.txt

    Alright.

     
    • Filippos L Filippides

      Hi Ilia,
      I've checked it and it doesn't work properly. It needs tabs (TAB) instead of spaces and to put Tumbleweed before SuSE Linux line otherwise it will be caught by that line that returned "suse-linux" version 86.

      sprintf("%d",$1) ensures that $1 is a digital number and not a string.

      See:
      # openSUSE Linux Tumbleweed
      openSUSE Linux Tumbleweed(TAB)$1(TAB)>suse-linux(TAB)sprintf("%d",$1)(TAB)$etc_issue =~ /openSUSE\s+Tumbleweed\s+(\S+)\s/i

      # SuSE Linux
      ...

       

      Last edit: Filippos L Filippides 2021-05-07
  • Ilia

    Ilia - 2021-05-07

    I've checked it and it doesn't work properly. It needs tabs (TAB) instead of spaces

    Oh, right. I have complete forgotten about this. Thanks. Fixed.

     

Log in to post a comment.

MongoDB Logo MongoDB