My first post meant as feedback.
I have a raspberry pi4 running on debian 12 (bookworm). I an error message after following the instructions on page enable Tor Package Repository in Debian, although the raspberry pi met all the requirements. dpkg --print-architecture says arm64 and lsb_release -c says bookworm. As suggested in action 2 . I created the file /etc/apt/sources.list.d/tor.list with the lines:
deb [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org <DISTRIBUTION> main
deb-src [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org <DISTRIBUTION> main
where DISTRUBUTION was replaced by “bookworm”
When performing a sudo apt update I got the error:
Skipping acquire of configured file ‘main/binary-armhf/Packages’ as repository ‘Index of /torproject.org bookworm InRelease’ doesn’t support architecture ‘armhf’
I do not know what is causing this error for the raspberry pi4 is an arm64 and not a 32bit armhf. I can prevent this error when adding the architecture to both lines in file tor.list, like:
deb [arch=arm64 signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main
deb-src [arch=arm64 signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main
I would like to addresses this to the maintainer of the web page Why and how I can enable Tor Package Repository in Debian?
but I do not know how.
I have one remark to be added. I think you still can install a 32bit OS on the raspberry pi4. I installed a 64 bits version. So always check the architecture using command: dpkg --print-architecture.
I installed:
Release date: November 19th 2024
System: 64-bit
Kernel version: 6.6
Debian version: 12 (bookworm)
Size: 438MB