Debugging MK007  

Updating from such a repository can’t be done securely.

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.

Hi Geeks,

This post was prepared for guiding you how to resolve the following error in Kali Linux. The steps followed in this post is also similar to other debian Linux distributions.

W: GPG error: http://www.deb-multimedia.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
E: The repository 'http://www.deb-multimedia.org jessie InRelease' is not signed.
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.

Content:

  • Why this error occurs?
  • What is repositories?
  • Solution
  • Add Official Repositories?

Why this error occurs?

All the Linux distros have separated repositories. The system was connected to there rolling distributions via repositories. Each repositories are have separate job or access. Via this repositories you able to access your Linux distributions packages.

If you want to access Kali Linux packages then you want to use its official repositories. Like that all other distributions have separated repositories.

At the same time Kali Linux repositories are not working in ubuntu, parrot,…. and Ubuntu repositories are doesn’t working in Kali Linux, parrot security, blackhat,…

Mistakenly you added some other repositories in your Linux system, then you was encountered by “updating from such a repository” error.

What is Repositories ?

Repository –  “A place where things or packages are stored”.

Solution:

For resolving this error you want to remove that wrong repositories from your source list.

Open a terminal  and run the following command for removing that wrong repositories.

mk007@linuxlia:~$ sudo add-apt-repository --remove "That wrong repository"

Alright, now the repository was removed successfully. Finally update and upgrade your system. It helps to reconnect your system to the rolling repositories.

mk007@linuxlia:~$ sudo apt-get update
mk007@linuxlia:~$ sudo apt-get dist-upgrade

In case, unfortunately you encountered by the following error then visit this blog post.

 Errors were encountered while processing:
 E:Subprocess/usr/bin/dpkg returned an error code(1)

Add Official Repositories?

You must want to add the official repositories of Kali Linux in your system. The following guide helps you.

All Repositories for Kali Linux ( APT, Sana and Network Mirrors)

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Leave A Comment