Hash Sum, Fail to Fetch errors ...  [Solved]

Message
Author
MX_GRD
Posts: 85
Joined: Thu Jul 25, 2019 7:50 pm

Hash Sum, Fail to Fetch errors ...

#1 Post by MX_GRD »

Installed anti-32.1_x64-full.iso into Oracle VM VirtualBox 6.1 on my MX-21.3_x64 laptop.
Can anyone explain the errors in apt update? I'm not sure of the cause of the errors.

Code: Select all

System:
  Kernel: 6.1.60-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 clocksource: tsc
    available: kvm-clock,acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.60-antix.1-amd64-smp
    root=UUID=56d88c7f-2643-4b96-85fb-b03a3c53be8b ro quiet selinux=0
  Desktop: IceWM v: 3.4.5 dm: slimski v: 1.5.0 Distro: antiX-23.1_x64-full Arditi del Popolo 21
    February 2024 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Virtualbox System: innotek GmbH product: VirtualBox v: 1.2 serial: <superuser required>
    Chassis: Oracle Corporation type: 1 serial: <superuser required>
  Mobo: Oracle model: VirtualBox v: 1.2 serial: <superuser required> BIOS: innotek GmbH
    v: VirtualBox date: 12/01/2006
Battery:
  ID-1: BAT0 charge: 47.5 Wh (95.0%) condition: 50.0/50.0 Wh (100.0%) volts: 10.0 min: 10.0
    model: innotek 1 type: Unknown serial: N/A status: not charging
Memory:
  System RAM: total: 2.38 GiB available: 2.29 GiB used: 443.2 MiB (18.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i3-6006U bits: 64 arch: Skylake gen: core 6 level: v2 built: 2015
    process: Intel 14nm family: 6 model-id: 0x4E (78) stepping: 3 microcode: N/A
  Topology: cpus: 1x cores: 1 smt: <unsupported> cache: L1: 64 KiB desc: d-1x32 KiB; i-1x32 KiB
    L2: 256 KiB desc: 1x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): 1992 min/max: N/A core: 1: 1992 bogomips: 3984
  Flags: 3dnowprefetch abm aes apic arch_capabilities avx avx2 clflush clflushopt cmov
    constant_tsc cpuid cx16 cx8 de flush_l1d fpu fsgsbase fxsr ht hypervisor invpcid
    invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae
    pat pcid pclmulqdq pge pni popcnt pse pse36 pti rdrand rdseed rdtscp rep_good sep sse sse2
    sse4_1 sse4_2 ssse3 syscall tsc tsc_known_freq vme x2apic xsave xtopology
  Vulnerabilities:
  Type: gather_data_sampling status: Unknown: Dependent on hypervisor status
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT Host state unknown
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT Host state unknown
  Type: retbleed status: Vulnerable
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
    affected
  Type: srbds status: Unknown: Dependent on hypervisor status
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.20.0.0 ports: active: Virtual-1
    empty: Virtual-2, Virtual-3, Virtual-4, Virtual-5, Virtual-6, Virtual-7, Virtual-8
    bus-ID: 00:02.0 chip-ID: 15ad:0405 class-ID: 0300
  Display: server: X.Org v: 1.21.1.7 driver: X: loaded: vmware unloaded: fbdev,modesetting,vesa
    dri: swrast gpu: vmwgfx display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 800x600 s-dpi: 96 s-size: 211x158mm (8.31x6.22") s-diag: 264mm (10.38")
  Monitor-1: Virtual-1 mapped: Virtual1 res: 800x600 hz: 60 size: N/A modes: 800x600, 2560x1600,
    2560x1440, 1920x1440, 1856x1392, 1792x1344, 1920x1200, 1920x1080, 1600x1200, 1680x1050,
    1400x1050, 1280x1024, 1440x900, 1280x960, 1360x768, 1280x800, 1152x864, 1280x768, 1280x720,
    1024x768, 640x480
  API: EGL v: 1.5 platforms: device: 1 drv: swrast gbm: egl: 1.4 drv: kms_swrast surfaceless:
    drv: swrast x11: drv: swrast inactive: wayland,device-0
  API: OpenGL v: 4.5 vendor: x.org mesa v: 22.3.6 glx-v: 1.4 es-v: 3.2 direct-render: yes
    renderer: llvmpipe (LLVM 15.0.6 256 bits) device-ID: ffffffff:ffffffff memory: 2.23 GiB
    unified: yes
