I want to install hadoop in my Ubuntu 14.04 system. Following the instruction of a blog, I need to update the "source list".
But when I input the command: sudo apt-get update
I get errors:
E: Type '--2016-08-04' is not known on line 1 in source list /etc/apt/sources.list E: The list of sources could not be read.
E: The package lists or status file could not be parsed or opened.
At the same time, a stop sign shows in the upper right of the menu says that:
An error occured. Please run Package Manager from the right-click menu or run apt-get in a terminal to see what is wrong.
The error message was:
'Unknown error: '<class 'SystemError'
E:Type '--2016-08-04' is not known on line 1 in the source list /etc/apt/sources.list.
This usually means that your installed packages have unmet dependencies"
/etc/apt/sources.list
:
--2016-08-04 21:29:00-- (try: 1) http://pastebin.com
/raw.php?i=uzhrtg5M Resolving pastebin.com (pastebin.com)...
104.20.63.56, 104.20.64.56 Connecting to pastebin.com
(pastebin.com)|104.20.63.56|:80... connected.
HTTP request sent, awaiting response...
Read error (Connection reset by peer) in headers. Retrying.
This is the beginning of the sources.list.