# Enable Tor Package Repository in Debian returns errors for raspberry pi4

**URL:** https://forum.torproject.org/t/enable-tor-package-repository-in-debian-returns-errors-for-raspberry-pi4/17068
**Category:** Relay Operator
**Tags:** raspberrypi
**Created:** [January 25, 2025, 4:50pm UTC](https://forum.torproject.org/t/enable-tor-package-repository-in-debian-returns-errors-for-raspberry-pi4/17068 "2025-01-25T16:50:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![oldFashionIBM](https://forum.torproject.org/letter_avatar_proxy/v4/letter/o/51bf81/32.png) [@oldFashionIBM](https://forum.torproject.org/u/oldFashionIBM)
#### Post date: [January 25, 2025, 4:50pm UTC](https://forum.torproject.org/t/enable-tor-package-repository-in-debian-returns-errors-for-raspberry-pi4/17068/1 "2025-01-25T16:50:33Z")

</div>

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](https://support.torproject.org/apt/tor-deb-repo/), 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:

```auto
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](https://deb.torproject.org/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:

```auto
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

---

<div class="post-metadata">

### Author: ![zerologs](https://forum.torproject.org/user_avatar/forum.torproject.org/zerologs/32/6141_2.png) [@zerologs](https://forum.torproject.org/u/zerologs)
#### Post date: [January 25, 2025, 6:50pm UTC](https://forum.torproject.org/t/enable-tor-package-repository-in-debian-returns-errors-for-raspberry-pi4/17068/2 "2025-01-25T18:50:45Z")

</div>

Hi I’m on Debian Bullseye on my Raspberry Pi 4 and I was not able to fix the repositories, what worked for me is I downloaded 2 files and installed them using dpkg:

[https://ftp.debian.org/debian/pool/main/t/tor/](https://ftp.debian.org/debian/pool/main/t/tor/)  
tor\_0.4.8.12-1~bpo11+1\_armhf.deb  
tor-geoipdb\_0.4.8.12-1~bpo11+1\_all.deb

Executing dpkg --print-architecture results in armhf  
and executing tor --version results in

Tor version 0.4.8.12.  
This build of Tor is covered by the GNU General Public License ([The GNU General Public License v3.0 - GNU Project - Free Software Foundation](https://www.gnu.org/licenses/gpl-3.0.en.html))  
Tor is running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1w, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.4.8 and Glibc 2.31 as libc.  
Tor compiled with GCC version 10.2.1

Hope this helps…
