Author Topic: webmin won't install with newer kernel running  (Read 834 times)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
webmin won't install with newer kernel running
« on: June 28, 2012, 01:51:29 AM »
webmin won't install if a 3.2.X kernel is running.

Code: [Select]
[darrel@localhost ~]$ uname -a
Linux localhost.localdomain 3.2.18-pclos2.bfs #1 SMP PREEMPT Thu May 24 04:44:50 CEST 2012 i686 i686 i386 GNU/Linux
[darrel@localhost ~]$ su -
Password:
[root@localhost ~]# apt-get update
Get:1 http://ftp.vim.org pclinuxos/2010 release [503B]
Get:2 http://ftp.nluug.nl pclinuxos/2010 release [3187B]
Fetched 3690B in 0s (11.8kB/s)
Hit http://ftp.vim.org pclinuxos/2010/megagames pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/main pkglist                 
Hit http://ftp.nluug.nl pclinuxos/2010/main release                                   
Hit http://ftp.vim.org pclinuxos/2010/megagames release                               
Hit http://ftp.nluug.nl pclinuxos/2010/updates pkglist               
Hit http://ftp.nluug.nl pclinuxos/2010/updates release
Hit http://ftp.nluug.nl pclinuxos/2010/nonfree pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/nonfree release
Hit http://ftp.nluug.nl pclinuxos/2010/kde4 pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/kde4 release
Hit http://ftp.nluug.nl pclinuxos/2010/games pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/games release
Hit http://ftp.nluug.nl pclinuxos/2010/xfce4 pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/xfce4 release
Reading Package Lists... Done
Building Dependency Tree... Done
[root@localhost ~]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
[root@localhost ~]# apt-get install webmin
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   perl-Net-SSLeay (1.36-1pclos2010)
The following NEW packages will be installed:
   perl-Net-SSLeay (1.36-1pclos2010)
   webmin (1.490-1pclos2009)
0 upgraded, 2 newly installed, 0 removed and 0 not upgraded.
Need to get 15.3MB of archives.
After unpacking 38.8MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.nluug.nl pclinuxos/2010/main perl-Net-SSLeay 1.36-1pclos2010 [211kB]
Get:2 http://ftp.nluug.nl pclinuxos/2010/main webmin 1.490-1pclos2009 [15.1MB]
Fetched 15.3MB in 13s (1092kB/s)
Committing changes...
Preparing                                ############################## [100%]
Updating / installing
  perl-Net-SSLeay-1.36-1pclos2010.i586   ############################## [100%]
Unable to identify operating system
error: %pre(webmin-1.490-1pclos2009.noarch) scriptlet failed, exit status 2
error:   install: %pre scriptlet failed (2), skipping webmin-1.490-1pclos2009
Done.
W: Some errors occurred while running transaction
[root@localhost ~]#

Try again with 2.6.38.8 kernel running.

