wine apt-get update error hash size mismatch (linux mint 22)

Questions about Wine on Linux
Locked
BENDER35
Newbie
Newbie
Posts: 2
Joined: Wed Oct 23, 2024 1:58 pm

wine apt-get update error hash size mismatch (linux mint 22)

Post by BENDER35 »

Hello

I'm commenting on the problem, according to the instructions on the Wine wiki, I had to migrate from Ubuntu Mate to Linux Mint 22 because one of the RAM modules has dropped (I now have 3.85 GB) and I had to put Linux Mint to remove some processes, when adding the Wine repo, I now have a problem, when doing apt-get update I get this error:

Code: Select all

Obj:1 http://deb.anydesk.com all InRelease
Ign:2 https://mirror.airenetworks.es/linuxmint/packages wilma InRelease
Obj:3 https://brave-browser-apt-release.s3.brave.com stable InRelease          
Obj:4 http://dl.google.com/linux/earth/deb stable InRelease                    
Obj:5 https://labs.eif.urjc.es/mirror/ubuntu noble InRelease                   
Obj:6 https://labs.eif.urjc.es/mirror/ubuntu noble-updates InRelease           
Obj:7 https://labs.eif.urjc.es/mirror/ubuntu noble-backports InRelease         
Obj:8 http://security.ubuntu.com/ubuntu noble-security InRelease               
Obj:9 http://repository.spotify.com stable InRelease                           
Obj:10 https://mirror.airenetworks.es/linuxmint/packages wilma Release         
Obj:11 https://packages.microsoft.com/repos/edge stable InRelease              
Obj:12 https://repo.steampowered.com/steam stable InRelease                    
Obj:13 https://dl.google.com/linux/chrome/deb stable InRelease                 
Obj:14 http://ddebs.ubuntu.com noble InRelease                                 
Obj:15 https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_24.04 ./ InRelease
Obj:16 https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu noble InRelease
Obj:17 https://packages.element.io/debian default InRelease                    
Obj:18 https://ppa.launchpadcontent.net/flexiondotorg/quickemu/ubuntu noble InRelease
Obj:19 http://ddebs.ubuntu.com noble-updates InRelease                         
Obj:20 https://deb.opera.com/opera-stable stable InRelease                     
Obj:21 https://updates.signal.org/desktop/apt xenial InRelease                 
Obj:22 https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu noble InRelease
Ign:23 https://releases.warp.dev/linux/deb stable InRelease
Obj:24 https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu noble InRelease
Des:25 https://dl.winehq.org/wine-builds/ubuntu noble InRelease [6.261 B]
Obj:26 https://releases.warp.dev/linux/deb stable Release
Des:29 https://dl.winehq.org/wine-builds/ubuntu noble/main amd64 Packages [43,8 kB]
Err:29 https://dl.winehq.org/wine-builds/ubuntu noble/main amd64 Packages
  El archivo tiene un tamaño inesperado (47408 != 43848). ¿La sincronización de la réplica está en progreso? [IP: 151.101.134.217 443]
  Hashes of expected file:
   - Filesize:43848 [weak]
   - SHA512:f77fd998887fe8fe66993a6dda49cd23f95b68122c6ba2b9f886eea701617e030049e8e50989d691eadbd7e85a921f858932d9403e441db50cd65d998ccaef76
   - SHA256:801997eeae2773c9bf92f99bfc92f624058a360cd83f07b5390c7b2adf2866f1
   - SHA1:58cda7c7e9315d005019576aa974840858631a28 [weak]
   - MD5Sum:e9e9575dfdb3ddc9277e02f0fb3856eb [weak]
  Release file created at: Sun, 06 Oct 2024 10:41:46 +0000
Des:30 https://dl.winehq.org/wine-builds/ubuntu noble/main i386 Packages [43,8 kB]
Err:30 https://dl.winehq.org/wine-builds/ubuntu noble/main i386 Packages
  
