Menu

#5019 Webmin install fails

1.850
closed-fixed
nobody
None
5
2020-10-24
2017-09-22
No

:yum install webmin
Downloading packages:
webmin-1.850-1.noarch.rpm | 27 MB 00:00:15
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/redhat-release
Sangoma Linux release 7.3.1701 (Core)

Hopefully I can just edit the file it's looking at to determine the OS.
Please advise.

Related

Bugs: #5019

Discussion

  • Jamie Cameron

    Jamie Cameron - 2017-09-22

    Is Sangoma Linux based on CentOS? If so, we'll need to update the Webmin OS detection code to handle it.

     
    • Colin humberstone

      Hi Jamie

      Thanks for replying.
      I believe it's Centos; this is the latest FreePBX distro with Asterisk 14. Previous versions of FreePBX were Centos based. I'll see if I can find out for certain.

      Regards
      Colin

      On 23 Sep 2017, 00:12, at 00:12, Jamie Cameron jcameron@users.sf.net wrote:

      Is Sangoma Linux based on CentOS? If so, we'll need to update the
      Webmin OS detection code to handle it.


      ** [bugs:#5019] Webmin install fails**

      Status: open
      Group: 1.850
      Created: Fri Sep 22, 2017 03:21 PM UTC by Colin humberstone
      Last Updated: Fri Sep 22, 2017 03:21 PM UTC
      Owner: nobody

      :yum install webmin
      Downloading packages:
      webmin-1.850-1.noarch.rpm | 27 MB 00:00:15
      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/redhat-release
      Sangoma Linux release 7.3.1701 (Core)

      Hopefully I can just edit the file it's looking at to determine the OS.
      Please advise.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5019/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5019

  • Jamie Cameron

    Jamie Cameron - 2017-09-23
    • status: open --> closed-fixed
     
    • Colin humberstone

      Great, thanks.

      On 23 Sep 2017, 17:45, at 17:45, Jamie Cameron jcameron@users.sf.net wrote:

      • status: open --> closed-fixed
      • Comment:

      Try installing the latest devel version RPM from
      http://download.webmin.com/devel/rpm/ ... it includes support for
      Sangoma Linux already.


      ** [bugs:#5019] Webmin install fails**

      Status: closed-fixed
      Group: 1.850
      Created: Fri Sep 22, 2017 03:21 PM UTC by Colin humberstone
      Last Updated: Fri Sep 22, 2017 11:12 PM UTC
      Owner: nobody

      :yum install webmin
      Downloading packages:
      webmin-1.850-1.noarch.rpm | 27 MB 00:00:15
      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/redhat-release
      Sangoma Linux release 7.3.1701 (Core)

      Hopefully I can just edit the file it's looking at to determine the OS.
      Please advise.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5019/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
    • Colin humberstone

      Hi Jamie

      Works perfectly, thanks.

      Regards

      Colin

      On 23 September 2017 at 17:45, Jamie Cameron jcameron@users.sf.net wrote:

      • status: open --> closed-fixed
      • Comment:

      Try installing the latest devel version RPM from
      http://download.webmin.com/devel/rpm/ ... it includes support for Sangoma
      Linux already.


      Status: closed-fixed
      Group: 1.850
      Created: Fri Sep 22, 2017 03:21 PM UTC by Colin humberstone
      Last Updated: Fri Sep 22, 2017 11:12 PM UTC
      Owner: nobody

      :yum install webmin
      Downloading packages:
      webmin-1.850-1.noarch.rpm | 27 MB 00:00:15
      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/redhat-release
      Sangoma Linux release 7.3.1701 (Core)

      Hopefully I can just edit the file it's looking at to determine the OS.
      Please advise.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5019/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5019

  • Jamie Cameron

    Jamie Cameron - 2017-09-23

    Try installing the latest devel version RPM from http://download.webmin.com/devel/rpm/ ... it includes support for Sangoma Linux already.

     
  • KASPAR Olivier

    KASPAR Olivier - 2019-10-18

    Hello,

    I tried to install webmin-1.932-1.noarch.rpm from / devel / rpm but unfortunately I have the following problem:

    Unable to identify operating system
    error:% pre (webmin-1.932-1.noarch) scriptlet failed, output state 2
    error: webmin-1.932-1.noarch: install failed
    

    I am on XCP-ng release 8.0.0 (xenenterprise) from Centos.

    Can you help me ?

    Sincerely, Olivier.

     
  • Jamie Cameron

    Jamie Cameron - 2019-10-25

    What does /etc/issue contain on a XCP-ng release 8.0.0 system?

     
  • KASPAR Olivier

    KASPAR Olivier - 2019-10-25

    Hello,

    here is what /etc /issue

    XCP-ng Host 8.0.0
    
    System Booted: 2019-10-17 00:08
    
    Your XCP-ng Host has now finished booting.
    To manage this server please use the Open Source XCP-ng Center application.
    You can install XCP-ng Center for Windows from https://xcp-ng.org.
    
    You can connect to this system using one of the following network
    addresses:
    
    192.168.1.5
    
    XCP-ng Host SSL certificate fingerprint:
    23:99:03:47:B8:40:EE:0A:ED:7D:10:21:72:C5:A5:C3:70:97:0D:0E
    

    Thank you for your help.

    Sincerely, Olivier.

     
  • Jamie Cameron

    Jamie Cameron - 2019-10-27

    We haven't actually tested on XCP-ng - is it the same as CentOS 8 ?

     
  • KASPAR Olivier

    KASPAR Olivier - 2019-10-31

    Hello,

    I am sorry for the delay,

    following the command cat /proc/version it is Red-Hat but according to their site is CentOs https://www.kickstarter.com/projects/78495858/xcp-ng?lang=enLinux version 4.19. 0 + 1 (mockbuild@koji.xcp-ng.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)) # 1 SMP Fri Jul 19 17
    27: 05 CEST 2019

    Sincerely, Olivier.

     
  • Jamie Cameron

    Jamie Cameron - 2019-11-02

    Also, what does the /etc/redhat-release file contain on this system?

     
  • KASPAR Olivier

    KASPAR Olivier - 2019-11-04

    cat /etc/redhat-release

    XCP-ng release 8.0.0 (xenenterprise)

     
  • KASPAR Olivier

    KASPAR Olivier - 2020-10-24

    hello I come back to you because I still have the same problem I saw that the files on http://download.webmin.com/devel/rpm/ had been updated very recently but still the same.

    Do you have a solution ?

     
  • Ilia

    Ilia - 2020-10-24

    This patch should address it. You can manually update RPM with this file and give it a try.

     

Log in to post a comment.