r/linuxmint • • Nov 02 '26

Support Request How to fix E:Malformed entry

I'm very new to linux and already bungled something up. I was trying to install https://www.zerotier.com/download/ and entered the 2nd line on the linux download in my terminal. it failed and then this popped up in my update manager

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

I followed the top answer here https://askubuntu.com/questions/78951/how-do-i-remove-a-malformed-line-from-my-sources-list and got to "sudoedit /etc/apt/sources.list"

https://i.imgur.com/mwogCvT.png

but i can't see any option to edit or delete it. please help before i blow up my computer

Edit: also this https://i.imgur.com/v4aBaJx.png but it wont let me switch to a different mirror

2 Upvotes

8 comments sorted by

•

u/AutoModerator Nov 02 '26

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/candy49997 Nov 02 '26

Can you do cat /etc/apt/sources.list.d/zerotier.list and share the output?

1

u/Kiloueka Nov 02 '26

2

u/candy49997 Nov 02 '26

Do sudo nano /etc/apt/sources.list.d/zerotier.list edit the line so that it ends in https://download.zerotier.com/debian/noble noble main and see if that works.

1

u/Kiloueka Nov 02 '26

nope ): is there a way i can delete the whole thing and just figure it out when it's not 1am?

1

u/candy49997 Nov 02 '26

sudo rm /etc/apt/sources.list.d/zerotier.list

1

u/Kiloueka Nov 02 '26

Thank you! Do you know of a super beginner guide for installing things with the terminal?

1

u/Due-Result7928 Nov 02 '26

learn unix/linux commands. There is no quick fix.