when I rune sudo apt-get update I get an error

Asked by Christian on 2019-06-27

when I run the command to get update I get an error:
E: Malformed entry 21 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.

I already tried deleting the source throught software & updates and tried sudo nano /etc/apt/sources.list as well as sudo gedit /etc/apt/sources.list

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
2019-06-27
Last reply:
2019-07-13
Manfred Hampl (m-hampl) said : #1

Apparently you have put some kind of error into your package management system's configuration file.
For diagnostic purposes please provide the output that you receive for the commands

uname -a
lsb_release -crid
cat -n /etc/apt/sources.list

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.