Page 1 of 1

apt upgrade fails with ip not found

Posted: Tue Aug 23, 2022 6:35 am
by HPienaar

Code: Select all

Snapshot created on:
System:    Kernel: 5.10.0-17-amd64 [5.10.136-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-17-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.1_x64 Wildflower October 20  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Portable System: Apple product: MacBookPro2,2 v: 1.0 serial: <filter> 
           Chassis: Apple Inc. type: 8 v: Mac-F42187C8 serial: <filter> 
           Mobo: Apple model: Mac-F42187C8 v: PVT serial: <filter> BIOS: Apple 
           v: MBP22.88Z.00A5.B07.0708131242 date: 08/13/07 
Battery:   ID-1: BAT0 charge: 55.2 Wh (99.6%) condition: 55.4/56.2 Wh (98.7%) volts: 12.4 
           min: 10.8 model: GSA ASMB012 type: Li-ion serial: N/A status: Full cycles: 13 
CPU:       Info: Dual Core model: Intel Core2 T7600 bits: 64 type: MCP arch: Core Merom family: 6 
           model-id: F (15) stepping: 6 microcode: D1 cache: L2: 4 MiB 
           flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 9309 
           Speed: 1293 MHz min/max: 1000/2333 MHz Core speeds (MHz): 1: 1293 2: 1423 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled 
           Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Not affected 
           Type: retbleed 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: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD RV530/M56-P [Mobility Radeon X1600] vendor: Apple MacBook Pro 
           driver: radeon v: kernel bus-ID: 01:00.0 chip-ID: 1002:71c5 class-ID: 0300 
           Device-2: Apple Built-in iSight [Micron] type: USB driver: uvcvideo bus-ID: 5-4:7 
           chip-ID: 05ac:8501 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.16.1 driver: 
           loaded: ati,radeon unloaded: fbdev,modesetting,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1440x900 s-dpi: 96 s-size: 381x238mm (15.0x9.4") 
           s-diag: 449mm (17.7") 
           Monitor-1: LVDS res: 1440x900 hz: 60 dpi: 111 size: 331x207mm (13.0x8.1") 
           diag: 390mm (15.4") 
           OpenGL: renderer: ATI RV530 v: 2.1 Mesa 20.3.5 direct render: Yes 
Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: SigmaTel STAC9221 Codec 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-17-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Marvell 88E8053 PCI-E Gigabit Ethernet driver: sky2 v: 1.30 port: 2000 
           bus-ID: 02:00.0 chip-ID: 11ab:4362 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR5418 Wireless Network Adapter [AR5008E 802.11bgn] 
           vendor: Apple AirPort Extreme driver: ath9k v: kernel modules: wl port: 2000 
           bus-ID: 03:00.0 chip-ID: 168c:0024 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Apple Bluetooth HCI type: USB driver: btusb v: 0.8 bus-ID: 4-1:3 
           chip-ID: 05ac:8205 class-ID: fe01 
           Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 1.2 lmp-v: 2.0 
           sub-v: 7ad hci-v: 2.0 rev: 7ad 
           Info: acl-mtu: 384:8 sco-mtu: 64:8 link-policy: rswitch hold sniff park 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 223.57 GiB used: 75.28 GiB (33.7%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Gigabyte model: GP-GSTFS31240GNTD size: 223.57 GiB 
           block-size: physical: 512 B logical: 512 B speed: <unknown> type: SSD serial: <filter> 
           rev: 61.3 scheme: GPT 
Partition: ID-1: / raw-size: 166.58 GiB size: 162.91 GiB (97.79%) used: 75.25 GiB (46.2%) fs: ext4 
           dev: /dev/sda4 maj-min: 8:4 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 7.81 GiB used: 30.8 MiB (0.4%) priority: -2 
           dev: /dev/sda3 maj-min: 8:3 
Sensors:   System Temperatures: cpu: 78.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2348 lib: 1121 flatpak: 0 
           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/go-swagger-go-swagger.list 
           1: deb https://dl.cloudsmith.io/public/go-swagger/go-swagger/deb/debian any-version main
           2: deb-src https://dl.cloudsmith.io/public/go-swagger/go-swagger/deb/debian any-version main
           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/mongodb-org-5.0.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/mongodb-org-5.0.gpg] http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo/ bullseye main non-free
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list 
           1: deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main
Info:      Processes: 236 Uptime: 1h 50m wakeups: 4 Memory: 2.9 GiB used: 2.27 GiB (78.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: BIOS (legacy, CSM, MBR)
Hi

I have tried for three days now to update with:

Code: Select all

apt update && apt full-upgrade -y --fix-missing
The repo seems to be failing with a status code of 404 - ip not found.

Code: Select all

Ign:1 https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo bullseye/main amd64 lo-main-helper all 22.08.01mx21
Ign:2 https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo bullseye/main amd64 mx-apps all 22.08.02mx21
Ign:3 https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo bullseye/main amd64 mx-packageinstaller-pkglist all 22.08.01mx21
Err:1 https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo bullseye/main amd64 lo-main-helper all 22.08.01mx21
  404  Not Found [IP: 196.43.2.109 443]
Err:2 https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo bullseye/main amd64 mx-apps all 22.08.02mx21
  404  Not Found [IP: 196.43.2.109 443]
Err:3 https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo bullseye/main amd64 mx-packageinstaller-pkglist all 22.08.01mx21
  404  Not Found [IP: 196.43.2.109 443]
E: Failed to fetch https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo/pool/main/m/mx-packageinstaller-pkglist/lo-main-helper_22.08.01mx21_all.deb  404  Not Found [IP: 196.43.2.109 443]
E: Failed to fetch https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo/pool/main/m/mx-apps/mx-apps_22.08.02mx21_all.deb  404  Not Found [IP: 196.43.2.109 443]
E: Failed to fetch https://ftp.saix.net/pub/linux/distributions/mxlinux/mx/repo/pool/main/m/mx-packageinstaller-pkglist/mx-packageinstaller-pkglist_22.08.01mx21_all.deb  404  Not Found [IP: 196.43.2.109 443]
On inspection the repo has a slightly different path. Can I fix this, and if so, how?

Many thanks

Re: apt upgrade fails with ip not found  [Solved]

Posted: Tue Aug 23, 2022 6:46 am
by JayM
Run MX Repo Manager from the main menu and change your MX mirror to one of these: (These are MX's own mirrors. The others are voluntarily run by various third parties and many of them appear to have been neglected since early 2020 and may no longer be working properly.) Then click Apply and run

Code: Select all

sudo apt update
in a terminal to load the new mirror's package list.

Re: apt upgrade fails with ip not found

Posted: Tue Aug 23, 2022 7:04 am
by HPienaar
Many thanks. Will do.

Re: apt upgrade fails with ip not found

Posted: Wed Aug 24, 2022 2:27 am
by HPienaar
Hi
Any particular reason why I don't see the icon to mark this a solved? I might be missing a step or two here...

Re: apt upgrade fails with ip not found

Posted: Wed Aug 24, 2022 2:33 am
by Eadwine Rose
Tick the V button next to the poster's name that holds the solution.

Eh..
owh!!


Something went ladies parts up in this forum section. Hahaha I see the button is gone. Thanks for speaking up. Those in the know when they wake up hopefully can get to this.



edit: Oh, I found it! The button is present now.

@richb