# Error installing \`bullseye-backports\` when trying to install for Development

**URL:** https://meta.discourse.org/t/error-installing-bullseye-backports-when-trying-to-install-for-development/258716
**Category:** Self-hosting
**Tags:** dev-install
**Created:** [March 20, 2023, 11:15am UTC](https://meta.discourse.org/t/error-installing-bullseye-backports-when-trying-to-install-for-development/258716 "2023-03-20T11:15:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Norike](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/norike/32/299043_2.png) [@Norike](https://meta.discourse.org/u/Norike)
#### Post date: [March 20, 2023, 11:15am UTC](https://meta.discourse.org/t/error-installing-bullseye-backports-when-trying-to-install-for-development/258716/1 "2023-03-20T11:15:34Z")

</div>

Following the guide [Install Discourse on Ubuntu for Development](https://meta.discourse.org/t/install-discourse-on-ubuntu-for-development/14727), on a new virtual machine with Ubuntu 20.04 I get this error:

```plaintext
E: The value 'bullseye-backports' is invalid for APT::Default-Release as such a release is not available in the sources failed

```

when I try to run:

```plaintext
bash <(wget -qO- https://raw.githubusercontent.com/discourse/install-rails/master/linux)

```

I get the same error at the same step when trying to follow the guide [Install Discourse on Windows 10 for development](https://meta.discourse.org/t/install-discourse-on-windows-10-for-development/75149)

---

<div class="post-metadata">

### Author: ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)
#### Post date: [March 20, 2023, 11:29am UTC](https://meta.discourse.org/t/error-installing-bullseye-backports-when-trying-to-install-for-development/258716/2 "2023-03-20T11:29:10Z")

</div>

The only working installation guide seems to be

- [Install Discourse for development using Docker](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009)

[https://raw.githubusercontent.com/discourse/install-rails/master/linux](https://raw.githubusercontent.com/discourse/install-rails/master/linux) seems to be outdated.  
It installs ruby 3.1.3 and node 16, while the current base image uses ruby 3.2.1 and node 18.

I got it running on Debian 11 but got other errors in the follow-up.  
Switching to the dockerized dev environment solved most problems.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 19, 2023, 11:29am UTC](https://meta.discourse.org/t/error-installing-bullseye-backports-when-trying-to-install-for-development/258716/3 "2023-04-19T11:29:32Z")

</div>

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