I tried to install usermin, webmin, and virtualmin from repositories onto a new system. When I try to install virtualmin it gives dependency errors.
I put this into /etc/apt/sources.list:usermin & webmin
deb http://download.webmin.com/download/repository sarge contribprocmail-wrapper virtualmin-base
deb http://software.virtualmin.com/gpl/debian/ virtualmin-wheezy main
I got and added the appropriate keys: wget http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc apt-key add RPM-GPG-KEY-virtualmin
I installed usermin and webmin without a problem.
When I install virtualmin-base, I get these dependency errors: $ sudo apt-get install virtualmin-base Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: virtualmin-base : Depends: webmin-virtual-server but it is not installable Depends: webmin-virtual-server-theme but it is not installable Depends: webmin-virtualmin-dav but it is not installable Depends: webmin-virtualmin-svn but it is not installable Depends: webmin-virtualmin-awstats but it is not installable Depends: webmin-virtualmin-mailman but it is not installable Depends: webmin-virtualmin-htpasswd but it is not installable Depends: libsasl2 but it is not installable Depends: usermin-virtual-server-theme but it is not installable Depends: webmin-security-updates but it is not installable E: Unable to correct problems, you have held broken packages.
I have sasl installed: $ dpkg -l sasl2-bin libsasl2-2 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===================-==============-==============-=========================================== ii libsasl2-2:amd64 2.1.25.dfsg1-6 amd64 Cyrus SASL - authentication abstraction lib ii sasl2-bin 2.1.25.dfsg1-6 amd64 Cyrus SASL - administration programs for SA
Why would it want libsasl2 which isn't a valid Debian package.
I cannot find any of the webmin-virtualmin packages. Why is the repository incomplete? Or why are these bogus dependencies in the package.
Is http://software.virtualmin.com/gpl/debian/ virtualmin-wheezy not the correct repository for Debian wheezy?
Submitted by andreychek on Mon, 08/11/2014 - 13:09 Comment #1
Howdy -- if possible, our suggestion would be to perform the installation using the install.sh script available in the "Download" link above.
Using that install script on a fresh install of Debian should install Virtualmin properly on Debian 7.
Submitted by cjfsyntropy on Mon, 08/11/2014 - 13:18 Comment #2
I wanted to use the package repositories for comprehensive package management. Using install.sh is my recourse of last resort.
If the packages are broken, maybe they should be removed so that others do not try to use them?
Submitted by andreychek on Mon, 08/11/2014 - 14:03 Comment #3
Virtualmin is actually designed to be installed using the install.sh script, which properly configures all the package repositories for you.
It's not a messy process that just throws files on the filesystem, the install.sh configures apt to point at the correct apt repositories, and pulls in packages from there. All future updates would then be coming from the Virtualmin apt repository.
I performed a test install onto Debian 7 just now, and wasn't able to reproduce a problem when using the install.sh script (which, as described above, does use the Virtualmin apt repository, and also handles updating the configuration of some services so that they'll work properly with Virtualmin).
If you don't wish to use the install.sh script, that's okay, but you'd be performing what we call a manual installation. It's highly difficult, but it can work. Instructions for doing that are here:
Since we aren't able to reproduce a problem when installing Virtualmin onto Debian 7, it doesn't appear that you're seeing a bug, it's likely a configuration issue.
If you continue to have questions regarding your manual install, it appears that you're using Virtualmin GPL there, and the best way for Virtualmin GPL users to get help is using the Forums... we monitor those, along with lots of wonderful folks in the community. Thanks!