N: Repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' changed its 'Version' value from '18.04' to ''
E: Repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' changed its 'Codename' value from 'bionic' to ''
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Are you still using apt-get? That's been deprecated for some time; use apt. Installing from the current repository works fine here.
This was in the automatic update logs from the Ubuntu automatic updater. This uses a direct backend to apt and I can't confirm whether it is or isn't using `apt-get` or not. This said, if it is using `apt-get` that's because `apt-get` can be more usable in scriptable environments by automatic updates.
I pulled log data here directly from the system logs that the update system sent to me upon the error cases.
The repository is not misconfigured, but it has changed, and the changes are intentional. Using apt directly on the command line works without any problem.
As to how to straighten out the updater app, I'd try using apt on the command line and see if that straightens it out, and if it doesn't, ask on the Ubuntu forum what to do.
Nope, pretty sure it's misconfigured. Especially since `apt-get` is not yet deprecated. (These lack of items break basic package repo policy including Debian's I'm surprised you don't get them coming around and complaining more, but eh, end users vs. power users)
`apt-get` has not yet been deprecated by *any* of the developers in Ubuntu or Debian, therefore stating that it's 'deprecated' is an incorrect statement.
(FYI: I'm an Ubuntu Developer with the Server Team, so I'm well aware of whether apt-get is deprecated or not - and it is not)
(Just my 2 cents)
apt is the program for the end-user. It has the most common options and is user-friendly.
"Power users" still can use apt-get (there are options that aren't available in apt),
and probably they know how to accept changes in the repository InRelease file.
(FYI: I'm an Ubuntu Developer with the Server Team, so I'm well aware of whether apt-get is deprecated or not - and it is not)
Well then you should know far more than I about how to explicitly accept the changes as the updater app is demanding. As for the repository itself, as I said, it has changed. Ordinary users don't seem to be having a problem with it once they download the new key.
FYI (for power users who pay attention to things like repository structure), the WineHQ Debian and Ubuntu repositories no longer follow Debian structure. Instead, they use a flat structure to match the OBS repository structure. This may not be readily apparent when browsing the directories, because the old packages are still there in their old locations.
I get a different error now: the bionic Packages file seems to be partial (57840 bytes instead of 62840) and the hashes of course don't compare. This is the italian error:
Well, Google translate tells me that "Sincronizzazione del mirror in corso?" means "Mirror synchronization in progress?", and looking at the timestamp of the error message, that's my guess what happened. So try again, if you haven't already.
N: Repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' changed its 'Version' value from '18.04' to ''
E: Repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' changed its 'Codename' value from 'bionic' to ''
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N]
It lets us *bypass* the error, but the error still exists (it's still bound by apt-secure).
I would suggest that you update the wiki pages for the Ubuntu repos and such accordingly to make a notice about this. Because Mint, Ubuntu, Debian, etc. users will all have this problem whether using apt or not.
The instructions already tell users to run apt update. Are you saying that the message persists even after the changes are accepted through apt update?
I also wouldn't call it an error message. The information that the repository has changed is correct, and users already know that, because they had to download a new key. All the message does is ask them to confirm their acceptance.