Manual recovery needed after key failure

This could be related to other repo-based operating system.

If the user is asked to enter a Serial and License, or if the download was corrupted, or if the download string for WGET was corrupted, or if the license key has changed:

VirtualMin will add the repository to /etc/apt/sources.list with the invalid serial and license. Future attempts to install after correctly typing the serial/license or correct install.sh will fail with 401. User must manually edit /etc/apt/sources.list and resolve this issue. It might be better to add this as it's own own file in /etc/apt/sources.list.d/ and clean it on reinstall.

Status: 
Active

Comments

Joe's picture
Submitted by Joe on Sun, 10/22/2017 - 22:37 Pro Licensee

Good catch. I'd noticed that, too, a couple weeks ago and failed to actually fix it. We used to remove the configuration after failed installs which prevents this problem, but that got disabled in VM6 and I never turned it back on (but I think that's probably how I'll solve this again).

And, yeah, I'll convert it to creating a virtualmin specific sources file.