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:~$ 
5
  • Could you please update your question with the full output from the command ?
    – Soren A
    Sep 6, 2017 at 8: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:~$ Sep 6, 2017 at 8:25
  • It says that there are an error in the file /etc/apt/sources.list.d/medibuntu.list ...
    – Soren A
    Sep 6, 2017 at 8:26
  • Could you include the contents of /etc/apt/sources.list.d/medibuntu.list
    – jrtapsell
    Sep 6, 2017 at 8: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.
    – user692175
    Sep 6, 2017 at 12:59

1 Answer 1

0

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

Do the following

sudo rm /etc/apt/sources.list.d/medibuntu.list

Not the answer you're looking for? Browse other questions tagged .