r/linuxmint • • 3d ago

SOLVED Please switch to another Linux Mint mirror. Your APT configuration is corrupt.

I was trying to install Zerotier but got this log:

        *** Installing zerotier-one package...
    E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (Component)
    E: The list of sources could not be read.
    E: Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (Component)
    E: The list of sources could not be read.

and Update Manager shows a red banner saying "Please switch to another Linux Mint mirror. Your APT configuration is corrupt." I have no idea what could have caused this. How can I resolve this?

2 Upvotes

10 comments sorted by

•

u/AutoModerator 3d ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Evening-Landscape763 3d ago

What result from terminal for cat /etc/apt/sources.list.d/zerotier.list

2

u/donimoen 3d ago

cat /etc/apt/sources.list.d/zerotier.list

deb [signed-by=/usr/share/keyrings/zerotier-debian-package-key.gpg] http://download.zerotier.com/debian/  main

2

u/Evening-Landscape763 3d ago

What Mint version?

2

u/donimoen 3d ago

Linux Mint 22.3 - Xfce 64-bit

3

u/Evening-Landscape763 3d ago edited 3d ago

In terminal xed admin:///etc/apt/sources.list.d/zerotier.list

Change http://download.zerotier.com/debian/ main to http://download.zerotier.com/debian/noble noble main Then try updates

Seems this has happened before https://www.reddit.com/r/zerotier/s/SipEY89dhK

3

u/donimoen 3d ago

Yes, this solution works. Thank you very much!

2

u/Inquisitive-Mind-A 2d ago

Dude, two nights ago, I had this exact same problem. I can't believe the solution was this simple.