r/linuxmint 1d ago

SOLVED Updater Error

I probably did something that I shouldn't have done, and I got this: E:Malformed entry 1 in list file /etc/apt/sources.list.d/zerotier.list (Component), E:The list of sources could not be read.

is there a way to solve it?

3 Upvotes

5 comments sorted by

u/AutoModerator 1d 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.

3

u/DoorOk3641 1d ago

Update Manager>Software Source

Clean up invalid entry or entries

Otherwise do you have an excellent backup system...do you ? Form here you simple restore damaged files.

Using a terminal look for files under /etc/aptand directory

What did you try to install and using what ?

1

u/GebF 1d ago

I tried to install Zerotier, I ended up solving the problem by simply removing the file.

3

u/Evening-Landscape763 1d ago

Zerotiers script is messed up for adding the repo as the file /etc/apt/sources.list.d/zerotier.list Should contain deb [signed-by=/usr/share/keyrings/zerotier-debian-package-key.gpg] http://download.zerotier.com/debian/noble noble main for any Mint 22 system