Installer error

10 posts / 0 new
Last post
#1 Wed, 12/16/2009 - 00:16
Owdy

Installer error

I follow these instructions: http://www.webmin.com/vdownload.html Webmin installer gives this error when trying to install those packages:

Failed to install package : Not a valid compressed or gzipped Debian DPKG file

I have Webmin installed.

Wed, 12/16/2009 - 04:27
svenx

I would recommend to uninstall the webmin and install the Virtualmin from the install.sh script. It can be downloaded from here: http://software.virtualmin.com/gpl/scripts/install.sh

just run ./iinstall.sh chmod +x, if it won't start.

Wed, 12/16/2009 - 15:57
Owdy

Ok, tryed that, now im getting this:

dpkg: error processing virtualmin-base (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: clamav-base clamav-freshclam clamav clamav-daemon postgresql-8.3 postgresql virtualmin-base FATAL - 2009-12-16 23:39:42 - Fatal Error Occurred: Installation failed: 0 FATAL - 2009-12-16 23:39:42 - Cannot continue installation. FATAL - 2009-12-16 23:39:42 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2009-12-16 23:39:42 - re-attempted after any problems have been resolved. FATAL - 2009-12-16 23:39:43 - Removing temporary directory and files. FATAL - 2009-12-16 23:39:43 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2009-12-16 23:39:43 - in /root/virtualmin-install.log

Wed, 12/16/2009 - 15:59
Owdy

Heres log

Fri, 12/18/2009 - 02:04
Owdy

Okay, i have clean 64bit Debian lenny. I run install.sh, get this:

Checking for HTTP client...found /usr/bin/wget -nv
Checking for perl...found /usr/bin/perl
2009-12-18 09:02:07 URL:http://software.virtualmin.com/lib/spinner [579/579] -> "spinner" [1]
Loading log4sh logging library...
2009-12-18 09:02:08 URL:http://software.virtualmin.com/lib/log4sh [21395/21395] -> "log4sh" [1]
INFO - Started installation log in /root/virtualmin-install.log
INFO - Checking for fully qualified hostname...
INFO - Hostname OK: fully qualified as ks354210.kimsufi.com
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library...
2009-12-18 09:02:09 URL:http://software.virtualmin.com/lib/oschooser.pl [4461/4461] -> "oschooser.pl" [1]
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list...
2009-12-18 09:02:09 URL:http://software.virtualmin.com/lib/os_list.txt [3047/3047] -> "os_list.txt" [1]
INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - Operating system name: Debian Linux
INFO - Operating system version: 5.0.3
INFO - Configuring package manager for Debian Linux 5.0.3...
INFO - Enabling universe repositories, if not already available...
INFO - Disabling cdrom repositories...
Hit ftp://mir1.ovh.net lenny Release.gpg
Hit ftp://mir1.ovh.net lenny Release
Get:1 ftp://mir1.ovh.net lenny/main Packages/DiffIndex
Ign ftp://mir1.ovh.net lenny/main Packages/DiffIndex
Get:2 ftp://mir1.ovh.net lenny/contrib Packages/DiffIndex
Ign ftp://mir1.ovh.net lenny/contrib Packages/DiffIndex
Get:3 ftp://mir1.ovh.net lenny/non-free Packages/DiffIndex
Ign ftp://mir1.ovh.net lenny/non-free Packages/DiffIndex
Get:4 ftp://mir1.ovh.net lenny/main Sources/DiffIndex
Ign ftp://mir1.ovh.net lenny/main Sources/DiffIndex
Get:5 ftp://mir1.ovh.net lenny/contrib Sources/DiffIndex
Ign ftp://mir1.ovh.net lenny/contrib Sources/DiffIndex
Get:6 ftp://mir1.ovh.net lenny/non-free Sources/DiffIndex
Ign ftp://mir1.ovh.net lenny/non-free Sources/DiffIndex
Hit ftp://mir1.ovh.net lenny/main Packages
Hit ftp://mir1.ovh.net lenny/contrib Packages
Hit ftp://mir1.ovh.net lenny/non-free Packages
Hit ftp://mir1.ovh.net lenny/main Sources
Hit ftp://mir1.ovh.net lenny/contrib Sources
Hit ftp://mir1.ovh.net lenny/non-free Sources
Get:7 http://security.debian.org lenny/updates Release.gpg [835B]
Get:8 http://security.debian.org lenny/updates Release [40.8kB]
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex
Get:9 http://security.debian.org lenny/updates/main Packages [245kB]
Hit http://security.debian.org lenny/updates/contrib Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Get:10 http://security.debian.org lenny/updates/main Sources [65.6kB]
Hit http://security.debian.org lenny/updates/contrib Sources
Hit http://security.debian.org lenny/updates/non-free Sources
Fetched 352kB in 0s (426kB/s) Reading package lists... Done INFO - Cleaning up apt headers and packages, so we can start fresh... INFO - 2009-12-18 09:02:13 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> "apt.conf.noninteractive" [1] INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded. INFO - Installing Webmin and Virtualmin package signing keys... 2009-12-18 09:02:13 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> "RPM-GPG-KEY-virtualmin" [1] INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded. 2009-12-18 09:02:13 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> "RPM-GPG-KEY-webmin" [1] INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded. INFO - OK INFO - OK INFO - Hit INFO - Removing Debian standard Webmin package, if they exist (because they're broken)... INFO - Removing Debian apache packages... E: Couldn't find package webmin-core INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip ...in progress, please wait... |E: Package webmin has no installation candidate /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip failed. Error (if any): 0

Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem: INFO - 2009-12-18 09:02:13 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded. INFO - 2009-12-18 09:02:13 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded. INFO - 2009-12-18 09:02:14 - OK INFO - 2009-12-18 09:02:14 - OK INFO - 2009-12-18 09:02:14 - Hit INFO - 2009-12-18 09:02:14 - Removing Debian standard Webmin package, if they exist (because they're broken)... INFO - 2009-12-18 09:02:14 - Removing Debian apache packages... DEBUG - 2009-12-18 09:02:14 - Reading INFO - 2009-12-18 09:02:15 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip Reading package lists... Building dependency tree... Reading state information... 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

FATAL - Fatal Error Occurred: Something went wrong during installation: 0 FATAL - Cannot continue installation. FATAL - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - re-attempted after any problems have been resolved. FATAL - Removing temporary directory and files. FATAL - If you are unsure of what went wrong, you may wish to review the log FATAL - in /root/virtualmin-install.log

Fri, 12/18/2009 - 02:05
Owdy

Using this script http://software.virtualmin.com/gpl/scripts/install.sh So something is wrong with that script.

Fri, 12/18/2009 - 08:02
jchatard

Same problem here!

Sun, 12/20/2009 - 03:24
Owdy

I tryed again.

  1. installed Debian Lenny
  2. apt-get update
  3. apt-get upgrade
  4. tryed install.sh

Script works! :)

Mon, 12/21/2009 - 11:26
andreychek

Hrm, my best guess is that there may have been a problem with the apt repository recently, that's since been corrected.

There's lots of meta-data that needs to be setup everytime a new release gets pushed out, and if something in all that were somehow corrupted, that could potentially cause what you're seeing.

I'm glad it's working now -- just yell if you run into further issues!

-Eric

Wed, 01/20/2010 - 09:15
jchatard

What I just did to make it work is:

NOTE I've put an extra space in http because input filters convert URL into links (grr).

Add to /etc/apt/sources.list:

deb h ttp://software.virtualmin.com/gpl/debian/ virtualmin-universal main
deb h ttp://software.virtualmin.com/gpl/debian/ virtualmin-lenny main

Then

apt-get update

Then run install.

Because as tried to debug the install script it was adding a line like this:

deb h ttp://software.virtualmin.com/gpl/debian/ virtualmin-lenny virtualmin-universal main

With both "virtualmin-lenny" AND "virtualmin-universal" which I guess was causing the problem because they are on the same line. Correct me if I'm wrong, but install fires well after this.

Jérémy

Topic locked