Is Linux Mint's package repository having issues or is the problem on my end? (Solved, I think)
from vortexal@lemmy.ml to linux@lemmy.ml on 12 Jun 01:09
https://lemmy.ml/post/16772423

Edit: Last night, I used the “Fix MergeList problems” option in the maintenance tab of software sources and at least for now, it seems to be working. So I probably wont need help with this anymore, hopefully.

Every hour or two, the Update Manager keeps giving me an error message saying that my APT configuration is corrupt and that I should switch to another Linux Mint mirror. It usually goes away when I do a manual refresh but it just keeps coming back. I have also tried switching to a different mirror but I get the same error. It also tells me to run apt-get update but even if I add “sudo” it just gives me an error message saying to run apt-get update.

It happened again so I’m adding screenshots in case they help. The first is the initial error, then it’s the error I get when I try to change the repository and the third is the error I get when I try running the command it suggested:

#linux

threaded - newest

OhVenus_Baby@lemmy.ml on 12 Jun 02:55 next collapse

I fixed this issue on mine and it took me a few tries, while I’m not currently on my PC you should be able to find some tab along the page you can change the mirrors and it says something like clear packages and there’s a few options on a small boxed list deal. Perhaps something like remove duplicate dependencies I really can’t remember the boxes so don’t quote me. You clear all of them that mention remove or clear. Change mirrors then Sudo update your APT then I switched back to the main Jammy is it? Worked for me. I could better help once I’m back to my computer. It happened to me a few weeks ago as well so my memory is hazy. If your still having trouble in 12 hours once I am able to get to my computer I will help you best I can.

vortexal@lemmy.ml on 12 Jun 03:10 next collapse

The closest thing I see to “clear packages” is “remove foreign packages”, is that it? For the mirror, am I supposed to change the Linux Mint mirror or the Ubuntu mirror? It’s telling me to change the Linux Mint mirror but you mentioned “Jammy”, so which one am I supposed to change?

OhVenus_Baby@lemmy.ml on 12 Jun 17:44 collapse

Yea that’s it. I couldn’t remember what the options were and I was going to sleep. I’m back online and if you give me a few minutes I can do my best to help. Clear all the options you can and try running sudo apt get update. Sometimes where there’s an input output error it can also be a hardware issue such as a bad block on the drive preventing anything from writing to that block. Go to disks. Find your main drive and repair it, then check it the option above repair. After those two repeat the remove dependencies and duplicate/foreign packages. Finally sudo update. See it that helps.

vortexal@lemmy.ml on 12 Jun 17:56 collapse

I might try that later if the issue comes back up. Last night, I used the “Fix MergeList problems” option in the maintenance tab of software sources and that seems to have fixed it. I did at the time think it was an issue with my HDD but disks wont let me check the filesystem because it can’t unmount a filesystem that is in use.

OhVenus_Baby@lemmy.ml on 12 Jun 17:58 collapse

Boot up from a USB drive that’s what I did. I was just about to add the merge list in the update manager as well. Keep me posted if it didn’t work. Best of luck.

vortexal@lemmy.ml on 12 Jun 03:12 collapse

I just saw your edit, the closest to “remove duplicate dependencies” is “remove duplicate entries”, is that it?

gnuhaut@lemmy.ml on 12 Jun 10:25 next collapse

Input/output error is very weird, maybe you got file corruption?

Does dmesg show any errors with the disk or file system?

If you run

sudo strace -e t=read -e status=failed --decode-fds apt-get update

you might be able to figure which file it is that cannot be read.

vortexal@lemmy.ml on 12 Jun 17:38 collapse

I’ll try that if the issue happens again because right now it seems to be working. Last night, I used the “Fix MergeList problems” option in the maintenance tab of software sources and that seems to have fixed it.

bloodfart@lemmy.ml on 12 Jun 13:42 next collapse

Before you start trying to figure out which ram stick or ssd is bad, run “apt clean”. That clears the cache that it’s saying is all fucked up.

vortexal@lemmy.ml on 12 Jun 17:41 collapse

Right now it seems to be working fine, so I’ll try that later if I have issues again. Last night, I used the “Fix MergeList problems” option in the maintenance tab of software sources and that seems to have fixed it.

lemmyreader@lemmy.ml on 12 Jun 15:10 collapse

This appears to have solved the same problem for others :

vortexal@lemmy.ml on 12 Jun 17:43 collapse

It seems to be working now, so I might not need to try that. Last night, I used the “Fix MergeList problems” option in the maintenance tab of software sources and that seems to have fixed the issue.