Auto-installer problems on 14.04

4 posts / 0 new
Last post
#1 Tue, 02/09/2016 - 19:08
kk21

Auto-installer problems on 14.04

Running into issues with install.sh on Ubuntu 14.04

Everything seem to succeed up until this point:

E: Unable to locate package webmin-core

The next set of errors are

E: Unable to locate package webmin
E: Unable to locate package usermin
E: Unable to locate package procmail-wrapper
E: Unable to locate package scponly

Then the log:

INFO - 2016-02-09 19:00:50 - Started installation log in /root/virtualmin-install.log
DEBUG - 2016-02-09 19:00:50 - Install mode: full
DEBUG - 2016-02-09 19:00:50 - Product: Virtualmin GPL
DEBUG - 2016-02-09 19:00:50 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2016-02-09 19:00:50 - install.sh version: 1.1.2
INFO - 2016-02-09 19:00:50 - Checking for fully qualified hostname...
INFO - 2016-02-09 19:00:50 - Hostname OK: fully qualified as XXXXX.XXXXXXXXX.com
INFO - 2016-02-09 19:00:51 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2016-02-09 19:00:51 - Loading OS selection library...
INFO - 2016-02-09 19:00:51 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2016-02-09 19:00:51 - Loading OS list...
INFO - 2016-02-09 19:00:51 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2016-02-09 19:00:51 - Operating system name:    Ubuntu Linux
INFO - 2016-02-09 19:00:51 - Operating system version: 14.04.3
INFO - 2016-02-09 19:00:51 - Configuring package manager for Ubuntu Linux 14.04.3...
INFO - 2016-02-09 19:00:51 - Enabling universe repositories, if not already available...
INFO - 2016-02-09 19:00:51 - Disabling cdrom repositories...
INFO - 2016-02-09 19:00:57 - Cleaning up apt headers and packages, so we can start fresh...
INFO - 2016-02-09 19:00:57 -
INFO - 2016-02-09 19:00:57 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2016-02-09 19:00:57 - Installing Webmin and Virtualmin package signing keys...
INFO - 2016-02-09 19:00:57 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2016-02-09 19:00:57 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2016-02-09 19:00:57 - OK
INFO - 2016-02-09 19:00:58 - OK
INFO - 2016-02-09 19:01:03 - Ign
INFO - 2016-02-09 19:01:03 - Removing Debian standard Webmin package, if they exist...
INFO - 2016-02-09 19:01:03 - Removing Debian apache packages...
DEBUG - 2016-02-09 19:01:04 - Reading
INFO - 2016-02-09 19:01:04 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install bsdutils postfix postfix-pcre webmin usermin ruby libxml-simple-perl libcrypt-ssleay-perl unzi
p zip libfcgi-dev bind9 spamassassin spamc procmail procmail-wrapper libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common pos
tgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-c
ustom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libapache2-mod-php5 php5-mysql
Reading package lists...
Building dependency tree...
Reading state information...
FATAL - 2016-02-09 19:01:05 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2016-02-09 19:01:05 - Cannot continue installation.
FATAL - 2016-02-09 19:01:05 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2016-02-09 19:01:05 - re-attempted after any problems have been resolved.
FATAL - 2016-02-09 19:01:05 - Removing temporary directory and files.
FATAL - 2016-02-09 19:01:05 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2016-02-09 19:01:05 - in /root/virtualmin-install.log

The only other post I saw that mentioned that error of being unable to locate the package for webmin-core was an unsupported version of Ubuntu. But 14.04 LTS is supported, yes?

Anyone else having problems like this?

Thanks so much for any help!

Wed, 02/10/2016 - 09:05
kk21

So I was able to work around the problem, using a hybrid of the installer and manual installation.

I grabbed webmin using

sudo sh -c 'echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list'
wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install webmin

I grabbed the missing dependencies from

http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-trusty/main/b... - Ubuntu Trusty Tahr (14.04 LTS) packages

http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/main/ - Ubuntu Trusty Tahr (14.04 LTS) packages

And then ran the install.sh again

I hope this was the right way to do things (everything seems to be working perfectly)

I really wanted to use the install script, to be sure everything was configured correctly.

No idea why it wasn't able to grab up the necessary files within the script itself, but this may be a workaround for other people in the same boat?

Wed, 02/10/2016 - 13:07
andreychek

Howdy,

That's a strange set of errors!

It should actually install onto Ubuntu 14.04 with no problems.

It makes it sounds as if it wasn't setting up the repository correctly. Or perhaps there was something confusing it about how to look for packages for your distro... though I'm not sure what that would be.

Your fix should be just fine, however, I'm curious what the output of this command is:

cat /etc/apt/sources.list

Thu, 02/11/2016 - 15:14 (Reply to #3)
kk21

Here you go!

#

# deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted

#deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty universe
deb http://ca.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ca.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main

Something missing?

Thanks for the info, I'm curious, too!

Topic locked