Error opening cache

Good morning, how can I resolve this error? Unable to get list of updates: E: Incorrect entry 58 in list file (/etc/apt/sources.list URI parse).
Thank you

First, elevate to Root:

sudo -i

Launch File manager for Zorin OS Core:


Navigate to your sources.list
In the left pane, click on "Other locations". In the right pane, click on "Computer".
You will now see the Root directory. Open /etc then open /apt
Right click on the file sources.list
Select to open with Text Editor

In your text editor, open your preferences and ensure that Line Numbers are visible

Scroll down to Line 58 and remove that line.

Please feel free to post screenshots for clarification or confirmation to make sure the correct line is removed.

Once done, Save the file.
Running sudo apt update should no longer have the error.
Close the elevated File manager and in the open terminal, type exit
then close the terminal.

Thanks a lot for your support. I deleted the #58 line and everything seems to be ok now. I'll try to restart my pc and we'll see. I will write to u again if necessary. Thanks again and have a great day!

1 Like