https://bugs.winehq.org/show_bug.cgi?id=55256
Bug ID: 55256 Summary: apt update does not find any upgrade for 8.0~repack-4 installed version Product: Wine-staging Version: 8.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: b1779506@trbvn.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Os is ubuntu 23.04 Lunar Lobster, with the repo added: sudo dpkg --add-architecture i386 sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/winehq-lunar.sources
Installed versions of wine: fonts-wine/lunar,lunar,lunar,lunar,lunar,lunar,now 8.0~repack-4 all [installed] libkwineffects14/lunar,lunar,lunar,now 4:5.27.4-0ubuntu1 amd64 [installed,automatic] libwine-development/lunar,lunar,lunar,now 7.20~repack-1 amd64 [installed,automatic] libwine/lunar,lunar,lunar,now 8.0~repack-4 amd64 [installed,automatic] libwine/lunar,lunar,lunar,now 8.0~repack-4 i386 [installed,automatic] wine32/lunar,lunar,lunar,now 8.0~repack-4 i386 [installed] wine64/lunar,lunar,lunar,now 8.0~repack-4 amd64 [installed] wine/lunar,lunar,lunar,lunar,lunar,lunar,now 8.0~repack-4 all [installed,automatic] winetricks/lunar,lunar,lunar,lunar,lunar,lunar,now 20220411-1 all [installed]
Running apt update; apt updgrade does not install the desired 8.12.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #1 from Otto b1779506@trbvn.com --- sudo apt install --install-recommends winehq-staging Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package winehq-staging
https://bugs.winehq.org/show_bug.cgi?id=55256
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Packaging Distribution|--- |Ubuntu CC| |dimesio@earthlink.net, | |o.dierick@piezo-forte.be Version|8.12 |unspecified Component|-unknown |wine-packages
https://bugs.winehq.org/show_bug.cgi?id=55256
jkfloris@dds.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jkfloris@dds.nl
--- Comment #2 from jkfloris@dds.nl --- (In reply to Otto from comment #0)
Os is ubuntu 23.04 Lunar Lobster, with the repo added: sudo dpkg --add-architecture i386 sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/winehq-lunar.sources
Installed versions of wine: fonts-wine/lunar,lunar,lunar,lunar,lunar,lunar,now 8.0~repack-4 all [installed] libkwineffects14/lunar,lunar,lunar,now 4:5.27.4-0ubuntu1 amd64 [installed,automatic] libwine-development/lunar,lunar,lunar,now 7.20~repack-1 amd64 [installed,automatic] libwine/lunar,lunar,lunar,now 8.0~repack-4 amd64 [installed,automatic] libwine/lunar,lunar,lunar,now 8.0~repack-4 i386 [installed,automatic] wine32/lunar,lunar,lunar,now 8.0~repack-4 i386 [installed] wine64/lunar,lunar,lunar,now 8.0~repack-4 amd64 [installed] wine/lunar,lunar,lunar,lunar,lunar,lunar,now 8.0~repack-4 all [installed,automatic] winetricks/lunar,lunar,lunar,lunar,lunar,lunar,now 20220411-1 all [installed]
Running apt update; apt updgrade does not install the desired 8.12.
The WineHQ packages have a different name and therefore do not automatically replace Ubuntu's Wine packages.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #3 from jkfloris@dds.nl --- (In reply to Otto from comment #1)
sudo apt install --install-recommends winehq-staging Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package winehq-staging
Check that the WineHQ repo has been added correctly with: apt policy
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #4 from Otto b1779506@trbvn.com --- (In reply to jkfloris from comment #3)
Check that the WineHQ repo has been added correctly with: apt policy
WINE has not been adeed, there are only several http://security.ubuntu.com/ubuntu and http://archive.ubuntu.com/ubuntu
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #5 from Otto b1779506@trbvn.com --- Probably this is the culprit, the rest of the commands are ok:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/winehq-lunar.sources --2023-07-15 11:08:50-- https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/winehq-lunar.sources Resolving dl.winehq.org (dl.winehq.org)... 151.101.134.217 Connecting to dl.winehq.org (dl.winehq.org)|151.101.134.217|:443... connected. HTTP request sent, awaiting response... 304 Not Modified File ‘/etc/apt/sources.list.d/winehq-lunar.sources’ not modified on server. Omitting download.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #6 from Otto b1779506@trbvn.com --- The issue is not new: https://askubuntu.com/questions/1448674/winhq-on-ubuntu-22-04-issues-304-not...
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #7 from jkfloris@dds.nl --- Try: sudo rm /etc/apt/sources.list.d/winehq-lunar.sources sudo wget -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/winehq-lunar.sources
sudo apt update sudo apt install --install-recommends winehq-staging
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #8 from Otto b1779506@trbvn.com --- (In reply to jkfloris from comment #7)
Try: sudo rm /etc/apt/sources.list.d/winehq-lunar.sources sudo wget -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/winehq-lunar.sources
sudo apt update sudo apt install --install-recommends winehq-staging
Now works, please update the wiki accordingly: https://wiki.winehq.org/Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #9 from Otto b1779506@trbvn.com --- I can't create a wiki account, is this even possible for new users?
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #10 from jkfloris@dds.nl --- Did "sudo rm /etc/apt/sources.list.d/winehq-lunar.sources" return the error message "rm: cannot remove 'winehq-lunar.sources': No such file or directory"?
The "N" option makes sure that the file is not downloaded twice and fills the whole sources.list.d directory with .sources(n) files. So the output you got the first time is expected if the file already exists.
Unfortunately, I'm not sure why it didn't work initially.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #11 from Otto b1779506@trbvn.com --- (In reply to jkfloris from comment #10)
Did "sudo rm /etc/apt/sources.list.d/winehq-lunar.sources" return the error message "rm: cannot remove 'winehq-lunar.sources': No such file or directory"?
The "N" option makes sure that the file is not downloaded twice and fills the whole sources.list.d directory with .sources(n) files. So the output you got the first time is expected if the file already exists.
Unfortunately, I'm not sure why it didn't work initially.
No error when removing it, since did it as root and apt was not running.
What can be done is to add the rm to the wiki just in case make sure it's always non-existent.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #12 from Otto b1779506@trbvn.com --- Created attachment 74876 --> https://bugs.winehq.org/attachment.cgi?id=74876 improvement for wiki (please add I don't have account)
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #13 from jkfloris@dds.nl --- If the winehq-lunar.sources file already exists, there is no need to download it again. If this file does not work, I am curious about its contents.
If this is a common problem and the cause of it is known, I can update the wiki.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #14 from Otto b1779506@trbvn.com --- (In reply to jkfloris from comment #13)
If the winehq-lunar.sources file already exists, there is no need to download it again. If this file does not work, I am curious about its contents.
If this is a common problem and the cause of it is known, I can update the wiki.
I have deleted it as you told me, why didn't you ask for its contents first? I'll see if I have some backup, otherwise there's nothing we can do.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #15 from jkfloris@dds.nl --- Yeah, I just thought of that too, but unfortunately it was too late.
On the Wine forum I can find one user who has/had the same problem, and Google also gives only two hits, neither of which is clear what the problem was. It looks like that after adding the .sources file, "apt update" was not performed.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #16 from Otto b1779506@trbvn.com --- The file https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/winehq-lunar.sources was always the same, or is there any way to see all versions of it? Maybe check for its contents at the time of 8.0~repack-4.
https://bugs.winehq.org/show_bug.cgi?id=55256
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=55256
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1
--- Comment #17 from Ken Sharp imwellcushtymelike@gmail.com --- What, exactly, is the issue here? There's at least three different things mentioned here and two of them are correct behaviour.
E: Unable to locate package winehq-staging
That could be an issue, or you could have just hit the repo while it was getting updated, though I can't image that takes more than few seconds. In which case you could just try again.
It works fine here. I assume it's now working fine for you?
If wget is incorrectly reporting that a file has not been updated, when it doesn't exist, then this has nothing to do with Wine and should be fixed in wget. However, I doubt that is the case.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #18 from Otto b1779506@trbvn.com --- (In reply to Ken Sharp from comment #17)
What, exactly, is the issue here? There's at least three different things mentioned here and two of them are correct behaviour.
E: Unable to locate package winehq-staging
That could be an issue, or you could have just hit the repo while it was getting updated, though I can't image that takes more than few seconds. In which case you could just try again.
It works fine here. I assume it's now working fine for you?
If wget is incorrectly reporting that a file has not been updated, when it doesn't exist, then this has nothing to do with Wine and should be fixed in wget. However, I doubt that is the case.
The suspicion is that the local file was modified or the contents when it was download differ from the current ones, yet wget refuses to download the new one. So one test was to "cat /etc/apt/sources.list.d/winehq-lunar.sources" and see what's really inside. But since was removed now we can't know if its contents match the ones currently in the server or not.
https://bugs.winehq.org/show_bug.cgi?id=55256
--- Comment #19 from Otto b1779506@trbvn.com --- (In reply to jkfloris from comment #15)
Yeah, I just thought of that too, but unfortunately it was too late.
On the Wine forum I can find one user who has/had the same problem, and Google also gives only two hits, neither of which is clear what the problem was. It looks like that after adding the .sources file, "apt update" was not performed.
Unfortunately my backup only has this one wine repo: /etc/apt/sources.list.d/winehq-jammy.sources
Which contains the following: Types: deb URIs: https://dl.winehq.org/wine-builds/ubuntu Suites: jammy Components: main Architectures: amd64 i386 Signed-By: /usr/share/keyrings/winehq-archive.key
It's not a big deal anyway, when the problem occurs it's not destructive, and if somebody has it won't work until manually fixed, so sure will notice the issue. When somebody has issues of this kind, they usually go to their distro forums or use other websites instead of reporting to WINE, this is why it's the first time the issue has been reported here.
You can close the bug, and expect other users having this problem to report it here instead of third party websites.
https://bugs.winehq.org/show_bug.cgi?id=55256
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |INVALID
--- Comment #20 from Rosanne DiMesio dimesio@earthlink.net --- AFAICT, this bug originated because the user expected the WineHQ packages to update the distro ones, which they aren't intended to do, and hadn't even added the WineHQ repository at the time. Both are user errors; marking invalid.
https://bugs.winehq.org/show_bug.cgi?id=55256
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Rosanne DiMesio dimesio@earthlink.net --- Closing invalid.