Page 1 of 1

[solved] Can't install Webmin

Posted: 29 Aug 2010, 04:48
by GuusS
Last week I received my new (and first) bubba 2. I intend to replace my old noisy Fedora server which I use as fileserver and as a webserver to develop sites. Since I'm not very good with Linux I'm used to use Webmin for the creation of databases, virtual hosts, users and so on. So I'm trying to get Webmin installed but with no success.

I can't get webmin via apt-get so I downloaded the .deb (version 1.41) which seems to install since all the files are now on bubba in /usr/share/webmin but I got errrors while installing which I can't seem to address:


bubba:/home/chief/private# dpkg --install webmin_1.410_all.deb
(Reading database ... 33424 files and directories currently installed.)
Unpacking webmin (from webmin_1.410_all.deb) ...
dpkg: dependency problems prevent configuration of webmin:
webmin depends on libnet-ssleay-perl; however:
Package libnet-ssleay-perl is not installed.
webmin depends on libauthen-pam-perl; however:
Package libauthen-pam-perl is not installed.
webmin depends on libmd5-perl; however:
Package libmd5-perl is not installed.
dpkg: error processing webmin (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
webmin

bubba:/home/chief/private# apt-get install libnet-ssleay-perl
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libnet-ssleay-perl: Depends: perl (>= 5.10.1-11) but 5.8.8-7etch6 is to be installed
Depends: perlapi-5.10.1
Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch10 is to be installed
Depends: libssl0.9.8 (>= 0.9.8m-1) but 0.9.8c-4etch9 is to be installed
webmin: Depends: libauthen-pam-perl but it is not going to be installed
Depends: libmd5-perl but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Webmin is not running.

I'm not completely sure what's wrong and why I can't install the dependencies, to me it looks like that everything is too old...

So I'm lost here.... and I'm hoping that someone here can point me in the right direction.

Re: Can't install Webmin

Posted: 29 Aug 2010, 09:08
by GNOE Inc..
I got Webmin up and running just by using

Code: Select all

apt-get install webmin
as root user.
aptitude search webmin
i webmin - A web-based administration interface for Unix systems.
aptitude show webmin
Pakket: webmin
Staat: geïnstalleerd
Automatisch geïnstalleerd: nee
Versie: 1.510-2
Prioriteit: optioneel
Sectie: admin
Beheerder: Jamie Cameron <jcameron@webmin.com>
Niet gecomprimeerde grootte: 90,2M
Hangt af van: bash, perl, libnet-ssleay-perl, openssl, libauthen-pam-perl, libpam-runtime, libio-pty-perl,
apt-show-versions
Hangt af van voorgeconfigureerde: bash, perl
Vervangt: webmin-adsl, webmin-apache, webmin-bandwidth, webmin-bind, webmin-burner, webmin-cfengine, webmin-cluster,
webmin-core, webmin-cpan, webmin-dhcpd, webmin-exim, webmin-exports, webmin-fetchmail, webmin-firewall,
webmin-freeswan, webmin-frox, webmin-fsdump, webmin-grub, webmin-heartbeat, webmin-htaccess, webmin-inetd,
webmin-jabber, webmin-ldap-netgroups, webmin-ldap-user-simple, webmin-ldap-useradmin, webmin-lilo,
webmin-logrotate, webmin-lpadmin, webmin-lvm, webmin-mailboxes, webmin-mon, webmin-mysql, webmin-nis,
webmin-openslp, webmin-postfix, webmin-postgresql, webmin-ppp, webmin-pptp-client, webmin-pptp-server,
webmin-procmail, webmin-proftpd, webmin-pserver, webmin-quota, webmin-samba, webmin-sarg, webmin-sendmail,
webmin-shorewall, webmin-slbackup, webmin-smart-status, webmin-snort, webmin-software, webmin-spamassassin,
webmin-squid, webmin-sshd, webmin-status, webmin-stunnel, webmin-updown, webmin-usermin, webmin-vgetty,
webmin-webalizer, webmin-wuftpd, webmin-wvdial, webmin-xinetd
Beschrijving: A web-based administration interface for Unix systems.
Using Webmin you can configure DNS, Samba, NFS, local/remote
Ignore the dutch descriptions... :)

Re: Can't install Webmin

Posted: 29 Aug 2010, 09:44
by GuusS
Obviously that was the first thing I tried :)

Could you post your sources.list?

I now removed webmin and did an

Code: Select all

apt-get install webmin
But no package is available:
bubba:/# apt-get install webmin
Reading package lists... Done
Building dependency tree... Done
Package webmin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package webmin has no installation candidate


I tried other sources to but without success.

Re: Can't install Webmin

Posted: 29 Aug 2010, 09:52
by GNOE Inc..
Which one? I've got three sources.list:

/usr/share/doc/apt/examples/sources.list
/usr/share/bubba-configs/apt/sources.list
/etc/apt/sources.list

