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:

  • OhVenus_Baby@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    5 months ago

    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.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

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

    • vortexal@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      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
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        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.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          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
            link
            fedilink
            arrow-up
            2
            ·
            5 months ago

            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.