0

When I'm trying to update ubuntu 14.04 LTS, I got this error message:

E: Malformed line 1 in source list /etc/apt/sources.list.d/virtualbox.list (dist)  
E: The list of sources could not be read.

screenshot

Contents of /etc/apt/sources.list.d/virtualbox.list:

deb download.virtualbox.org/virtualbox/debian trusty contrib non-free
jokerdino
  • 41,320
sourav
  • 157
  • 2
  • 4
  • 15

1 Answers1

2

just add

http://

edit it like this deb http://download.virtualbox.org/virtualbox/debian trusty contrib non-free

then sudo apt-get update and if that doesn't fix which it should then just delete the file from the sources.list.d directory dont worry it wont effect anything.