this post was submitted on 12 Jun 2024
47 points (100.0% liked)

Linux

47940 readers
1191 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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:

top 12 comments
sorted by: hot top controversial new old
[–] OhVenus_Baby@lemmy.ml 3 points 4 months ago* (last edited 4 months ago) (2 children)

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 2 points 4 months ago

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

[–] vortexal@lemmy.ml 2 points 4 months ago (1 children)

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 2 points 4 months ago (1 children)

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 1 points 4 months ago (1 children)

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 3 points 4 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.

[–] gnuhaut@lemmy.ml 3 points 4 months ago (1 children)

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 2 points 4 months ago

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.

[–] lemmyreader@lemmy.ml 2 points 4 months ago (1 children)

This appears to have solved the same problem for others :

[–] vortexal@lemmy.ml 2 points 4 months ago

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.

[–] bloodfart@lemmy.ml 1 points 4 months ago (1 children)

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 1 points 4 months ago

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.