I'm getting errors in my terminal every time I try to apt-get install
something or update
. I guess it has something to do with installing mongodb.
I'm new to Linux, and I followed this guide exactly on how to install it. I couldn't find a guide for 17.04 version so I did the 16.10, and now every time I try to apt-get
something I get this error:
Reading package lists... Done
W: GPG error: http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0
Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9ECBEC467F0CEB10 W: The repository 'http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Plus I have an alert in my top bar:
an error occured please run package manager from the right-click menu or apt-get in a terminal to see what is wrong the error message was :
Error brokenCount > 0. this usually means that your installed packages have unmet dependencies.
sudo apt -f install
– Arun Jun 07 '17 at 19:19Could not resolve 'repository.spotify.com' Err:8 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease Could not resolve repo.mongodb.org http://repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/3.0/InRelease Could not resolve 'repo.mongodb.org' W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.4/InRelease Could not resolve 'repo.mongodb.org' – Steve Jun 07 '17 at 19:24
repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/3.0/…
from your repository – Arun Jun 07 '17 at 19:33sudo apt purge mongo*
and try again – Arun Jun 08 '17 at 06:15