View Issue Details

IDProjectCategoryView StatusLast Update
0009157Kali LinuxKali Package Bugpublic2026-04-14 19:48
Reportersonixa Assigned Tog0tmi1k  
PrioritynormalSeverityminorReproducibilityhave not tried
Status feedbackResolutionreopened 
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

sonixa

sonixa

2026-04-14 19:08

reporter   ~0021563

Last edited: 2026-04-14 19:48

2025.2 and all later versions (including 2026.1 and the 20260301 development version) do not make the microsd card visible in "portfolio" (the files app), so i'm going back to using 2025.1c because it is the best version, but every time i flash it it's broken because apt update doesn't work, so the fact that this issue is fixed in "the next release" doesn't help me. in other words, for me and anyone who wants their pinephone pro to work as well as possible out of the box, this issue persists and is not solved. what would help is if it were fixed in this release (the 2025.1 release), therefore creatiing a release called 2025.1d (incrementing the letter).

alternatively, a lot of things could be fixed in the 2026.2 release (the next release):

  1. making micro sd cards visible in portfolio as they were in the 2025.c1 release (which has been broken ever since the 2025.2 release)
  2. making hotspot and tethering work again (which has been broken since the 2026.1 release)

and the stevia keyboard is so terrible (it doesn't even have cursor keys), so i don't care how old, buggy, and unmaintained squeekboard is, it is highly superior to stevia. please use squeekboard. there are a lot of bugs and problems with stevia, and the developer won't listen to reason (he's not trying to make a useful keyboard for all, it's just his own little weird pet project). squeekboard is customizable, and has cursor keys by default, so squeekboard is still the osk (onscreen keyboard) that "just works."

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
2026-04-14 19:08 sonixa Status resolved => feedback
2026-04-14 19:08 sonixa Resolution fixed => reopened
2026-04-14 19:08 sonixa Note Added: 0021563
2026-04-14 19:09 sonixa Note Edited: 0021563
2026-04-14 19:41 sonixa Note Edited: 0021563
2026-04-14 19:48 sonixa Note Edited: 0021563