Update problem: Failed to fetch...

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
User avatar
deanr72
Posts: 165
Joined: Sat Mar 30, 2019 2:50 pm

Update problem: Failed to fetch...

#1 Post by deanr72 »

Hi, all.

I haven't been able to update for a week or so now. I was hoping the problem would fix itself, but no such luck.

Here's the output from the terminal when I run the update command:

Code: Select all

Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                     
Hit:3 http://deb.debian.org/debian bookworm InRelease                                                                                                                                                         
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                 
Hit:5 http://repository.spotify.com stable InRelease                                                                     
Get:6 https://mega.nz/linux/repo/Debian_12 ./ InRelease [2,953 B]             
Hit:7 http://ftp.task.gda.pl/site/mx-packages/mx/repo bookworm InRelease
Fetched 2,953 B in 2s (1,536 B/s)                    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
46 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  hardinfo libebur128-1 libgpod4 libmediainfo0v5 libmms0 libpango1.0-0 libprotobuf32 libtinyxml2-9 libu2f-udev libwpe-1.0-1 libwpebackend-fdo-1.0-1 libzen0v5 sqlite3
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  amd64-microcode base-files cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ipp-utils cups-ppdc cups-server-common curl gir1.2-gtk-3.0 google-chrome-stable gtk-update-icon-cache
  gtk2-engines-pixbuf imagemagick imagemagick-6-common imagemagick-6.q16 initramfs-tools initramfs-tools-core intel-microcode libc-bin libc-dev-bin libc-l10n libc6 libc6:i386 libc6-dev libcups2
  libcurl3-gnutls libcurl4 libgail-common libgail18 libgtk-3-0 libgtk-3-common libgtk2.0-0 libgtk2.0-common libmagickcore-6.q16-6 libmagickwand-6.q16-6 libssl3 lo-main-helper locales mx-gpg-keys
  mx-packageinstaller-pkglist mx-usb-unmounter openssl
46 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 226 kB/152 MB of archives.
After this operation, 30.7 kB disk space will be freed.
Do you want to continue? [Y/n] y
Ign:1 http://ftp.task.gda.pl/site/mx-packages/mx/repo bookworm/main amd64 lo-main-helper all 24.08.07mx23
Ign:2 http://ftp.task.gda.pl/site/mx-packages/mx/repo bookworm/main amd64 mx-packageinstaller-pkglist all 24.08.07mx23
Err:1 http://ftp.task.gda.pl/site/mx-packages/mx/repo bookworm/main amd64 lo-main-helper all 24.08.07mx23
  404  Not Found [IP: 2001:4070:1:2::2 80]
Err:2 http://ftp.task.gda.pl/site/mx-packages/mx/repo bookworm/main amd64 mx-packageinstaller-pkglist all 24.08.07mx23
  404  Not Found [IP: 2001:4070:1:2::2 80]
E: Failed to fetch http://ftp.task.gda.pl/site/mx-packages/mx/repo/pool/main/m/mx-packageinstaller-pkglist/lo-main-helper_24.08.07mx23_all.deb  404  Not Found [IP: 2001:4070:1:2::2 80]
E: Failed to fetch http://ftp.task.gda.pl/site/mx-packages/mx/repo/pool/main/m/mx-packageinstaller-pkglist/mx-packageinstaller-pkglist_24.08.07mx23_all.deb  404  Not Found [IP: 2001:4070:1:2::2 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Here's the Quick System Info:

Code: Select all

