unexpected file size repo errors

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
xaol
Posts: 311
Joined: Wed Mar 03, 2021 8:30 am

unexpected file size repo errors

#1 Post by xaol »

i read today's blog post that mentioned the master repo so i am not sure if this might pertain to that. i saw these errors when updating earlier. i tried a few different mirrors. the upgrade was successful but thought i would post in case it might help:

Code: Select all

sudo apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                   
Hit:3 http://deb.debian.org/debian bullseye InRelease                                               
Hit:5 https://linux.teamviewer.com/deb stable InRelease                                             
Get:4 https://us.mirror.ionos.com/linux/distributions/mx/packages/mx/repo bullseye InRelease [19.9 kB]
Get:6 https://us.mirror.ionos.com/linux/distributions/mx/packages/mx/repo bullseye/main amd64 Packages [396 kB]
Ign:6 https://us.mirror.ionos.com/linux/distributions/mx/packages/mx/repo bullseye/main amd64 Packages
Get:7 https://us.mirror.ionos.com/linux/distributions/mx/packages/mx/repo bullseye/main i386 Packages [390 kB]
Ign:6 https://mirror.us.oneandone.net/linux/distributions/mx/packages/mx/repo bullseye/main amd64 Packages
Err:6 https://mirror.us.oneandone.net/linux/distributions/mx/packages/mx/repo bullseye/main amd64 Packages
  File has unexpected size (395981 != 395974). Mirror sync in progress? [IP: 74.208.240.17 443]
Fetched 19.9 kB in 1s (18.4 kB/s)
Reading package lists... Done
E: Failed to fetch https://mirror.us.oneandone.net/linux/distributions/mx/packages/mx/repo/dists/bullseye/main/binary-amd64/Packages  File has unexpected size (395981 != 395974). Mirror sync in progress? [IP: 74.208.240.17 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt update
Hit:1 http://deb.debian.org/debian bullseye-updates InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye InRelease 
Hit:4 https://linux.teamviewer.com/deb stable InRelease                              
Get:5 http://la.mxrepo.com/mx/repo bullseye InRelease [19.9 kB]
Get:6 http://la.mxrepo.com/mx/repo bullseye/main amd64 Packages [396 kB]
Err:6 http://la.mxrepo.com/mx/repo bullseye/main amd64 Packages
  File has unexpected size (395981 != 395974). Mirror sync in progress? [IP: 168.235.86.94 80]
  Hashes of expected file:
   - Filesize:395974 [weak]
   - SHA256:0f32ce36e5967c53586dcc8428402f246984031cd0273a3daf0143cb3c67f878
   - SHA1:8678a6fcb7d2022893da10b63b59bc8fe9e28031 [weak]
   - MD5Sum:7ebdead9a4fd98e4e2777c04451cdbc3 [weak]
  Release file created at: Fri, 11 Oct 2024 20:11:39 +0000
Get:7 http://la.mxrepo.com/mx/repo bullseye/main i386 Packages [390 kB]
Get:8 http://la.mxrepo.com/mx/repo bullseye/main amd64 Contents (deb) [2,189 kB]
Get:9 http://la.mxrepo.com/mx/repo bullseye/main i386 Contents (deb) [2,259 kB]
Get:10 http://la.mxrepo.com/mx/repo bullseye/non-free i386 Packages [48.5 kB]
Get:11 http://la.mxrepo.com/mx/repo bullseye/non-free amd64 Packages [47.5 kB]
Get:12 http://la.mxrepo.com/mx/repo bullseye/non-free amd64 Contents (deb) [26.7 kB]
Get:13 http://la.mxrepo.com/mx/repo bullseye/non-free i386 Contents (deb) [25.8 kB]
Fetched 5,007 kB in 1s (3,656 kB/s)       
Reading package lists... Done
E: Failed to fetch http://la.mxrepo.com/mx/repo/dists/bullseye/main/binary-amd64/Packages.gz  File has unexpected size (395981 != 395974). Mirror sync in progress? [IP: 168.235.86.94 80]
   Hashes of expected file:
    - Filesize:395974 [weak]
    - SHA256:0f32ce36e5967c53586dcc8428402f246984031cd0273a3daf0143cb3c67f878
    - SHA1:8678a6fcb7d2022893da10b63b59bc8fe9e28031 [weak]
    - MD5Sum:7ebdead9a4fd98e4e2777c04451cdbc3 [weak]
   Release file created at: Fri, 11 Oct 2024 20:11:39 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                       
Hit:3 http://deb.debian.org/debian bullseye InRelease                                               
Hit:4 https://linux.teamviewer.com/deb stable InRelease                  
Get:5 https://mxrepo.com/mx/repo bullseye InRelease [19.9 kB]
Get:6 https://mxrepo.com/mx/repo bullseye/main amd64 Packages [396 kB]
Err:6 https://mxrepo.com/mx/repo bullseye/main amd64 Packages
  File has unexpected size (395981 != 395974). Mirror sync in progress? [IP: 70.40.214.183 443]
  Hashes of expected file:
   - Filesize:395974 [weak]
   - SHA256:0f32ce36e5967c53586dcc8428402f246984031cd0273a3daf0143cb3c67f878
   - SHA1:8678a6fcb7d2022893da10b63b59bc8fe9e28031 [weak]
   - MD5Sum:7ebdead9a4fd98e4e2777c04451cdbc3 [weak]
  Release file created at: Fri, 11 Oct 2024 20:11:39 +0000
