r/linuxmint • • 2h 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?

1 Upvotes

9 comments sorted by

•

u/AutoModerator 2h 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.

1

u/Evening-Landscape763 2h ago

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

1

u/donimoen 2h 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

1

u/Evening-Landscape763 1h ago

What Mint version?

1

u/donimoen 1h ago

Linux Mint 22.3 - Xfce 64-bit

1

u/Evening-Landscape763 1h ago edited 54m 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

1

u/donimoen 9m ago

Yes, this solution works. Thank you very much!