W: Conflicting distribution: http://software.virtualmin.com/vm/6/gpl/apt virtualmin-focal InRelease (expected virtualmin-focal but got focal)
W: Conflicting distribution: http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal InRelease (expected virtualmin-universal but got focal)
E: Failed to fetch http://software.virtualmin.com/vm/6/gpl/apt/dists/virtualmin-focal/main/cnf/Commands-amd64 404 Not Found [IP: 163.172.162.254 80]
E: Failed to fetch http://software.virtualmin.com/vm/6/gpl/apt/dists/virtualmin-universal/main/cnf/Commands-amd64 404 Not Found [IP: 163.172.162.254 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu focal main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu focal-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu focal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu focal universe
# deb-src http://us.archive.ubuntu.com/ubuntu focal universe
deb http://us.archive.ubuntu.com/ubuntu focal-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu focal-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu focal multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu focal multiverse
deb http://us.archive.ubuntu.com/ubuntu focal-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu focal-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner
deb http://us.archive.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu focal-security main restricted
deb http://us.archive.ubuntu.com/ubuntu focal-security universe
# deb-src http://us.archive.ubuntu.com/ubuntu focal-security universe
deb http://us.archive.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu focal-security multiverse"
I am still not sure what’s wrong. Sorry. Besides, I didn’t see what’s under /etc/apt . I don’t do our repos but @Joe does, he must have more insights about it. Although people with familiar issue mentioned that the following command would work:
apt-get update -y --allow-releaseinfo-change
However, I wouldn’t recommend just applying this command blindly and rather suggested to figure out what’s the real cause of these error messages.
Well, Webmin “forces” an update by listing the names of the packages to be installed explicitly.
Try zipping up and attach to this ticket /etc/apt directory. I haven’t seen this error before. It would be interesting to understand what’s causing it.
I don’t see how those errors can be accurate, though I did make some changes to how repos are handled in preparation for Virtualmin 7, and I rolled some new procmail-wrapper packages last night to all distro repos (which hasn’t happened in a long time for Ubuntu/Debian). But, our repos were never labeled with Origin Ubuntu or Label Ubuntu or Suite “focal-security”, etc. I don’t know how your apt would have become convinced of those things…doesn’t make sense.
All those fields are virtualmin-universal (this is just what aptly does when not given more details, apt repos are needlessly stupidly complex), and I’m pretty sure that’s always been the case for vm6 repos. Old repos were different, as I used different tools to manage them, and switching does result in some weirdness, but not like this.
Your errors make it look like you downloaded some Ubuntu repo metadata on the Virtualmin repo names somehow (or copied it in /var/lib/apt/lists). I honestly can’t imagine any reasonable scenario that gets your system to where it is.
Edit: I just checked an old repo that hasn’t been modified since 2020, long before any changes to how I’m managing the repos, and it also has the same metadata style (e.g. virtualmin-focal instead of all the Ubuntu labels), so it’s definitely your system and not our repos.