2

Ran: sudo apt-get update

Output:

.
.
.
Reading package lists... Done
W: Skipping acquire of configured file 'Sources' as repository 'https://download.sublimetext.com apt/stable/ InRelease' does not seem to provide it (sources.list entry misspelt?)

sources.list

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://download.sublimetext.com/ apt/stable/
deb-src https://download.sublimetext.com/ apt/stable/
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main

How to resolve it?

Edit: I have referred Unable to run Sublime Text 3 on Ubuntu 18.10 But this didn't helped.

1 Answers1

3

Programmatically using sed, you can run this command to comment the deb-src line of download.sublimetext.com :

sudo sed -e '\@deb-src https://download.sublimetext.com/ apt/stable/@ s@^#*@#@' -i /etc/apt/sources.list

The results will be the same.


Open up `/etc/apt/sources.list` through `nano` as root.
sudo nano /etc/apt/sources.list

Hit Ctrl + W, type deb-src https://download.sublimetext.com/ apt/stable/ on the search bar, then you can put # in beginning of the line to comment it— you can also delete the line altogether.

Run sudo apt update again, see if you'll get the same errors.

SebMa
  • 2,291
Liso
  • 15,377
  • 3
  • 51
  • 80