Code: [Select]
[darrel@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.38.8-pclos3.bfs #1 SMP PREEMPT Fri Jul 8 18:01:30 CDT 2011 i686 i686 i386 GNU/Linux
[darrel@localhost ~]$ su -
Password:
[root@localhost ~]# apt-get update
Get:1 http://ftp.vim.org pclinuxos/2010 release [503B]
Get:2 http://ftp.nluug.nl pclinuxos/2010 release [3187B]
Fetched 3690B in 0s (10.8kB/s)
Hit http://ftp.vim.org pclinuxos/2010/megagames pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/main pkglist                 
Hit http://ftp.vim.org pclinuxos/2010/megagames release
Hit http://ftp.nluug.nl pclinuxos/2010/main release
Hit http://ftp.nluug.nl pclinuxos/2010/updates pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/updates release
Hit http://ftp.nluug.nl pclinuxos/2010/nonfree pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/nonfree release
Hit http://ftp.nluug.nl pclinuxos/2010/kde4 pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/kde4 release
Hit http://ftp.nluug.nl pclinuxos/2010/games pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/games release
Hit http://ftp.nluug.nl pclinuxos/2010/xfce4 pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/xfce4 release
Reading Package Lists... Done
Building Dependency Tree... Done
[root@localhost ~]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
[root@localhost ~]# apt-get install webmin
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
   webmin (1.490-1pclos2009)
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/15.1MB of archives.
After unpacking 38.2MB of additional disk space will be used.
Committing changes...
Preparing                                ############################## [100%]
Operating system is Generic Linux
Updating / installing
  webmin-1.490-1pclos2009.noarch         ############################## [100%]
Webmin install complete. You can now login to https://localhost.localdomain:10000/
as root with your root password.
Done.
[root@localhost ~]#

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 638
  • I Only 'Clean' Windows !.
Re: webmin won't install with newer kernel running
« Reply #1 on: July 02, 2012, 02:06:41 PM »
Hi Darrel.
Is this the only way to get Webmin working as I have loaded Minime TR2012.06 for one of my test machines so I can test my backup server and I need webmin.

There seems to be some package miss-match.

uname -a


Linux localhost.localdomain 3.2.18-pclos2.bfs #1 SMP PREEMPT Thu May 24 04:44:50 CEST 2012 i686 i686 i386 GNU/Linux
[root@localhost ~]#

Output from Synaptic.


While preparing for installation:

Unable to identify operating system
error: %pre(webmin-1.490-1pclos2009.noarch) scriptlet failed, exit status 2
error:   install: %pre scriptlet failed (2), skipping webmin-1.490-1pclos2009
W: Some errors occurred while running transaction
« Last Edit: July 02, 2012, 03:41:41 PM by pclinmike »
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2259
Re: webmin won't install with newer kernel running
« Reply #2 on: July 02, 2012, 02:24:51 PM »
Quote
Unable to identify operating system

Seems it' s running only on a 2.6 kernel indeed.
Maybe some other packages have that issue (kernel 3.x incompatibility)?

JohnW
« Last Edit: July 02, 2012, 02:28:31 PM by JohnW_57 »
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: webmin won't install with newer kernel running
« Reply #3 on: July 02, 2012, 02:50:37 PM »
need an update...

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 638
  • I Only 'Clean' Windows !.
Re: webmin won't install with newer kernel running
« Reply #4 on: July 02, 2012, 04:01:42 PM »
I can not find this 'dependency' in synaptic "libnsl.so.1"
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: webmin won't install with newer kernel running
« Reply #5 on: July 02, 2012, 04:16:17 PM »
I can not find this 'dependency' in synaptic "libnsl.so.1"

What is calling for libnsl.so.1?

Code: [Select]
apt-cache whatprovides libnsl
<libnsl>
  nothing provides <libnsl>
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 638
  • I Only 'Clean' Windows !.
Re: webmin won't install with newer kernel running
« Reply #6 on: July 02, 2012, 05:02:07 PM »
I can not find this 'dependency' in synaptic "libnsl.so.1"

What is calling for libnsl.so.1?

Code: [Select]
apt-cache whatprovides libnsl
<libnsl>
  nothing provides <libnsl>


If you search for 'Webmin' in synaptic it says in the list of it's dependency's    libnsl.so.1
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: webmin won't install with newer kernel running
« Reply #7 on: July 03, 2012, 12:06:29 AM »
If you search for 'Webmin' in synaptic it says in the list of it's dependency's    libnsl.so.1

I see that now that you pointed it out. Here it is on the machine that's still running a 2.6.38.8 kernel and has webmin installed.

Code: [Select]
[technician@localhost ~]$ rpm -qa | grep webmin
webmin-1.490-1pclos2009
[technician@localhost ~]$ locate libnsl
/lib/libnsl-2.13.so
/lib/libnsl.so.1
/usr/lib/libnsl.so
/usr/uclibc/lib/libnsl-0.9.30.1.so
/usr/uclibc/lib/libnsl.so.0.9.30.1
[technician@localhost ~]$

I sure can't figure out what package provides it, though.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 740
Re: webmin won't install with newer kernel running
« Reply #8 on: July 03, 2012, 03:07:13 AM »
I sure can't figure out what package provides it, though.

It's part of the standard C library  ;)

Code: [Select]
[terry@dell ~]$ rpm -qf /lib/libnsl.so.1
glibc-2.13-4pclos2011

or

Code: [Select]
[terry@dell ~]$ apt-cache whatprovides libnsl.so.1
<libnsl.so.1>
  glibc-2.13-4pclos2011
    Provides: <libnsl.so.1>

Terry
« Last Edit: July 03, 2012, 03:17:58 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: webmin won't install with newer kernel running
« Reply #9 on: July 03, 2012, 03:23:51 AM »
Thanks, Terry. I'll have to remember the rpm -qf next time. Actually, if I had gone the full yard on apt-cache whatprovides ...  ;D  Live and learn.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 740
Re: webmin won't install with newer kernel running
« Reply #10 on: July 03, 2012, 03:42:51 AM »
The problem here is that there is a  %pre scriptlet in the SPEC file which determines what OS type it is running on in order to choose what port webmin should listen on.

The scriptlet only checks for 2.0, 2.2, 2.4, 2.6 and 2.7 kernels.

Terry.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 638
  • I Only 'Clean' Windows !.
Re: webmin won't install with newer kernel running
« Reply #11 on: July 03, 2012, 08:29:42 AM »
Thanks for the info  :)

I see there is another webmin release ..    http://www.webmin.com/

Webmin 1.590 and Usermin 1.510 released

This release includes German, Dutch, Catalan and Norwegian translation updates, Ubuntu 12.04 support, a new contributed module for Shorewall6, DNSSEC-Tools support in the BIND module, UI cleanups in the Disk and Network Filesystems module, a new UI for creating an SSL CSR, Unix password restriction improvements, and a vast number of small bugfixes and other improvements. You can get it from the Webmin downloads page, or from our YUM or APT repositories.

June 30, 2012
« Last Edit: July 03, 2012, 08:34:55 AM by pclinmike »
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.