Am I using the correct repo?

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.2
Webmin version 2.101
Virtualmin version 7.8.2 Pro
Related packages SUGGESTED

I running 22.04 but I’m not sure I’m using the right repo?

I have these lines in my /etc/apt/sources.list:

deb https://software.virtualmin.com/vm/6/apt virtualmin-focal main
deb https://software.virtualmin.com/vm/6/apt virtualmin-universal main

Are they correct for vmin pro under Ubuntu 22.04? I tried a few things like:

deb https://software.virtualmin.com/vm/7/apt virtualmin-jammy main

deb https://software.virtualmin.com/vm/7/pro/apt virtualmin-jammy main

deb https://software.virtualmin.com/vm/6/apt virtualmin-jammy main

but non of those worked. I thought 22.04 was officially supported by vmin? I think this info should be on the download/install page.Am I missing it?

My vmin server was running 20.04 but I’ve since upgraded it to 22.04 and apt disabled the vmin repos when it did the upgrade and I didn’t know what the correct repo to use was.

Maybe I should just re-run the install script? If I had snapshots I might’ve tried that already.

Thanks

Only rerun script with --setup switch, that will setup the repos. Use the latest script.

1 Like

I’ve done that but it hasn’t changed the repo URL so I presume it was correct?

bash virtualmin-install.sh -s

[INFO] Started Virtualmin 6 Professional software repositories setup
▣ Phase 1 of 1: Setup
Downloading Virtualmin 6 key :heavy_check_mark:
Installing Virtualmin 6 key :heavy_check_mark:
Downloading Webmin key :heavy_check_mark:
Installing Webmin key :heavy_check_mark:
Downloading repository metadata :heavy_check_mark:
Enabling universe repositories, if not already available :heavy_check_mark:
Disabling cdrom: repositories :heavy_check_mark:
Cleaning up software repo metadata :heavy_check_mark:
[SUCCESS] Repository configuration successful. You can now install Virtualmin
[SUCCESS] components using your OS package manager.

I have run virtualmin check-config and it says:

The Virtualmin APT repository is configured correctly

So I suppose it must be right.

You can switch to the /vm/7 repos if you want, but you don’t need to. There are no longer any Ubuntu version specific repos, though (no virtualmin-jammy, etc.).

The packages found in virtualmin-focal in the /vm/6 repos will work fine on Jammy. But Jammy will never be added as a repo, since there was never support in the Virtualmin 6 installer for Jammy, and the Virtualmin 7 installer and repos work differently with regard to Debian/Ubuntu versions.

In short: You don’t need to do anything, you can just re-enable the Virtualmin repos.

Or, if you really want to change, you can use the virtualmin setup-repos command to switch (assuming you’re up to date, that’s a relatively new command), or use the --setup flag with a new copy of the Virtualmin install script (don’t use old version of the install script for this, as it needs to know about new repos and know how to detect existing repo configs).

You ran the old (Virtualmin 6) script. You can’t expect the old install script to know about new install paths.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.