The topic says that update for Webmin and Virtualmin is not possible, and as it is most likely repo mis-configuration issue, my suggestion should just fix the repos, so it will be later possible to just run apt-get upgrade to install latest Webmin and Virtuamin packages.
I think that Ilia is right. What ever package I want to upgrade I get the same error message. I changed also some URLs in the repository list but same error message.
[root@srv ~]# apt-get clean && apt-get update && apt-get upgrade
…
It doesn’t allow me to post more then two links
…
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
Calculating upgrade…
The following packages will be upgraded:
command-not-found linux-firmware openssh-client openssh-server
openssh-sftp-server python3-commandnotfound ubuntu-advantage-tools usermin
webmin
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 155 MB of archives.
After this operation, 8782 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
I wanted to upgrade the server because I’m having an issue with Let’s Encrypt. It can’t update the certs any more. And we were wondering why the past upgrade error mentioned Alternative/.
If I look at the error message from Let’s Encrypt I also find Alternative/:
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: Alternative//110329_10539_3_letsencrypt.cgi --os_type ‘debian-linux’ --os_version ‘11.0’ --real_os_type ‘Ubuntu Linux’ --real_os_version ‘20.04.3’
Do you know what it could be. One Cert after the other is loosing validation and the first of my clients is asking why he is getting a cert error in outlook.
What the heck did you do to your system? That’s just bizarre. Like, I’m having a hard time imagining how this could happen.
You’re going to need to find where that’s coming from. I can’t guess.
I’d start with this to try to find it: sudo grep -R 'Alternative/' /etc/
That may or may not find a clue. Maybe it’s something in profile or bashrc. Maybe it’s something else. It’s weird as hell, whatever it is. I don’t know how you’d make it appear on every command line like that.
Thanks for your prompt feedback and help. I don’t hack around on servers I don’t know well, especially on servers with client accounts. I set up the server about a year ago and the only thing I did was doing the updates that webmin/virtualmin advised me to do and about a month ago I started to get the message that the Lets Encrypt certificates validation couldn’t be prolonged. The same error message I posted here.
I found it. We had the same idea. I set it back to default. I remember that we had some problems making scheduled Virtualmin backups because the partition got out of space. Then we changed it as a workaround till we found a solution for the problem. And as usually, if you don’t do it immediately right, you will never do it right. Is it really a problem changing it? Do I have to consider something when I change it?
What were you trying to accomplish with this? This can’t possibly work, and it’s made a mess of everything Webmin ever setup for you with a per user temp dir.
Of course you can change it, but what you changed it to doesn’t make sense.
Edit: To be clear, that’s two separate values, where only one can be used. The two values are /home/TMP and Alternative/. A space makes this two values in a UNIX shell.