-5

This is my /etc/apt/sources.list contain

deb http://http.kali.org/kali kali-rolling main contrib non-free 
deb-src http://http.kali.org/kali kali-rolling main contrib non-free

a command like apt-get update or installing anything like apt-get install terminator. these commands are not working. yet I am unable to update it or download anything. I have Linux 2019.1. As it is an old version but I need it for my work. How to fix this issue? After running command sudo apt-get update I got output

Get:1 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease [30.6 kB]
Get:2 http://kali.cs.nctu.edu.tw/kali kali-bleeding-edge InRelease [14.1 kB]
Err:1 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease
  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Get:3 http://kali.cs.nctu.edu.tw/kali kali-experimental InRelease [23.0 kB]
Err:2 http://kali.cs.nctu.edu.tw/kali kali-bleeding-edge InRelease
  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Err:3 http://kali.cs.nctu.edu.tw/kali kali-experimental InRelease
  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Reading package lists... Done
W: GPG error: http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
E: The repository 'http://http.kali.org/kali kali-rolling 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.
W: GPG error: http://kali.cs.nctu.edu.tw/kali kali-bleeding-edge InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
E: The repository 'http://http.kali.org/kali kali-bleeding-edge 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.
W: GPG error: http://kali.cs.nctu.edu.tw/kali kali-experimental InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
E: The repository 'http://http.kali.org/kali kali-experimental 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.
Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
Hassan Turi
  • 101
  • 2
  • 2
    Could you fill the term »unable« with some hints? What command does produce what reaction (message, error, hangs, return without output)? – Philippos Feb 01 '22 at 08:55
  • Sir I have updated my question – Hassan Turi Feb 01 '22 at 15:07
  • 1
    Please provide the error message that you get when you do `apt install something` / `apt update` . – vinalti Feb 01 '22 at 15:40
  • E; unable to locate package – Hassan Turi Feb 01 '22 at 16:30
  • You might want to learn more about Linux before you jump into using Kali or you're not going to get very far – dcom-launch Feb 01 '22 at 17:47
  • @dcom-launch sir, I am not doing some big work it is a simple step for my sources.list file has a kali Linux rolling repository address. I only want to install some packages which I am unable to do due to this error. I have searched for every possible solution out there but none of that is working. so I posted it here to get the exact answer. – Hassan Turi Feb 01 '22 at 17:56
  • Post exact output of `sudo apt update` – dcom-launch Feb 01 '22 at 17:59
  • 1
    @roaima thank you for the suggestion I updated the Question – Hassan Turi Feb 01 '22 at 18:15
  • 3
    Does this answer your question? [Invalid signature for Kali Linux repositories : "The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository"](https://unix.stackexchange.com/questions/421821/invalid-signature-for-kali-linux-repositories-the-following-signatures-were-i) – roaima Feb 01 '22 at 18:38
  • @roaima no sir these are not working – Hassan Turi Feb 01 '22 at 18:45
  • 2
    "not working" means almost nothing. Be precise. Update your question to explain what you've tried, what happened, etc – roaima Feb 01 '22 at 19:57

1 Answers1

0

You have mixed kali-rolling , kali-bleeding-edge and kali-experimental.

To install package from kali-rolling use:

sudo apt-get install terminator/kali-rolling

To install package from kali-bleeding-edge use:

sudo apt-get install terminator/kali-bleeding-edge

To solve the gpg key error see this Q/A.

GAD3R
  • 63,407
  • 31
  • 131
  • 192
  • Sir not working this does not work. My Sources.list doesnt have anything else like experimental or blending. My sources.list file has only these two lines that are given in the question – Hassan Turi Feb 02 '22 at 10:19
  • 1
    As you've been told in a comment to the question "does not work" means almost nothing! Be specific about what you do and what error you get. In proper Debian (and I guess descendants like kali have inherited that), you can add sources in `/etc/apt/sources.list.d/*`, could they be there? – Henrik supports the community Feb 02 '22 at 12:51