-2

I know the question how to correct a malformed line in sources.list has been asked. I tried to follow the instructions on the posted answer but I can't access sources.list when I enter sudo -H gedit /etc/apt/sources.list I get the following:

o protocol specified
Unable to init server: Could not connect: Connection refused

(gedit:18598): Gtk-WARNING **: cannot open display: :0
bill@bill-GA-880GA-UD3H:~$ 
wjandrea
  • 14,236
  • 4
  • 48
  • 98

1 Answers1

2

Use nano instead:

sudo nano /etc/apt/sources.list
wjandrea
  • 14,236
  • 4
  • 48
  • 98