0

I got the following error when trying to run sudo apt-get update in Ubuntu 16.04.

predator@kmb:~$ sudo apt-get update
[sudo] password for predator: 
E: Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list
E: The list of sources could not be read.
predator@kmb:~$ 
karel
  • 122,695
  • 134
  • 305
  • 337
  • Could you please update your question with the full output from the command ? – Soren A Sep 06 '17 at 08:25
  • predator@kmb:~$ sudo apt-get update [sudo] password for predator: E: Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list E: The list of sources could not be read. predator@kmb:~$ – cherry charan Sep 06 '17 at 08:25
  • It says that there are an error in the file /etc/apt/sources.list.d/medibuntu.list ... – Soren A Sep 06 '17 at 08:26
  • Could you include the contents of /etc/apt/sources.list.d/medibuntu.list – jrtapsell Sep 06 '17 at 08:42
  • This is in essence a problem created by yourself by adding the long gone Medibuntu repository, probably by following dome old and outdated guide. –  Sep 06 '17 at 12:59

1 Answers1

0

You can try removing it and re-using apt-get update.

Do the following

sudo rm /etc/apt/sources.list.d/medibuntu.list
muru
  • 207,970