soo many errors while running update in kali

Asked by chethan

when i run "apt update" I get These many errors..please help to solve everything..

Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Ign:4 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu jammy InRelease
Ign:5 http://ppa.launchpad.net/webupd8team/java/ubuntu jammy InRelease
Err:7 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu jammy Release
  404 Not Found [IP: 2001:67c:1560:8008::19 80]
Err:8 http://ppa.launchpad.net/webupd8team/java/ubuntu jammy Release
  404 Not Found [IP: 2001:67c:1560:8008::19 80]
Hit:6 https://mirror.anigil.com/kali kali-rolling InRelease
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu jammy 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://ppa.launchpad.net/webupd8team/java/ubuntu jammy 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.
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'contrib/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'non-free/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Kali isn't supported here or any of the Ubuntu community forums. It's support is entirely separate from Ubuntu's

I suggest you post on the Kali forum here
https://forums.kali.org/

None of the Ubuntu based distributions are supported here

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

I confirm that Kali Linux is not supported in this Ubuntu question area.

I still want to help:
There is an error in the configuration of your package management system.
Apparently there was a confusion between i386 and 1386.
The command
sudo dpkg --remove-architecture 1386
will most probably help.

Revision history for this message
chethan (chethu1324) said :
#3

thanks..i have get rid of all these

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.
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'contrib/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'non-free/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'

but there is still errors

Ign:1 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu jammy InRelease
Err:3 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu jammy Release
  404 Not Found [IP: 2001:67c:1560:8008::19 80]
Hit:2 http://ftp.harukasan.org/kali kali-rolling InRelease
Reading package lists... Done
N: Ignoring file 'cybermax-dexter-ubuntu-sdl2-backport-jammy.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-chrome.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'brave-browser-release.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'webupd8team-ubuntu-java-jammy.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'microsoft-prod.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: The repository 'http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu jammy 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.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Please ask at kali.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Last remark from my side:

Do a web search for "Kali and PPA" and you will find several pages telling that it does not make sense to add a PPA to Kali Linux, because Kali Linux is based on Debian and not on Ubuntu.

Remove all references to PPAs from your package management configuration and all other junk files from the related directories and the errors will disappear.

Can you help with this problem?

Provide an answer of your own, or ask chethan for more information if necessary.

To post a message you must log in.