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

English Edit question
Ubuntu update-manager Edit question
No assignee Edit question
Last query:
Last reply:
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.