Snapshot created on: 20231006_1509
System:
  Kernel: 6.4.0-1mx-ahs-amd64 [6.4.4-1~mx23+1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-1mx-ahs-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel, i3bar wm: i3 v: 4.22 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.3_x64 Libretto October 06  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop System: LENOVO product: 90BG0022US v: Lenovo H50-55 serial: <superuser required>
  Mobo: LENOVO model: Bantry CRB v: 31900058 STD serial: <superuser required>
    UEFI-[Legacy]: LENOVO v: IRKT38AUS date: 10/09/2014
CPU:
  Info: model: AMD A8-7600 Radeon R7 10 Compute Cores 4C+6G bits: 64 type: MT MCP arch: Steamroller
    level: v2 built: 2014 process: GF 28nm family: 0x15 (21) model-id: 0x30 (48) stepping: 1
    microcode: 0x6003106
  Topology: cpus: 1x cores: 4 smt: enabled cache: L1: 256 KiB desc: d-4x16 KiB; i-2x96 KiB
    L2: 4 MiB desc: 2x2 MiB
  Speed (MHz): avg: 1706 high: 2598 min/max: 1400/3100 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1396 2: 1397 3: 1434 4: 2598 bogomips: 24753
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  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: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: Lenovo driver: radeon v: kernel
    alternate: amdgpu arch: GCN-2 code: Sea Islands process: GF/TSMC 16-28nm built: 2013-17 ports:
    active: HDMI-A-1,VGA-1 empty: none bus-ID: 00:01.0 chip-ID: 1002:1313 class-ID: 0300
  Device-2: Trust USB Camera type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-3.2:4
    chip-ID: 145f:0203 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: Picom v: 9.1 driver: X: loaded: radeon
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
    s-diag: 1055mm (41.55")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 pos: primary,left model: LG (GoldStar) IPS FULLHD
    built: 2014 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2 size: 480x270mm (18.9x10.63")
    diag: 551mm (21.7") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: VGA-1 mapped: VGA-0 pos: right model: Acer KA242Y E serial: <filter> built: 2023
    res: 1920x1080 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9
    modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.5 Mesa 23.1.2-1~mx23ahs renderer: KAVERI ( LLVM 15.0.6 DRM 2.50
    6.4.0-1mx-ahs-amd64) direct-render: Yes
Audio:
  Device-1: AMD Kaveri HDMI/DP Audio vendor: Lenovo driver: snd_hda_intel bus-ID: 1-3.2:4 v: kernel
    chip-ID: 145f:0203 bus-ID: 00:01.1 class-ID: 0102 chip-ID: 1002:1308 serial: <filter>
    class-ID: 0403
  Device-2: AMD FCH Azalia vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:14.2
    chip-ID: 1022:780d class-ID: 0403
  Device-3: Trust USB Camera type: USB driver: snd-usb-audio,uvcvideo
  API: ALSA v: k6.4.0-1mx-ahs-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: off with: 1: pipewire-pulse status: off 2: wireplumber
    status: off tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 01:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo
    driver: rtl8821ae v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 04:00.0 chip-ID: 10ec:8821 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek RTL8821A Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 6-2:2
    chip-ID: 0bda:0821 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
    sub-v: a041 hci-v: 4.0 rev: e2f
  Info: acl-mtu: 820:8 sco-mtu: 255:16 link-policy: rswitch hold sniff park
    link-mode: peripheral accept
Drives:
  Local Storage: total: 1.13 TiB used: 38.71 GiB (3.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000DM003-1ER162 size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: CC61 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Kingston model: SA400S37240G size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: B1D2 scheme: MBR
Partition:
  ID-1: / raw-size: 223.57 GiB size: 219 GiB (97.96%) used: 38.71 GiB (17.7%) fs: ext4
    dev: /dev/sdb1 maj-min: 8:17
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 16.1 C mobo: N/A gpu: radeon temp: 17.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2521 pm: dpkg pkgs: 2516 libs: 1350 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 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 bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/megasync.list
    1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_12/ ./
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://ftp.task.gda.pl/site/mx-packages/mx/repo/ bookworm main non-free
    2: deb http://ftp.task.gda.pl/site/mx-packages/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
Info:
  Processes: 251 Uptime: 7h 51m wakeups: 1 Memory: 14.56 GiB used: 2.75 GiB (18.9%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
Thanks in advance for any help you can offer.

EDIT: By the way, yes I have tried the --fix missing and run apt-get update commands to no avail.

User avatar
dolphin_oracle
Developer
Posts: 22861
Joined: Sun Dec 16, 2007 12:17 pm

Re: Update problem: Failed to fetch...

#2 Post by dolphin_oracle »

looks like that repo mirror has a bad sync, and has not been updated in a little while anyway.

so time to change repos (mx-repo-manager).
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
fehlix
Developer
Posts: 12992
Joined: Wed Apr 11, 2018 5:09 pm

Re: Update problem: Failed to fetch...

#3 Post by fehlix »

deanr72 wrote: Fri Sep 06, 2024 2:07 pm Hi, all.

I haven't been able to update for a week or so now. I was hoping the problem would fix itself, but no such luck.

Here's the output from the terminal when I run the update command:

Code: Select all

Err:1 http://ftp.task.gda.pl/site/mx-packages/mx/repo bookworm/main amd64 lo-main-helper all 24.08.07mx23
  404  Not Found [IP: 2001:4070:1:2::2 80]
Err:2 http://ftp.task.gda.pl/site/mx-packages/mx/repo bookworm/main amd64 mx-packageinstaller-pkglist all 24.08.07mx23
  404  Not Found [IP: 2001:4070:1:2::2 80]
E: Failed to fetch http://ftp.task.gda.pl/site/mx-packages/mx/repo/pool/main/m/mx-packageinstaller-pkglist/lo-main-helper_24.08.07mx23_all.deb  404  Not Found [IP: 2001:4070:1:2::2 80]
E: Failed to fetch http://ftp.task.gda.pl/site/mx-packages/mx/repo/pool/main/m/mx-packageinstaller-pkglist/mx-packageinstaller-pkglist_24.08.07mx23_all.deb  404  Not Found [IP: 2001:4070:1:2::2 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Suggest to change the mx repo with "MX Repos manager", the one you currently have enabled seems to lack behind (or out of sync):
mirror status : Poland (packages)
E.g. change to one of the German mirrors which seem to be uptodate.

User avatar
deanr72
Posts: 165
Joined: Sat Mar 30, 2019 2:50 pm

Re: Update problem: Failed to fetch...

#4 Post by deanr72 »

Thanks!

I thought it might be the mirrors. I didn't realise there was an mx repo manager. That's why I love mx :-)

Post Reply

Return to “MX Help”