Get:7 https://mxrepo.com/mx/repo bullseye/main i386 Packages [390 kB]
Get:8 https://mxrepo.com/mx/repo bullseye/main amd64 Contents (deb) [2,189 kB]
Get:9 https://mxrepo.com/mx/repo bullseye/main i386 Contents (deb) [2,259 kB]
Get:10 https://mxrepo.com/mx/repo bullseye/non-free i386 Packages [48.5 kB]
Get:11 https://mxrepo.com/mx/repo bullseye/non-free amd64 Packages [47.5 kB]
Get:12 https://mxrepo.com/mx/repo bullseye/non-free i386 Contents (deb) [25.8 kB]
Get:13 https://mxrepo.com/mx/repo bullseye/non-free amd64 Contents (deb) [26.7 kB]
Fetched 19.9 kB in 1s (23.9 kB/s)
Reading package lists... Done
E: Failed to fetch https://mxrepo.com/mx/repo/dists/bullseye/main/binary-amd64/Packages.gz  File has unexpected size (395981 != 395974). Mirror sync in progress? [IP: 70.40.214.183 443]
   Hashes of expected file:
    - Filesize:395974 [weak]
    - SHA256:0f32ce36e5967c53586dcc8428402f246984031cd0273a3daf0143cb3c67f878
    - SHA1:8678a6fcb7d2022893da10b63b59bc8fe9e28031 [weak]
    - MD5Sum:7ebdead9a4fd98e4e2777c04451cdbc3 [weak]
   Release file created at: Fri, 11 Oct 2024 20:11:39 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

User avatar
Eadwine Rose
Administrator
Posts: 14912
Joined: Wed Jul 12, 2006 2:10 am

Re: unexpected file size repo errors

#2 Post by Eadwine Rose »

With all help requests, as per forum rules (which, if you haven't, please read), please share your full Quick System Info, do not edit.
If need be, you can do this using the LiveUSB, thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

xaol
Posts: 311
Joined: Wed Mar 03, 2021 8:30 am

Re: unexpected file size repo errors

#3 Post by xaol »

since the upgrade went through just fine, this wasn't a help request for my system. i thought it might help those who deal with the repos in case there was something on that end.

Code: Select all

System:    Kernel: 5.10.0-33-amd64 [5.10.226-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-33-amd64 root=UUID=<filter> ro 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower April 9  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: LENOVO product: 20BG0011US v: ThinkPad W540 serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 20BG0011US v: 0B98401 WIN serial: <filter> UEFI: LENOVO 
           v: GNET93WW (2.41 ) date: 04/13/2020 
Battery:   ID-1: BAT0 charge: 63.3 Wh (98.6%) condition: 64.2/99.5 Wh (64.6%) volts: 12.2 
           min: 10.8 model: SANYO 45N1779 type: Li-ion serial: <filter> status: Not charging 
CPU:       Info: Quad Core model: Intel Core i7-4700MQ bits: 64 type: MT MCP arch: Haswell 
           family: 6 model-id: 3C (60) stepping: 3 microcode: 28 cache: L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38309 
           Speed: 1253 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 1253 2: 1306 3: 1366 
           4: 1302 5: 1314 6: 1213 7: 1268 8: 1368 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: reg_file_data_sampling status: Not affected 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300 
           Device-2: NVIDIA GK107GLM [Quadro K1100M] vendor: Lenovo driver: nouveau v: kernel 
           bus-ID: 01:00.0 chip-ID: 10de:0ff6 class-ID: 0300 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1280x720 s-dpi: 96 s-size: 339x191mm (13.3x7.5") 
           s-diag: 389mm (15.3") 
           Monitor-1: eDP-1 res: 1280x720 hz: 60 dpi: 96 size: 340x190mm (13.4x7.5") 
           diag: 389mm (15.3") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 20.3.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403 
           Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403 
           Device-3: NVIDIA GK107 HDMI Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus-ID: 01:00.1 chip-ID: 10de:0e1b class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-33-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Ethernet I217-LM vendor: Lenovo driver: e1000e v: kernel port: 5080 
           bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel modules: wl port: 4000 
           bus-ID: 03:00.0 chip-ID: 8086:08b2 class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
           IF-ID-1: virbr0 state: down mac: <filter> 
Drives:    Local Storage: total: 2.73 TiB used: 1.36 TiB (49.9%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB size: 931.51 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: 3B6Q scheme: GPT 
           ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Sabrent model: enclosure size: 1.82 TiB 
           block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.01 
           scheme: GPT 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw-size: 897.02 GiB size: 881.87 GiB (98.31%) used: 19.03 GiB (2.2%) fs: ext4 
           dev: /dev/sda5 maj-min: 8:5 
           ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%) used: 5.5 MiB (1.1%) fs: vfat 
           dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2 
           maj-min: 8:2 
Sensors:   System Temperatures: cpu: 54.0 C mobo: 0.0 C gpu: nouveau temp: 54.0 C 
           Fan Speeds (RPM): cpu: 2314 
Repos:     Packages: 2176 note: see --pkg apt: 2171 lib: 1060 flatpak: 5 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://mirror.us.oneandone.net/linux/distributions/mx/packages/mx/repo/ bullseye main non-free
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
Info:      Processes: 271 Uptime: 56m wakeups: 2 Memory: 15.5 GiB used: 2.66 GiB (17.2%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI

User avatar
timkb4cq
Developer
Posts: 3614
Joined: Wed Jul 12, 2006 4:05 pm

Re: unexpected file size repo errors

#4 Post by timkb4cq »

Thank you for your report. There was a syncing error. It's now fixed on the Main server, the mirrors will update on their regular schedules so it may be a few hours before your mirror stops showing the error.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

xaol
Posts: 311
Joined: Wed Mar 03, 2021 8:30 am

Re: unexpected file size repo errors

#5 Post by xaol »

happy to help :) all good on this end now. thank you for getting that all sorted.

Post Reply

Return to “MX Help”