Package managers cannot connect to repositories
Package managers cannot connect to repositories
I'm new on MX, used Ubuntu Studio before. I have two pcs (one AMD one intel, both duocore 2 Ghz with 4 GB RAM) both with freshly installed MX 23.6. Both of them have internet via LAN, can browse the web with Firefox and access email accounts with Thunderbird and FTP-accounts on servers with Filezilla. But one of them cannot connect to the repositories for updates and cannot install programs, neither with Discovery nor the package manager nor apt in the terminal. It always reports connection problems (meanwhile "the internet" still works on it).
I made pics:
My obvious questions:
what are the most likely reasons I should check first? Hardware probably?
The trouble PC's LAN box on the mainboard gave up the ghost a few years ago so I put in a cheap network card as a clutch. Could that be it? And why could I previously install systems (like Ubuntu Studio and AVL/MX 19) and programs via Synaptic and apt before (with that network card already inside)?
How can I find out?
What to check first?
Please help a noob.
I made pics:
My obvious questions:
what are the most likely reasons I should check first? Hardware probably?
The trouble PC's LAN box on the mainboard gave up the ghost a few years ago so I put in a cheap network card as a clutch. Could that be it? And why could I previously install systems (like Ubuntu Studio and AVL/MX 19) and programs via Synaptic and apt before (with that network card already inside)?
How can I find out?
What to check first?
Please help a noob.
You do not have the required permissions to view the files attached to this post.
- Eadwine Rose
- Administrator
- Posts: 14950
- Joined: Wed Jul 12, 2006 2:10 am
Re: Package managers cannot connect to repositories
According to the forum rules (please read): Please provide full Quick System Info from the menu, use copy for forum button, no edits.
LiveUSB version is OK if needed.
LiveUSB version is OK if needed.
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
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
Re: Package managers cannot connect to repositories
Ok here the QSI of the pc that fails to connect to repositories, copy/pasted for forum:
[ removed after anticlimactic topic conclusion ]
Having now read the Guide for asking for help and forum rules, as I should have before starting to post, I can see how my first two posts must have been annoying - incomplete info, unneccessary images, old thread bumped... Sorry for all that. I will now avoid these habits from elsewhere and try to stick to this forum's rules. One of my two problems has already been solved by an older forum member so I'm glad I came here, and will strive to be respectful of this place and comunity and all the work put in.
[ removed after anticlimactic topic conclusion ]
Having now read the Guide for asking for help and forum rules, as I should have before starting to post, I can see how my first two posts must have been annoying - incomplete info, unneccessary images, old thread bumped... Sorry for all that. I will now avoid these habits from elsewhere and try to stick to this forum's rules. One of my two problems has already been solved by an older forum member so I'm glad I came here, and will strive to be respectful of this place and comunity and all the work put in.
Last edited by halfnoob on Tue Jun 24, 2025 2:41 pm, edited 2 times in total.
- Eadwine Rose
- Administrator
- Posts: 14950
- Joined: Wed Jul 12, 2006 2:10 am
Re: Package managers cannot connect to repositories
Thank you for the apologies. I appreciate it :)
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
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
- dolphin_oracle
- Developer
- Posts: 22477
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Package managers cannot connect to repositories
those repos are still up, but maybe they are slow. you can try switching to a different set of mirrors with mx-repo-manager. that won't help if there is something wrong with the connection, but should if its on the server end.
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/
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/
Re: Package managers cannot connect to repositories
Thanks for the kind offer but I'm pretty sure it's not the server's fault, I had both pcs run parallel for days during both installations, one being able and one unable to reach the repositories was a constant. The failing one did sometimes even get as far as displaying updates in discovery, but upon clicking "update all" the connection broke and no bytes were downloaded. Less than a metre away, connected to the same router, the second pc connected fine and downloading & installed many programs without connection problems. And the truly weird thing: while the failing pc could not connect to repositories (that were evidently available, because the other pc reached them with ease) it could still connect to "the internet" (http/s servers, ftp servers, mail servers) via brower etc. I don't understand what could cause this.dolphin_oracle wrote: Tue Jun 24, 2025 12:24 pm those repos are still up, but maybe they are slow. you can try switching to a different set of mirrors with mx-repo-manager. that won't help if there is something wrong with the connection, but should if its on the server end.
Re: Package managers cannot connect to repositories
I don't see how you can connect to anything.halfnoob wrote: Tue Jun 24, 2025 12:19 pm Ok here the QSI of the pc that fails to connect to repositories, copy/pasted for forum:
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: TP-LINK TG-3468
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
RTL8111/8168/8411 driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: c000
bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth1 state: down mac: <filter>
Re: Package managers cannot connect to repositories
Hnng I had booted the fail pc for the QSI but hadn't noticed the LAN cable was out this time, rookie mistake. Sorry! I plugged it back in, rebooted the pc and opened QSI again, this is the output:
[ removed after anticlimactic topic conclusion ]
Last edited by halfnoob on Tue Jun 24, 2025 2:41 pm, edited 1 time in total.
Re: Package managers cannot connect to repositories
I have that happen every now and then too, the plastic tab/catch that helps keep the plug in the socket broke off on the ethernet cable I'm using.halfnoob wrote: Tue Jun 24, 2025 1:19 pm Hnng I had booted the fail pc for the QSI but hadn't noticed the LAN cable was out this time, rookie mistake.
Instead of Discovery, maybe run a apt update from the command line to see if any errors are reported.
Code: Select all
sudo apt update
Re: Package managers cannot connect to repositories
Haha exactly that, yes.
I had tried before and it hadn't worked, but today for some reason it does. I don't know why, and Discovery still can't download the upgrades, but apt just did for the first time without giving connection error returns, finally! The system is up to date now and I'm beginning to set up the programs I need on it, including that libavcodec.so fix I learned about on here.kmathern wrote: Tue Jun 24, 2025 1:30 pmInstead of Discovery, maybe run a apt update from the command line to see if any errors are reported.Code: Select all
sudo apt update
Again, no idea why it hadn't worked before but I'm glad it does now. That concludes this thread, I guess, since I don't need Discovery or MXPI to work when apt does.