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
    3
    ·
    edit-2
    4 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
      2
      ·
      4 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?

    • vortexal@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

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

  • gnuhaut@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    4 months ago

    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.

  • bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    4 months ago

    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.