# Tor Bridge upgrade

**URL:** https://forum.torproject.org/t/tor-bridge-upgrade/6736
**Category:** Relay Operator
**Created:** [March 1, 2023, 8:57am UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736 "2023-03-01T08:57:46Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![goodraminir](https://forum.torproject.org/letter_avatar_proxy/v4/letter/g/7bcc69/32.png) [@goodraminir](https://forum.torproject.org/u/goodraminir)
#### Post date: [March 1, 2023, 8:57am UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/1 "2023-03-01T08:57:46Z")

</div>

Hello,

I am getting warning “Please upgrade! This version of Tor (0.4.5.16) is obsolete, according to the directory authorities. Recommended versions are: 0.4.7.7,0.4.7.8,0.4.7.10”  
How do I upgrade my TOR bridge with keeping my Bridge address the same as before? My OS is Linux Debian Bullseye AMD64  
Any help is greatly appreciated.

Thanks,  
Ramin

---

<div class="post-metadata">

### Author: ![gus](https://forum.torproject.org/user_avatar/forum.torproject.org/gus/32/16_2.png) [@gus](https://forum.torproject.org/u/gus)
#### Post date: [March 1, 2023, 11:53am UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/2 "2023-03-01T11:53:50Z")

</div>

Hi @goodraminir, you just need to install tor from the Tor Project Debian repository instead of using Debian stable repo. Follow this support page [how I can enable Tor Package Repository in Debian?](https://support.torproject.org/apt/tor-deb-repo/). Thanks for running a bridge!

---

<div class="post-metadata">

### Author: ![goodraminir](https://forum.torproject.org/letter_avatar_proxy/v4/letter/g/7bcc69/32.png) [@goodraminir](https://forum.torproject.org/u/goodraminir)
#### Post date: [March 2, 2023, 10:33am UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/3 "2023-03-02T10:33:55Z")

</div>

Thanks Gus, here is what I get after I followed the document:

E: Unable to locate package deb.torproject.org-keyring  
E: Couldn’t find any package by glob ‘deb.torproject.org-keyring’

Another question is that do I lose my bridge Fingerprint and Certificate and will have to recreate my bridge address?

---

<div class="post-metadata">

### Author: ![gus](https://forum.torproject.org/user_avatar/forum.torproject.org/gus/32/16_2.png) [@gus](https://forum.torproject.org/u/gus)
#### Post date: [March 2, 2023, 4:55pm UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/4 "2023-03-02T16:55:54Z")

</div>

Can you paste the result of this command?

> cat /etc/apt/sources.list.d/tor.list

> [@goodraminir](#):
>
> Another question is that do I lose my bridge Fingerprint and Certificate and will have to recreate my bridge address?

No, the new tor won’t overwrite your tor directory. 🙂

---

<div class="post-metadata">

### Author: ![goodraminir](https://forum.torproject.org/letter_avatar_proxy/v4/letter/g/7bcc69/32.png) [@goodraminir](https://forum.torproject.org/u/goodraminir)
#### Post date: [March 3, 2023, 3:28am UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/5 "2023-03-03T03:28:58Z")

</div>

Here you go,

deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] [Index of /torproject.org](https://deb.torproject.org/torproject.org) main  
deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] [Index of /torproject.org](https://deb.torproject.org/torproject.org) main  
deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] [Index of /torproject.org](https://deb.torproject.org/torproject.org) tor-experimental- main  
deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] [Index of /torproject.org](https://deb.torproject.org/torproject.org) tor-experimental- main  
deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] [Index of /torproject.org](https://deb.torproject.org/torproject.org) tor-nightly-main- main  
deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] [Index of /torproject.org](https://deb.torproject.org/torproject.org) tor-nightly-main- main  
deb [arch= signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] [Index of /torproject.org](https://deb.torproject.org/torproject.org) focal main  
deb-src [arch= signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] [Index of /torproject.org](https://deb.torproject.org/torproject.org) focal main

---

<div class="post-metadata">

### Author: ![HackerNCoder](https://forum.torproject.org/user_avatar/forum.torproject.org/hackerncoder/32/56_2.png) [@HackerNCoder](https://forum.torproject.org/u/HackerNCoder)
#### Post date: [March 3, 2023, 11:46am UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/6 "2023-03-03T11:46:31Z")

</div>

You are not running focal, dont add those lines. You (probably) don’t want experimental and nightly builds of tor, so dont add those. You are not running \<dist\> you are running bullseye, change the first two lines to that, and delete the rest

---

<div class="post-metadata">

### Author: ![goodraminir](https://forum.torproject.org/letter_avatar_proxy/v4/letter/g/7bcc69/32.png) [@goodraminir](https://forum.torproject.org/u/goodraminir)
#### Post date: [March 5, 2023, 11:03am UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/7 "2023-03-05T11:03:13Z")

</div>

I removed all the experimental, Focal and Nightly lines. I didn’t have “dist” in my “tor.list” file but “bullseye” but not sure why it is not visible in my previous post.  
Any way I removed all the extra lines and saved. Stopped and started TOR service and ran the command “wget -qO- [https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc](https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc) | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg \>/dev/null”  
Which ran with no issues and then ran “apt update” which returned the following output:  
Ign:7 [Index of /torproject.org](https://deb.torproject.org/torproject.org) InRelease  
Err:8 [Index of /torproject.org](https://deb.torproject.org/torproject.org) Release  
404 Not Found [IP: 116.202.120.166 443]  
Get:9 [Index of /debian](http://ftp.de.debian.org/debian) bullseye-backports/main amd64 Packages.diff/Index [63.3 kB]  
Get:10 [Index of /debian](http://ftp.de.debian.org/debian) bullseye-backports/main amd64 Packages T-2023-03-04-2013.20-F-2023-03-03-2010.44.pdiff [2,380 B]  
Get:10 [Index of /debian](http://ftp.de.debian.org/debian) bullseye-backports/main amd64 Packages T-2023-03-04-2013.20-F-2023-03-03-2010.44.pdiff [2,380 B]  
Reading package lists… Done  
E: The repository ‘[Index of /torproject.org](https://deb.torproject.org/torproject.org) 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.

Then running command " apt install tor deb.torproject.org-keyring" returned the follwoing:  
Reading package lists… Done  
Building dependency tree… Done  
Reading state information… Done  
E: Unable to locate package deb.torproject.org-keyring  
E: Couldn’t find any package by glob ‘deb.torproject.org-keyring’

---

<div class="post-metadata">

### Author: ![HackerNCoder](https://forum.torproject.org/user_avatar/forum.torproject.org/hackerncoder/32/56_2.png) [@HackerNCoder](https://forum.torproject.org/u/HackerNCoder)
#### Post date: [March 5, 2023, 2:11pm UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/8 "2023-03-05T14:11:20Z")

</div>

` Ign:7 Index of /torproject.org 1 InRelease`

Somethings still wrong with the line in your sources list  
You probably have `<bullseye>` in your file, change it to`bullseye`. If not, copy the contents here.

---

<div class="post-metadata">

### Author: ![goodraminir](https://forum.torproject.org/letter_avatar_proxy/v4/letter/g/7bcc69/32.png) [@goodraminir](https://forum.torproject.org/u/goodraminir)
#### Post date: [March 5, 2023, 5:29pm UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/9 "2023-03-05T17:29:29Z")

</div>

Ah, that was the trick. Thanks a lot and sorry to waste your time for such a stupidity. 😑

---

<div class="post-metadata">

### Author: ![tednol](https://forum.torproject.org/user_avatar/forum.torproject.org/tednol/32/2304_2.png) [@tednol](https://forum.torproject.org/u/tednol)
#### Post date: [March 6, 2023, 5:08pm UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/10 "2023-03-06T17:08:54Z")

</div>

I’m having a similar issue. I’m running 0.4.5.10 and struggling to upgrade.

I’m running on armhf (a Raspberry Pi).

Apt-get upgrade tor returns:

> The following packages have unmet dependencies:  
> tor : Depends: libc6 (\>= 2.29) but 2.28-10+rpt2+rpi1+deb10u1 is to be installed  
> Depends: libevent-2.1-7 (\>= 2.1.8-stable) but it is not installable  
> Depends: libgcc-s1 (\>= 3.5) but it is not installable  
> Depends: libzstd1 (\>= 1.4.0) but 1.3.8+dfsg-3+rpi1+deb10u2 is to be installed  
> Depends: runit-helper (\>= 2.10.0~) but it is not going to be installed  
> E: Broken packages

cat /etc/apt/sources.list.d/tor.list returns:

```auto
deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org <DISTRIBUTION> main
deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org <DISTRIBUTION> main

```

Any help gratefully appreciated - thank you!

---

<div class="post-metadata">

### Author: ![gus](https://forum.torproject.org/user_avatar/forum.torproject.org/gus/32/16_2.png) [@gus](https://forum.torproject.org/u/gus)
#### Post date: [March 6, 2023, 5:35pm UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/11 "2023-03-06T17:35:18Z")

</div>

Update your `/etc/apt/sources.list.d/tor.list` with:

```auto
deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bullseye main
deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bullseye main

```

You need to replace `<DISTRIBUTION>` with your Debian release codename, for example, `bullseye`.

---

<div class="post-metadata">

### Author: ![tednol](https://forum.torproject.org/user_avatar/forum.torproject.org/tednol/32/2304_2.png) [@tednol](https://forum.torproject.org/u/tednol)
#### Post date: [March 7, 2023, 3:45pm UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/12 "2023-03-07T15:45:51Z")

</div>

Thank you. I’m now getting this error:

> N: Skipping acquire of configured file ‘main/binary-armhf/Packages’ as repository ‘[Index of /torproject.org](https://deb.torproject.org/torproject.org) buster InRelease’ doesn’t support architecture ‘armhf’

Looks like the issue is the package repository does not offer 32-bit ARM architecture (`armhf` ) images and official advice seems to be to build from source. I’ve never done this before, but seem to have figured it out partially.

I’ve got tor-0.4.7.13 installed and I can run it using the command ‘tor’ - however it’s visible in the command line rather than running as a service in the background. How can I create the tor service so this runs on boot in the background?

---

<div class="post-metadata">

### Author: ![system](https://forum.torproject.org/uploads/default/original/2X/d/d3424bed34f4ec18b2e99178c2801ba6dfb655d6.png) [@system](https://forum.torproject.org/u/system)
#### Post date: [March 8, 2023, 3:46pm UTC](https://forum.torproject.org/t/tor-bridge-upgrade/6736/13 "2023-03-08T15:46:25Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
