After running Virtualmin on Debian 10, I decided to try Debian 12. Stopped vps, installed Debian 12. Downloaded the latest Virtualmin install.sh. And I get the same error if I use virtualmin-install.sh
The install fails
▣▣▣◻ Phase 3 of 4: Installation
Checking and installing system package updates
Installing Virtualmin 7 and all related packages [ERROR] Failed with error: 100
✘
[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
The following packages have unmet dependencies:
webmin : Depends: libnet-ssleay-perl but it is not installable
Depends: libauthen-pam-perl but it is not installable
Depends: libio-pty-perl but it is not installable
Depends: unzip but it is not installable
Recommends: libdatetime-perl but it is not installable
Recommends: libdatetime-timezone-perl but it is not installable
Recommends: libdatetime-locale-perl but it is not installable
Recommends: libencode-detect-perl but it is not installable
Recommends: lynx but it is not installable
E: Unable to correct problems, you have held broken packages.
Installing Virtualmin 7 and all related packages: [2024-01-10 14:10:58 PST] [ERROR] Failed with error: 100
[2024-01-10 14:10:58 PST] [ERROR] Something went wrong. Exiting.
[2024-01-10 14:10:58 PST] [ERROR] The last few log entries were:
Just figure out why package installation is failing. Your Debian 12 installation has broken apt sources, presumably. Our install script only installs packages in the standard OS repos or in our own repos (and we setup our own repos, so they’ll be right, assuming network is working).
The packages you can’t install are from the standard Debian repos. So, figure out why you can’t install standard Debian packages on your system.
No, of course not. It’s not a problem with the install script, or anything to do with us at all, as I already said.
It’s the apt configuration in /etc/apt/sources.list or in /etc/apt/sources.list.d. If you have root on the server, you can change those things, and if you don’t have root on the server, you can’t install Virtualmin, so we shouldn’t be having a conversation at all.
I’d recommend you learn about your OS and the package manager. Good package management is the coolest thing Linux has to offer over all the other options. Good package management is a joy to use, and it empowers you to understand a whole heck of a lot more about what’s happening on your system. It is table stakes for being a competent Linux server admin.
Thanks for that direction. I reinstalled Debian 12, checked /etc/apt/sources.list and found that there was a bunch of garbage (funny ascii symbols) at the end of the file.
I deleted those garbage lines. Then ran virtualmin-install.sh → successful install.
Thanks! I’m looking forward to running with Debian 12.