View Issue Details

IDProjectCategoryView StatusLast Update
0006347Kali LinuxTool Upgrade Requestpublic2025-07-14 09:36
ReporterVarus Assigned Tosbrun  
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionno change required 
Product Version2020.1 
Summary0006347: Updating from such a repository can't be done securely;apt-secure(8)
Description

I tried to update my kali linux and it keep showing me this message, I tried to update it using Katoolin tool and it won't work,
in addition i tried to install latest version of python and also it keep given me error message.

root@HOST:~# apt update
Ign:1 cdrom://[Kali GNU/Linux 2020.1b Kali-last-snapshot - Official i386 DVD Binary-1 with firmware 20200316-18:14] kali-rolling InRelease
Err:2 cdrom://[Kali GNU/Linux 2020.1b Kali-last-snapshot - Official i386 DVD Binary-1 with firmware 20200316-18:14] kali-rolling Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://kali.download/kali kali-rolling InRelease
Reading package lists... Done
E: The repository 'cdrom://[Kali GNU/Linux 2020.1b Kali-last-snapshot - Official i386 DVD Binary-1 with firmware 20200316-18:14] kali-rolling 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.
root@HOST:~# sudo apt-get update
Ign:1 cdrom://[Kali GNU/Linux 2020.1b Kali-last-snapshot - Official i386 DVD Binary-1 with firmware 20200316-18:14] kali-rolling InRelease
Err:2 cdrom://[Kali GNU/Linux 2020.1b Kali-last-snapshot - Official i386 DVD Binary-1 with firmware 20200316-18:14] kali-rolling Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://kali.download/kali kali-rolling InRelease
Reading package lists... Done
E: The repository 'cdrom://[Kali GNU/Linux 2020.1b Kali-last-snapshot - Official i386 DVD Binary-1 with firmware 20200316-18:14] kali-rolling 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.

Steps To Reproduce

run: sudo apt-get update

Additional Information

I m using Latest version Kali linux 2020.1a
fresh install

Activities

cozz

cozz

2020-04-30 21:24

reporter   ~0012707

I have only started the past few months with Kali but looks like you need to amend your sources.list file.

Kali.org for info on this. I do not want to give you any commands just in case I give the wrong info, maybe in a few months I can
offer more detailed instructions.

Someone correct me if i am wrong.

cozz

cozz

2020-04-30 21:34

reporter   ~0012708

Why give half an answer, someone might correct me if I am wrong

/etc/apt$ nano sources.list

Add this to file:

deb http://http.kali.org/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-last-snapshot main non-free contrib
deb http://http.kali.org/kali kali-experimental main non-free contrib
deb-src http://http.kali.org/kali kali-experimental main non-free contrib
deb [arch=ppc64el,amd64,arm64] http://mariadb.mirrors.ovh.net/MariaDB/repo/10.3/ubuntu bionic main

deb-src [arch=ppc64el,amd64,arm64] http://mariadb.mirrors.ovh.net/MariaDB/repo/10.3/ubuntu bionic main

Again just check with someone with a bit more experience.

cozz

cozz

2020-04-30 21:35

reporter   ~0012709

Correction, sorry!!

/etc/apt/ nano sources.list

sbrun

sbrun

2020-05-01 08:39

manager   ~0012712

Yes your source.list is not correct.

You can find the official documentation here:

https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/

By default your source list should contain only (see section "Default Network Repository Value") :

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

Please note: if you add other repo (like http://mariadb.mirrors.ovh.net/***) you might break your system.

Issue History

Date Modified Username Field Change
2020-04-30 17:36 Varus New Issue
2020-04-30 17:36 Varus Status new => assigned
2020-04-30 17:36 Varus Assigned To => sbrun
2020-04-30 21:24 cozz Note Added: 0012707
2020-04-30 21:34 cozz Note Added: 0012708
2020-04-30 21:35 cozz Note Added: 0012709
2020-05-01 08:39 sbrun Status assigned => closed
2020-05-01 08:39 sbrun Resolution open => no change required
2020-05-01 08:39 sbrun Note Added: 0012712
2021-05-31 13:37 rhertzog Category Tool Upgrade => Tool Upgrade Request
2025-07-14 09:36 g0tmi1k Priority high => normal