I have winehq-stable installed from winehq.org, which put the following lines in /etc/apt/sources.list:
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
#deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
Problem is, it has wine 3.0 installed, and wine 4.0 is available. Doing apt-get update doesn't find it; the only way to find it is to do:
sudo apt -o Acquire::AllowInsecureRepositories=true \
-o Acquire::AllowDowngradeToInsecureRepositories=true \
update
Supposedly there is a way to add the allow-insecure statement to the repository listing itself, so that apt will do it on an ordinary update, but I have tried about every combination listed in the man pages and none work. I also have not been able to figure out how to add the acquire statements into apt.conf.d. I added the following file, but apt-get update just ignores it:
greenman@Crynfyd18.04 /etc/apt/apt.conf.d$ cat 02Allow-insecure
APT::Acquire::AllowInsecureRepositories=true;
Any idea how to get this working so it will update wine as it is supposed to?
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
#deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
Problem is, it has wine 3.0 installed, and wine 4.0 is available. Doing apt-get update doesn't find it; the only way to find it is to do:
sudo apt -o Acquire::AllowInsecureRepositories=true \
-o Acquire::AllowDowngradeToInsecureRepositories=true \
update
Supposedly there is a way to add the allow-insecure statement to the repository listing itself, so that apt will do it on an ordinary update, but I have tried about every combination listed in the man pages and none work. I also have not been able to figure out how to add the acquire statements into apt.conf.d. I added the following file, but apt-get update just ignores it:
greenman@Crynfyd18.04 /etc/apt/apt.conf.d$ cat 02Allow-insecure
APT::Acquire::AllowInsecureRepositories=true;
Any idea how to get this working so it will update wine as it is supposed to?