Celeb Glow
general | March 21, 2026

The line 56 in the file /etc/apt/ sources.list is not correct (URI parse)

Kubuntu doesn't let me upgrade. The error message says:

The line 56 in the file /etc/apt/sources.list is not correct (URI parse)
1

2 Answers

There is a similar issue that was solved in this thread

1.) Lets make a backup:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.old 

2.) What this means is that the source list could have an issue on line 56.

sudo cat -n /etc/apt/sources.list | grep 56

3.) look for the line created by 2 and maybe comment comment it out with a "#"

sudo gedit /etc/apt/sources.list

4.) and then update

sudo apt-get update

31

It tells you that there is some problem in the line 56 of your sources.list, I bet you can remove it without problem:

sudo sed -i.bak -e '56d' /etc/apt/sources.list

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy