Every time I run sudo apt-get update
I run into the following error
Err:1 http://repository.spotify. scomtable InRelease
Could not resolve 'repository.spotify.'
Ign:2 http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu bionic InRelease
Hit:3 http://et.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://packages.osrfoundation.org/gazebo/ubuntu-stable bionic InRelease
Hit:7 http://ppa.launchpad.net/dartsim/ppa/ubuntu bionic InRelease
Get:5 http://et.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:9 https://dl.yarnpkg.com/debian stable InRelease
Get:10 https://packages.microsoft.com/repos/vscode stable InRelease [3,182 B]
Ign:11 http://ppa.launchpad.net/fcl-debs/ppa/ubuntu bionic InRelease
Hit:12 https://download.sublimetext.com apt/stable/ InRelease
Hit:13 https://download.docker.com/linux/ubuntu bionic InRelease
Ign:14 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic InRelease
Get:8 http://et.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Ign:15 http://ppa.launchpad.net/libccd-debs/ppa/ubuntu bionic InRelease
Hit:17 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease
Ign:18 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu bionic InRelease
Hit:19 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease
Hit:20 http://ppa.launchpad.net/thomas-schiex/blender/ubuntu bionic InRelease
Hit:21 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Err:22 http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Err:23 http://ppa.launchpad.net/fcl-debs/ppa/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Get:16 https://packagecloud.io/github/git-lfs/ubuntu bionic InRelease [23.2 kB]
Err:16 https://packagecloud.io/github/git-lfs/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6B05F25D762E3157
Err:24 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Err:25 http://ppa.launchpad.net/libccd-debs/ppa/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Err:26 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: Release file for https://packages.microsoft.com/repos/vscode/dists/stable/InRelease is not valid yet (invalid for another 4h 23min 41s). Updates for this repository will not be applied.
E: Release file for http://et.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 4h 54min 3s). Updates for this repository will not be applied.
E: Release file for http://et.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 3h 21min 25s). Updates for this repository will not be applied.
E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 3h 20min 40s). Updates for this repository will not be applied.
E: The repository 'http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/fcl-debs/ppa/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packagecloud.io/github/git-lfs/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6B05F25D762E3157
E: The repository 'http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/libccd-debs/ppa/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
The problem still persists when running sudo apt-get upgrade
. How can I avoid this?
/etc/apt/sources.list.d/spotify.list
. There it saysdeb http://repository.spotify. scomtable
which should bedeb http://repository.spotify.com stable
. Further, you have several PPA's that don't provide abionic
version for their software. – Jos Feb 19 '19 at 08:31list
command? – Samuel Mideksa Feb 19 '19 at 08:41E: Malformed entry 1 in list file /etc/apt/sources.list.d/spotify.list (Component) E: The list of sources could not be read.
after editing Spotify.list – Samuel Mideksa Feb 19 '19 at 09:41#
in front of it and do a regular update/upgrade. Later, inspect what's wrong with the line. I believe the text as stated in my previous comment is well-formed. – Jos Feb 19 '19 at 09:44root -i
then typecd /etc/apt/sources.list.d
. PPAs are added to a folder in contrast to the lines added to a file for sources.list.Once you're in there type
– avisitoritseems Feb 19 '19 at 09:46ls -a
and delete the offending files withrm filename.list
. Runsudo apt update
to verify. To edit the sources.list file if need be, usesudo nano /etc/apt/sources.list'. To save it, press ctrl + O then enter, then ctrl + X to exit
nano. Run
sudo apt update` to verify. Where did you add those repositories from? I'm curious, I've haven't seen something like this.rm [filename.list]
I am left with only one errorErr:6 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80]
The rest goes fine. – Samuel Mideksa Feb 19 '19 at 09:58sources.list
file and there are lines withbionic
andbionic-updates
andbionic-backports
Shall I comment them? – Samuel Mideksa Feb 19 '19 at 10:09http://us.archive.ubuntu.com/ubuntu/ bionic
-> main restricted / universe / multiverse / security are all default repos (don't format them like that btw, leave them as is). I can't recall exactly which are default but You can probably find that from the website you downloaded your Ubuntu flavor from. – avisitoritseems Feb 19 '19 at 10:23