PDA

View Full Version : i am having issue with sudo apt-get update please help me...



nrutyang
2020-05-14, 11:30
$ sudo apt-get update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://security.kali.org/kali-security sana/updates InRelease
Err:4 http://security.kali.org/kali-security sana/updates Release
404 Not Found [IP: 192.99.200.113 80]
Ign:5 http://http.kali.org/kali sana InRelease
Hit:6 http://old.kali.org/kali moto InRelease
Err:7 http://http.kali.org/kali sana Release
404 Not Found [IP: 192.99.200.113 80]
Hit:3 http://kali.download/kali kali-rolling InRelease
Reading package lists... Done
E: The repository 'http://security.kali.org/kali-security sana/updates 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://http.kali.org/kali sana 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.


and today...

after installing keyring by
# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
Executing: /tmp/apt-key-gpghome.8RpRnknizf/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
gpg: key 0C70FD6B7D8D0BF6: public key "Totally Legit Signing Key <mallory@example.org>" imported
gpg: key ED444FF07D8D0BF6: "Kali Linux Repository <devel@kali.org>" not changed
gpg: Total number processed: 2
gpg: imported: 1
gpg: unchanged: 1

then i entered this but i don't know worked or not...
# rm -rf /var/lib/apt/lists

after i entered
# sudo apt-get update (and result is)
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:2 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,128 B]
Ign:4 http://security.kali.org/kali-security sana/updates InRelease
Ign:5 http://http.kali.org/kali sana InRelease
Err:6 http://security.kali.org/kali-security sana/updates Release
404 Not Found [IP: 192.99.200.113 80]
Err:7 http://http.kali.org/kali sana Release
404 Not Found [IP: 192.99.200.113 80]
Get:3 http://ftp.harukasan.org/kali kali-rolling InRelease [30.5 kB]
Get:8 http://ftp.harukasan.org/kali kali-rolling/main amd64 Packages [16.5 MB]
Err:9 http://old.kali.org/kali moto InRelease
Connection failed [IP: 54.39.49.227 80]
Get:10 http://ftp.harukasan.org/kali kali-rolling/contrib amd64 Packages [98.5 kB]
Get:11 http://ftp.harukasan.org/kali kali-rolling/non-free amd64 Packages [196 kB]
Reading package lists... Done
E: The repository 'http://security.kali.org/kali-security sana/updates 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://http.kali.org/kali sana 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.




please help me

steev
2020-05-17, 06:57
You need to clean up your sources.list file. I'm not sure what you're trying to do, but I can 100% guarantee you that enabling and installing software from moto or sana into kali-rolling is the wrong thing to do. Please see https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/