Audio:
  Device-1: Intel 82801AA AC97 Audio vendor: Dell driver: snd_intel8x0 v: kernel bus-ID: 00:05.0
    chip-ID: 8086:2415 class-ID: 0401
  API: ALSA v: k6.1.60-antix.1-amd64-smp status: kernel-api with: apulse type: pulse-emulator
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel 82540EM Gigabit Ethernet driver: e1000 v: kernel port: d020 bus-ID: 00:03.0
    chip-ID: 8086:100e class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IP v6: <filter> type: dynamic mngtmpaddr scope: global
  IP v6: <filter> scope: link
  Device-2: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge driver: piix4_smbus v: N/A
    modules: i2c_piix4 port: N/A bus-ID: 00:07.0 chip-ID: 8086:7113 class-ID: 0680
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 32 GiB used: 7.04 GiB (22.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: VirtualBox model: VBOX HARDDISK size: 32 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s tech: N/A serial: <filter> fw-rev: 1.0 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 32 GiB size: 31.32 GiB (97.89%) used: 7.04 GiB (22.5%) fs: ext4 dev: /dev/sda1
    maj-min: 8:1 label: rootantiX23 uuid: 56d88c7f-2643-4b96-85fb-b03a3c53be8b
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 50 (default 100) zswap: no
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 12 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: full speed or root hub ports: 12 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 chip-ID: 1d6b:0001 class-ID: 0900
  Device-1: 2-1:2 info: VirtualBox USB Tablet type: HID driver: hid-generic,usbhid interfaces: 1
    rev: 1.1 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA chip-ID: 80ee:0021
    class-ID: 0300
Sensors:
  Src: lm-sensors+/sys Message: No sensor data found using /sys/class/hwmon or lm-sensors.
Repos:
  Packages: pm: dpkg pkgs: 1751 libs: 833 tools: apt,apt-get,aptitude,synaptic
  Active apt repos in: /etc/apt/sources.list.d/antix.list
    1: deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http: //la.mxrepo.com/antix/bookworm bookworm main nonfree nosystemd
  Active apt repos in: /etc/apt/sources.list.d/bookworm-backports.list
    1: deb http: //deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http: //ftp.us.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http: //ftp.de.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http: //security.debian.org/ bookworm-security main contrib non-free non-free-firmware
  No active apt repos in: /etc/apt/sources.list.d/librewolf.list
  No active apt repos in: /etc/apt/sources.list.d/liquorix.list
Processes:
  CPU top: 5 of 121
  1: cpu: 37.3% command: yad pid: 9297 mem: 31.5 MiB (1.3%)
  2: cpu: 1.8% command: xorg pid: 1737 mem: 89.3 MiB (3.8%)
  3: cpu: 1.8% command: geany pid: 6837 mem: 64.8 MiB (2.7%)
  4: cpu: 1.1% command: gtkdialog pid: 9072 mem: 35.8 MiB (1.5%)
  5: cpu: 0.9% command: icewm pid: 2006 mem: 18.4 MiB (0.7%)
  Memory top: 5 of 121
  1: mem: 89.3 MiB (3.8%) command: xorg pid: 1737 cpu: 1.8%
  2: mem: 64.8 MiB (2.7%) command: geany pid: 6837 cpu: 1.8%
  3: mem: 35.8 MiB (1.5%) command: gtkdialog pid: 9072 cpu: 1.1%
  4: mem: 32.7 MiB (1.3%) command: roxterm pid: 5494 cpu: 0.2%
  5: mem: 31.5 MiB (1.3%) command: yad pid: 9297 cpu: 37.3%
Info:
  Processes: 121 Uptime: 34m wakeups: 0 Init: SysVinit v: 3.06 runlevel: 2 default: 2 tool: service
  Compilers: gcc: 12.2.0 alt: 12 Client: shell wrapper v: 5.2.15-release inxi: 3.3.31

Code: Select all

guy@antix1:~ sudo apt update
[sudo] password for guy: 
Get:1 http://deb.debian.org/debian bookworm-backports InRelease [56.5 kB]      
Get:2 http://security.debian.org bookworm-security InRelease [48.0 kB]         
Get:3 http://la.mxrepo.com/antix/bookworm bookworm InRelease [27.4 kB]         
Get:4 http://deb.debian.org/debian bookworm-backports/main i386 Packages [176 kB]
Get:5 http://ftp.de.debian.org/debian bookworm InRelease [151 kB]              
Get:6 http://security.debian.org bookworm-security/main amd64 Packages [145 kB]
Get:7 http://deb.debian.org/debian bookworm-backports/main amd64 Packages [179 kB]
Get:8 http://la.mxrepo.com/antix/bookworm bookworm/main amd64 Packages [361 kB]
Get:9 http://security.debian.org bookworm-security/main i386 Packages [144 kB] 
Get:10 http://ftp.us.debian.org/debian bookworm-updates InRelease [55.4 kB]    
Get:11 http://deb.debian.org/debian bookworm-backports/main Translation-en [145 kB]
Get:12 http://security.debian.org bookworm-security/main Translation-en [86.3 kB]
Get:13 http://deb.debian.org/debian bookworm-backports/contrib amd64 Packages [5,368 B]
Get:14 http://deb.debian.org/debian bookworm-backports/contrib i386 Packages [5,464 B]
Get:15 http://security.debian.org bookworm-security/contrib amd64 Packages [644 B]
Get:16 http://security.debian.org bookworm-security/contrib Translation-en [372 B]
Get:17 http://security.debian.org bookworm-security/non-free-firmware i386 Packages [692 B]
Get:18 http://security.debian.org bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:19 http://security.debian.org bookworm-security/non-free-firmware Translation-en [472 B]
Get:20 http://deb.debian.org/debian bookworm-backports/contrib Translation-en [5,084 B]
Get:21 http://ftp.us.debian.org/debian bookworm-updates/main i386 Packages [12.6 kB]
Get:22 http://deb.debian.org/debian bookworm-backports/non-free i386 Packages [1,288 B]
Get:23 http://deb.debian.org/debian bookworm-backports/non-free amd64 Packages [1,288 B]
Get:24 http://deb.debian.org/debian bookworm-backports/non-free Translation-en [544 B]
Get:25 http://ftp.us.debian.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
Get:26 http://ftp.us.debian.org/debian bookworm-updates/main Translation-en [13.8 kB]
Get:27 http://ftp.us.debian.org/debian bookworm-updates/contrib amd64 Packages [768 B]
Get:28 http://ftp.us.debian.org/debian bookworm-updates/contrib Translation-en [408 B]
Get:29 http://ftp.us.debian.org/debian bookworm-updates/non-free i386 Packages [8,072 B]
Get:30 http://ftp.us.debian.org/debian bookworm-updates/non-free amd64 Packages [12.8 kB]
Get:31 http://ftp.us.debian.org/debian bookworm-updates/non-free Translation-en [7,744 B]
Get:32 http://ftp.us.debian.org/debian bookworm-updates/non-free-firmware amd64 Packages [616 B]
Get:33 http://ftp.us.debian.org/debian bookworm-updates/non-free-firmware Translation-en [384 B]
Get:34 http://la.mxrepo.com/antix/bookworm bookworm/main i386 Packages [344 kB]
Get:35 http://ftp.de.debian.org/debian bookworm/main i386 Packages [8,679 kB]
Get:36 http://la.mxrepo.com/antix/bookworm bookworm/nonfree amd64 Packages [9,423 B]
Get:37 http://la.mxrepo.com/antix/bookworm bookworm/nonfree i386 Packages [9,765 B]
Get:38 http://la.mxrepo.com/antix/bookworm bookworm/nosystemd i386 Packages [230 kB]
Get:39 http://la.mxrepo.com/antix/bookworm bookworm/nosystemd amd64 Packages [231 kB]
Err:35 http://ftp.de.debian.org/debian bookworm/main i386 Packages             
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:8678952 [weak]
   - SHA256:10fc288b62a696b08214d5b44ee7a2efa83a9368d0d2dba538cca811b4735c15
   - MD5Sum:3597f3639bb0f33e45d5da4a3ba1bd3f [weak]
  Hashes of received file:
   - SHA256:aefc055e9c5105c4bc67bcab713a71a9ce6226bd09baa8931434f979056f3a04
   - MD5Sum:3597f3639bb0f33e45d5da4a3ba1bd3f [weak]
   - Filesize:8678952 [weak]
  Last modification reported: Sat, 10 Feb 2024 09:44:30 +0000
  Release file created at: Sat, 10 Feb 2024 11:07:25 +0000
Get:40 http://ftp.de.debian.org/debian bookworm/main amd64 Packages [8,786 kB] 
Err:40 http://ftp.de.debian.org/debian bookworm/main amd64 Packages            
  
Get:41 http://ftp.de.debian.org/debian bookworm/main Translation-en [6,109 kB] 
Get:42 http://ftp.de.debian.org/debian bookworm/contrib amd64 Packages [54.1 kB]
Get:43 http://ftp.de.debian.org/debian bookworm/contrib i386 Packages [46.6 kB]
Get:44 http://ftp.de.debian.org/debian bookworm/contrib Translation-en [48.7 kB]
Get:45 http://ftp.de.debian.org/debian bookworm/non-free amd64 Packages [96.9 kB]
Get:46 http://ftp.de.debian.org/debian bookworm/non-free i386 Packages [73.4 kB]
Get:47 http://ftp.de.debian.org/debian bookworm/non-free Translation-en [66.8 kB]
Get:48 http://ftp.de.debian.org/debian bookworm/non-free-firmware i386 Packages [5,892 B]
Get:49 http://ftp.de.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,208 B]
Fetched 26.5 MB in 3min 24s (130 kB/s)                                         
Reading package lists... Done
E: Failed to fetch http://ftp.de.debian.org/debian/dists/bookworm/main/binary-i386/by-hash/SHA256/10fc288b62a696b08214d5b44ee7a2efa83a9368d0d2dba538cca811b4735c15  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:8678952 [weak]
    - SHA256:10fc288b62a696b08214d5b44ee7a2efa83a9368d0d2dba538cca811b4735c15
    - MD5Sum:3597f3639bb0f33e45d5da4a3ba1bd3[f [weak]
   Hashes of received file:
    - SHA256:aefc055e9c5105c4bc67bcab713a71a9ce6226bd09baa8931434f979056f3a04
    - MD5Sum:3597f3639bb0f33e45d5da4a3ba1bd3f [weak]
    - Filesize:8678952 [weak]
   Last modification reported: Sat, 10 Feb 2024 09:44:30 +0000
   Release file created at: Sat, 10 Feb 2024 11:07:25 +0000
E: Failed to fetch http://ftp.de.debian.org/debian/dists/bookworm/main/binary-amd64/by-hash/SHA256/2988d7a0ed222cc0f7f292c3b5925d548703f1211b98740922611330b8782b91  
E: Some index files failed to download. They have been ignored, or old ones used instead.
guy@antix1:~
Thank you

User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: Hash Sum, Fail to Fetch errors ...

#2 Post by CharlesV »

It is possible that you have a cache that is wrong or corrupt.

I am not too familiar with antiX but you should try to clear the apt cache.

Code: Select all

apt-get clean

then try the update again.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

MX_GRD
Posts: 85
Joined: Thu Jul 25, 2019 7:50 pm

Re: Hash Sum, Fail to Fetch errors ...

#3 Post by MX_GRD »

CharlesV wrote: Sun Mar 10, 2024 11:28 am It is possible that you have a cache that is wrong or corrupt.

I am not too familiar with antiX but you should try to clear the apt cache.

Code: Select all

apt-get clean

then try the update again.
OK: I'll give it a try next time I log in.
Thanks

Tried it; did not resolve.
Thanks

MX_GRD
Posts: 85
Joined: Thu Jul 25, 2019 7:50 pm

Re: Hash Sum, Fail to Fetch errors ...  [Solved]

#4 Post by MX_GRD »

Turns out it was simply a very weak wifi signal; moved next to router, no problems.

Post Reply

Return to “antiX”