Apt proxy for Ubuntu not working

Hi @nem,

This seems similar to this problem: https://community.sonatype.com/t/apt-proxy-metadata-problems/8428. I ran your command quickly on my desktop machine and get a similar error.

...
Get:14 https://sonatype.jodibooks.com/repository/ubuntu-jammy jammy/main DEP-11 48x48 Icons [100,0 kB]
Get:14 https://sonatype.jodibooks.com/repository/ubuntu-jammy jammy/main DEP-11 48x48 Icons [100,0 kB]
Get:14 https://sonatype.jodibooks.com/repository/ubuntu-jammy jammy/main DEP-11 48x48 Icons [100,0 kB]
Get:14 https://sonatype.jodibooks.com/repository/ubuntu-jammy jammy/main DEP-11 48x48 Icons [100,0 kB]
Get:14 https://sonatype.jodibooks.com/repository/ubuntu-jammy jammy/main DEP-11 48x48 Icons [100,0 kB]
Err:14 https://sonatype.jodibooks.com/repository/ubuntu-jammy jammy/main DEP-11 48x48 Icons
  File has unexpected size (151552 != 99980). Mirror sync in progress? [IP: 10.33.2.2 443]
  Hashes of expected file:
   - Filesize:99980 [weak]
   - SHA256:08f96e6e4777221e1c9441a8ef0bb5d57a06ca59bbd65bb493b8298f2d245059
   - SHA1:1329365b4cafca1a43323738be63c1f2f56a9ee2 [weak]
   - MD5Sum:93ba4d535ff87053f08ff47409ccf866 [weak]
  Release file created at: Thu, 21 Apr 2022 17:16:08 +0000
...

Do you run this on a Ubuntu server machine or desktop? I have this issue on my desktops, but servers work fine. Unfortunately I haven’t figured out how to solve it, but (for me) it seems to be related to the thumbnails/images for the desktop software manager.

Sorry for not being able to give you a solution, but I hope this helps you debug your issue further.

1 Like