Can't install Virtualmin on Debian 5 Lenny (install.sh)

3 posts / 0 new
Last post
#1 Mon, 05/16/2011 - 06:09
ndrwld

Can't install Virtualmin on Debian 5 Lenny (install.sh)

I've VPS with clean Debian Lenny installation.
On installation with install.sh script it gives me an error:
E: Package postfix-tls has no installation candidate

The problem is with:
Package postfix-tls is a virtual package provided by:
postfix 2.5.5-1.1+lenny1
You should explicitly select one to install.

My "sources.list":
deb http://ftp.de.debian.org/debian lenny main contrib non-free
deb http://ftp.de.debian.org/debian-volatile lenny/volatile main contrib non-free
deb http://ftp.de.debian.org/debian-security lenny/updates main contrib non-free
>

and "sources.liste"
deb http://ftp.de.debian.org/debian lenny main contrib non-free
deb-src http://ftp.de.debian.org/debian lenny main contrib non-free
deb http://ftp.de.debian.org/debian-volatile lenny/volatile main contrib non-free
deb http://ftp.de.debian.org/debian-security lenny/updates main contrib non-free

The problem exists with upgraded to newest packages (non Debian Squeeze) and clean not upgraded OS.

Looking forward to thank you for help.

Mon, 05/16/2011 - 09:18
andreychek

I have a suspicion what you're seeing is a bug created by having updated the installer to support squeeze.

Try editing the install.sh, and comment out lines 97. 98, and 99, which look like this:

if [ "$?" != 0 ]; then
       debdeps="$debdeps postfix-tls"
fi

I suspect it'll work after that.

-Eric

Mon, 05/16/2011 - 11:22
ndrwld

Solved! Thanks Eric, I can confirm that after commenting those three lines, installation process works fine.

Additional info: I'm using Debian 5 Lenny (32bit).

Topic locked