E: Type 'echo' is not known on line 68 in source list /etc/apt/sources.list

Asked by Ben

echo 'deb-src http://download.tuxfamily.org/syzygy42 gutsy avant-window-navigator'
 sudo tee -a /etc/apt/sources.list
wget http://download.tuxfamily.org/syzygy42/reacocard.asc
sudo apt-key add reacocard.asc
rm reacocard.asc
sudo apt-get update
sudo apt-get install avant-window-navigator-bzr awn-core-applets-bzr

this is added to the bottom of the source file after END.............I cannot update or access add and remove or package manager. I have tried: sudo apt-get update | sudo dpkg --configure -a but no resolution. In terminal I type aptitude but same error and a empty window. I tried dselect with same error.

Ben

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Allen Chemist
Solved:
Last query:
Last reply:
Revision history for this message
Best Allen Chemist (alchemist) said :
#1

Hi Ben,

It looks like that "echo" got added to the end of your sources.list file. The easiest way would be to edit the file manually, and fix whatever has gone wrong.

On the command line, type this:
gksudo gedit /etc/apt/sources.list

Move down to the bottom line, and make it look like this:
deb-src http://download.tuxfamily.org/syzygy42 gutsy avant-window-navigator

(I would guess it has an 'echo' at the beginning, which you don't want).

Once you are done that, save it, then try a
sudo apt-get update
from the command line.

Let me know if you have any further problems
-Allen

Revision history for this message
Ben (bentibet) said :
#2

Thanks Allen Chemist, that solved my question.

Revision history for this message
Ben (bentibet) said :
#3

Thank You Allen....

resolved the 'Echo' error and then I updated the Pub_Key and all is well.