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.
Programmatically using
sed
, you can run this command to comment thedeb-src
line ofdownload.sublimetext.com
:The results will be the same.
Open up `/etc/apt/sources.list` through `nano` as root.
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.