View Issue Details

IDProjectCategoryView StatusLast Update
0009157Kali LinuxKali Package Bugpublic2025-05-11 05:41
Reportersonixa Assigned Tog0tmi1k  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0009157: unable to run apt update on pinephone pro
Description

i flashed "kali-nethunterpro-2025.1c-pinephonepro.img" to my pinephone pro. i have tow-boot installed. it booted ok. this is the first pinephone pro distro where the phone fully works (incoming calls audio in and out, and outgoing calls audio in and out). so thank you for that.
but when i try to install software i can't. the software app is like a dummy app. it lists like 6 things, none of which can be downloaded. and when i go to the console and run 'sudo apt update', it spits out a bunch of error messages, indicating 401 unauthorized for the kali repo.

i tried adding an 's' to http, adding the mobian repo (which is already added, so that made no difference), and tried ignoring authentication requirements (an apt option), but i couldn't get it to work. i was trying to download vlc.

i can run apt update and install vlc using mobian linux (weekly 4-27-2025 release). so i don't know why it's not working here.

running 'sudo apt update' produces the following output:

Hit:1 http://repo.mobian.org trixie InRelease
Err:2 http://repo.kali.org/kali kali-last-snapshot InRelease
Get:3 https://raw.githubusercontent.com/Shubhamvis98/deb/repo rolling InRelease [5729 B]
Error: Failed to fetch http://repo.kali.org/kali/dists/kali-last-snapshot/InRelease 401 Unauthorized [IP: 2607:xxxx:xxx:xxxx:: 80]
Error: The repository 'http://repo.kali.org/kali kali-last-snapshot InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.

i read that from my phone and typed it here, so if there's a typo that's why. and i masked the ip address.

Activities

Shubhamvis98

Shubhamvis98

2025-05-06 02:05

reporter   ~0020543

This issue can be fixed by changing the repo's url in /etc/apt/sources.list.
Just update the repo.kali.org with http.kali.org.

The repo.kali.org is not for public use (afaik) .
So, this issue will be fixed in the next release.

arnaudr

arnaudr

2025-05-06 02:26

manager   ~0020546

Just update the repo.kali.org with http.kali.org.

Correct.

Additionally, you might want to change kali-last-snapshot to kali-rolling if you want latest updates.

g0tmi1k

g0tmi1k

2025-05-06 16:50

administrator   ~0020551

Fix: https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-pro/-/merge_requests/27

Shubhamvis98

Shubhamvis98

2025-05-06 17:09

reporter   ~0020552

Thanks @g0tmi1k

sonixa

sonixa

2025-05-08 22:18

reporter   ~0020567

the proposed solution works.

i changed /etc/apt/sources.list "repo.kali.org" to "http.kali.org"

now running "apt update" and "apt install nano" works.

this issue won't really be solved until the latest release works out of the box.

Shubhamvis98

Shubhamvis98

2025-05-09 00:47

reporter   ~0020574

This is already patched and can be fixed in next release. So I guess we can close this thread.

g0tmi1k

g0tmi1k

2025-05-11 05:41

administrator   ~0020585

Closing at @shubhamvis98 request

Issue History

Date Modified Username Field Change
2025-05-05 21:17 sonixa New Issue
2025-05-06 02:05 Shubhamvis98 Note Added: 0020543
2025-05-06 02:26 arnaudr Note Added: 0020546
2025-05-06 16:50 g0tmi1k Note Added: 0020551
2025-05-06 17:09 Shubhamvis98 Note Added: 0020552
2025-05-08 22:18 sonixa Note Added: 0020567
2025-05-09 00:47 Shubhamvis98 Note Added: 0020574
2025-05-11 05:41 g0tmi1k Assigned To => g0tmi1k
2025-05-11 05:41 g0tmi1k Status new => resolved
2025-05-11 05:41 g0tmi1k Resolution open => fixed
2025-05-11 05:41 g0tmi1k Note Added: 0020585