Leyendo lista de paquetes... Hecho
N: Omitiendo el uso del fichero configurado «main/binary-i386/Packages» ya que el repositorio «https://brave-browser-apt-release.s3.brave.com stable InRelease» no admite la arquitectura «i386»
E: Fallo al obtener https://dl.winehq.org/wine-builds/ubuntu/dists/noble/main/binary-amd64/Packages.xz  El archivo tiene un tamaño inesperado (47408 != 43848). ¿La sincronización de la réplica está en progreso? [IP: 151.101.134.217 443]
   Hashes of expected file:
    - Filesize:43848 [weak]
    - SHA512:f77fd998887fe8fe66993a6dda49cd23f95b68122c6ba2b9f886eea701617e030049e8e50989d691eadbd7e85a921f858932d9403e441db50cd65d998ccaef76
    - SHA256:801997eeae2773c9bf92f99bfc92f624058a360cd83f07b5390c7b2adf2866f1
    - SHA1:58cda7c7e9315d005019576aa974840858631a28 [weak]
    - MD5Sum:e9e9575dfdb3ddc9277e02f0fb3856eb [weak]
   Release file created at: Sun, 06 Oct 2024 10:41:46 +0000
E: Fallo al obtener https://dl.winehq.org/wine-builds/ubuntu/dists/noble/main/binary-i386/Packages.xz  
E: No se han podido descargar algunos archivos de índice, se han omitido, o se han utilizado unos antiguos en su lugar.
I have tried everything, deleting the package lists and regenerating them, deleting the apt cache but I get an error, when I go to the partial folder, the two package files show 0, preventing me from installing wine 9.20 BETA.

Please, could you look at it on the server and update the packages and inrealese?

Regards
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine apt-get update error hash size mismatch (linux mint 22)

Post by dimesio »

BENDER35
Newbie
Newbie
Posts: 2
Joined: Wed Oct 23, 2024 1:58 pm

Re: wine apt-get update error hash size mismatch (linux mint 22)

Post by BENDER35 »

Hello

I have been able to see the partial folder and it shows that the last modification date is October 6:
-rw-r--r-- 1 root root 6261 oct 6 12:41 dl.winehq.org_wine-builds_ubuntu_dists_noble_InRelease
-rw-r--r-- 1 root root 0 oct 19 10:39 dl.winehq.org_wine-builds_ubuntu_dists_noble_main_binary-amd64_Packages.xz
-rw-r--r-- 1 root root 0 oct 19 10:39 dl.winehq.org_wine-builds_ubuntu_dists_noble_main_binary-i386_Packages.xz.FAILED
Would there be any way to force apt to download the inrelease with the correct date and with the correct size packages?

greetings

EDIT: I tried typing the winehq-devel installation command and the package does not appear.
Last edited by BENDER35 on Wed Oct 23, 2024 3:46 pm, edited 1 time in total.
servius
Newbie
Newbie
Posts: 1
Joined: Wed Oct 23, 2024 9:04 pm

Re: wine apt-get update error hash size mismatch (linux mint 22)

Post by servius »

dimesio wrote: Wed Oct 23, 2024 2:32 pm It's a known issue with the mirror sync.

https://bugs.winehq.org/show_bug.cgi?id=57345
https://bugs.winehq.org/show_bug.cgi?id=57342
Given the links you provided, do you think it would be solved soon? looks like an ocasional error for me
regs01
Newbie
Newbie
Posts: 3
Joined: Wed Oct 16, 2024 6:39 pm

Re: wine apt-get update error hash size mismatch (linux mint 22)

Post by regs01 »

InRelease/Release were not updated
regs01
Newbie
Newbie
Posts: 3
Joined: Wed Oct 16, 2024 6:39 pm

Re: wine apt-get update error hash size mismatch (linux mint 22)

Post by regs01 »

updated by now
BENDER35
Newbie
Newbie
Posts: 2
Joined: Wed Oct 23, 2024 1:58 pm

Re: wine apt-get update error hash size mismatch (linux mint 22)

Post by BENDER35 »

Hello

As of today I have enabled the wine repo and it is now working (they have managed to fix the error with the release files) and I have been able to install the wine beta version 9.20 without any problem on Linux Mint 22.

Thank you very much for the help.

Regards
Locked