0

I tried to uninstall atom from ubuntu 16.04 using

sudo apt remove atom || sudo apt remove --purge atom

command and following are the errors, please help me in resolving the issue.

E: Malformed entry 1 in list file /etc/apt/sources.list.d/sublime-text.list (Suite)    
E: The list of sources could not be read.    
E: Malformed entry 1 in list file /etc/apt/sources.list.d/sublime-text.list (Suite)    
E: The list of sources could not be read.

While running the following command

cat /etc/apt/sources.list.d/sublime-text.list

this was the output: deb https://download.sublimetext.com/apt/dev/

output for cat command

1 Answers1

0

Open that file using nano text editor and add a space like so:

  1. sudo nano /etc/apt/sources.list.d/sublime-text.list

    deb https://download.sublimetext.com/ apt/dev/
    

Then run sudo apt update, and try again.

George Udosen
  • 37,534