Re: Can't install Webmin

Posted: 29 Aug 2010, 10:10
by GuusS
this one: /etc/apt/sources.list

Re: Can't install Webmin

Posted: 29 Aug 2010, 10:13
by GNOE Inc..

Code: Select all

Bubba:/etc/apt# cat sources.list
# BUBBA|TWO apt sources.list
#
# Changes in this file might break your system
# 
# vim: ft=debsources

# The stable BUBBA|TWO repository, is in the suite "stable".
deb http://update.excito.org/ marielle main

# The stable BUBBA|TWO repository, is in the suite "stable". source packages
#deb-src http://update.excito.org/ marielle main

# The upstream packages used in BUBBA|TWO, is in the suite "upstream_stable".
deb http://update.excito.org/ upstream_etch main

# The upstream packages used in BUBBA|TWO, is in the suite "upstream_stable". source packages
#deb-src http://update.excito.org/ upstream_etch main

# The debian etch repository containing unsupported packages that can be used.
# deb http://ftp.se.debian.org/debian etch main
deb http://archive.debian.org/debian etch main

# The debian etch repository containing unsupported packages that can be used. source packages
#deb-src http://ftp.se.debian.org/debian etch main                                                                    
                                                                                                                      
# The debian etch repository containing unsupported packages that can be used.                                        
#deb http://ftp.se.debian.org/debian etch contrib                                                                     
                                                                                                                      
# The debian etch repository containing unsupported packages that can be used. source packages
#deb-src http://ftp.se.debian.org/debian etch contrib

# The debian etch repository containing unsupported packages that can be used.
#deb http://ftp.se.debian.org/debian etch non-free

# The debian etch repository containing unsupported packages that can be used. source packages
#deb-src http://ftp.se.debian.org/debian etch non-free


# The unstable BUBBA|TWO repository, is in the suite "unstable".
#deb http://update.excito.org/ claire main

# The unstable BUBBA|TWO repository, is in the suite "unstable". source packages
#deb-src http://update.excito.org/ claire main

# The upstream packages used in unstable BUBBA|TWO, is in the suite "upstream_stable_forclaire".
#deb http://update.excito.org/ upstream_etch_forclaire main

# The upstream packages used in unstable BUBBA|TWO, is in the suite "upstream_stable_forclaire". source packages
#deb-src http://update.excito.org/ upstream_etch_forclaire main

Re: Can't install Webmin

Posted: 29 Aug 2010, 10:53
by GuusS
Thanks!

There was one difference :

Code: Select all

deb http://archive.debian.org/debian etch main
The rest is the same but when I want to install webmin with apt-get I still get the same error...

I don't get why you can just install webmin and I don't while the machines are identical.

meh.

Re: Can't install Webmin

Posted: 29 Aug 2010, 11:39
by GNOE Inc..
If you use the source 'deb http://archive.debian.org/debian etch main', you still get the same error?

Strange.... Beats me... :roll:

Maybe it has something to do that I installed Webmin a while ago, and several updates has been installed afterwards?

Re: [solved] Can't install Webmin

Posted: 30 Aug 2010, 04:59
by GuusS
I tried installing the .deb file again, which failed, I then tried to install missing dependencies which failed too. It was suggested to run

Code: Select all

apt-get install -f
after which all went well and Webmin was installed.

Thanks for helping me out GNOE inc.

Re: [solved] Can't install Webmin

Posted: 30 Aug 2010, 15:06
by GNOE Inc..
Your welcome, glad you found a working solution! :)

BTW, Does this mean you used the (downloaded) webmin .deb or used the webmin from the repository?

Re: [solved] Can't install Webmin

Posted: 31 Aug 2010, 19:03
by RandomUsername
I'm a bit late to the game but after editing your sources.list you have to run

Code: Select all

apt-get update 
for the changes to get picked up.

Re: [solved] Can't install Webmin

Posted: 01 Sep 2010, 03:39
by GuusS
@GNOE yes, I installed the downloaded .deb, not sure if it would have installed from the repository, but since it is installed i'm a happy camper.

@RandomUserName thanks, I know but the sources weren't the right ones for what I wanted, now it seems the sources are good, I now use these:

Code: Select all

deb http://archive.debian.org/debian etch main
deb http://archive.debian.org/debian etch contrib
deb http://archive.debian.org/debian etch non-free

Re: [solved] Can't install Webmin

Posted: 03 Oct 2010, 16:42
by BubbaUser
GuusS wrote:

Code: Select all

deb http://archive.debian.org/debian etch main
deb http://archive.debian.org/debian etch contrib
deb http://archive.debian.org/debian etch non-free
Thanks for these lines! :D

//Magnus

Re: [solved] Can't install Webmin

Posted: 10 Oct 2010, 09:00
by GNOE Inc..
Just for your information: Webmin can be successfully upgraded from version 1.510 to version 1.520 from the 'System Infomation' - page! :)