r/linuxmint • • 21d ago

Support Request Apt configuration is corrupt

Post image

I have tried switching mirrors and it won’t fix it. The last thing I did was install notepadqq from the software manager. Then after it crashed twice i went to the update manager hit update and got hit with this message.

15 Upvotes

9 comments sorted by

18

u/Due-Result7928 21d ago • Bravo

There is no corruption but bad understanding of repositories organisation. apt has detected a bad configuration.

Clean and update cache

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get clean

sudo apt-get update

If you find broken dependencies

sudo dpkg --configure -a

sudo apt --fix-broken install

6

u/Kittentron_yt 21d ago • Heartwarming

Thank you. The update manager no longer has an error.

2

u/Kittentron_yt 21d ago

I just went to update my software today and got hit with the same message edit: I followed your instructions.

1

u/e_hatt_swank 2d ago

Just wanted to note - i am doing a fresh install of LM 22.3 on my wife's old Dell laptop (finally got her to agree to give up on Windows, as the laptop was pretty much unusable!) --- I hit this same apt corruption error immediately after updating various packages post-install, and your fix appears to have worked perfectly. Thank you!

3

u/PapaEchoKilo 21d ago

I had this same problem. It only happened when I used Ethernet, switched to wifi and it worked. Still havent figured out why. Sorry I'm no help.

1

u/VoteKiwi 21d ago

I just got the same error. I've been connected to Ethernet before, but currently I am not/haven't been tonight. When I tried to change the mirror, it said that Nordvpn is configured multiple times. I tried uninstalling that to see if it would fix anything (directly from the software manager), and the exact same error popped up

3

u/VoteKiwi 21d ago

I just searched the rest of this Subreddit to see if this has been asked about before. In the Software Sources menu when you change the mirror, look at your Additional Repositories to see if any of those are your issue. I had to disable the Nordvpn repository, and everything seems in order now

1

u/Kittentron_yt 21d ago

I have a system timeshift do you think that might break something if i restore from that.

2

u/Weary_Programmer35 21d ago

The idea is that nothing on your system should break, only revert. Your system will be stable. Apps may be missing but home folder contents are untouched.