Closed manjitsaha closed 6 years ago
Okay... I did that.. now got another error..
W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
I got the above error while. Doing
apt-get update
Edit your sources.list file and add trusted=yes
like deb [trusted=yes] http...........
Means just add [trusted=yes] between deb
and http
In Com.termux/home/kali/etc/apt/sources.list
Yes
Still getting that error
root@localhost:~# apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
apt show python
is working or not ?
root@localhost:~# apt show python
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: can not open /var/lib/apt/lists/http.kali.org_kali_dists_kali-rolling_Release - fopen (13: Permission denied) E: The package lists or status file could not be parsed or opened.
What is your architecture ? And also tell your phone is rooted or not
Now i think apt python worked. But not not update command
root@localhost:~# apt show python
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
root@localhost:~# apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org root@localhost:~#
I have rooted phone . Otherwise tell. I was not able to edit startkali file
Can you try apt-get update
with root permissions
root@localhost:~# apt-get update W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org root@localhost:~#
root@localhost:~# apt-get update W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org root@localhost:~#
root@localhost:~# apt-get update
W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
root@localhost:~#
Cpu architecture --- aarch64
Instruction sets --- arm64-v8a
Kernel architecture -- aarch64
Can you revert your changes means just remove [trusted=yes]
from sources.list and then execute given command
wget -q -O - archive.kali.org/archive-key.asc | apt-key add
Then again try
apt-get update
root@localhost:~# wget -q -O - archive.kali.org/archive-key.asc | apt-key add Warning: apt-key output should not be parsed (stdout is not a terminal) root@localhost:~# apt-get update root@localhost:~#
Is that supposed???
root@localhost:~# wget -q -O -
archive.kali.org/archive-key.asc | apt-key
add
Warning: apt-key output should not be
parsed (stdout is not a terminal)
root@localhost:~# apt-get update
root@localhost:~#
And also no command is working..
Ls, clear nothing is working
Well.. i can't see the directories using ls command. But... I am able to change directory..
roott@localhost:~# ls root@localhost:~# cd /var/www root@localhost:/var/www#
Remove whole Kali folder and reinstall to confirm the error .
Then first you have to do wget -q -O - archive.kali.org/archive-key.asc | apt-key add
and then apt-get update
It means.. i have to run that kalinethunter Again.
Okay.. now this is stucked at this..
You are going to install Kali Nethunter in termux ;) Cool
[] Checking host architecture ... [] Updating termux ... $
Okay... I reinstalled kali..
Now... I did what u said
root@localhost:~# wget -q -O - archive.kali.org/archive-key.asc | apt-key add gpg: no valid OpenPGP data found. root@localhost:~# root@localhost:~# apt-get update Err:1 http://http.kali.org/kali kali-rolling InRelease Temporary failure resolving 'http.kali.org' Reading package lists... Done W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Temporary failure resolving 'http.kali.org' W: Some index files failed to download. They have been ignored, or old ones used instead.
pkg install dirmngr gnupg
first of to have the error. Uninstall Termux and first install pkg install dirmngr gnupg https://wiki.termux.com/wiki/Package_Management
i made it with this, apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6 what problem can already be closed?
patching mirrorlist temporarily until further source update don t worry about gpg errors
I faced this error, please help
printf "\nnameserver 8.8.8.8" > /etc/resolv.conf
How to do this