# percona-release 1.0-31.generic hangs enabling repository on Ubuntu 24.04 “noble” (uses HTTP instead of HTTPS)

**URL:** <https://forums.percona.com/t/percona-release-1-0-31-generic-hangs-enabling-repository-on-ubuntu-24-04-noble-uses-http-instead-of-https/39027>\
**Category:** Percona Server for MongoDB\
**Tags:** percona, mongodb, new-release\
**Created:** [August 8, 2025, 11:35am UTC](https://forums.percona.com/t/percona-release-1-0-31-generic-hangs-enabling-repository-on-ubuntu-24-04-noble-uses-http-instead-of-https/39027 "2025-08-08T11:35:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_Lopes](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/gabriel_lopes/32/18090_2.png) [@Gabriel\_Lopes](https://forums.percona.com/u/Gabriel_Lopes)\
**Post date:** [August 8, 2025, 11:35am UTC](https://forums.percona.com/t/percona-release-1-0-31-generic-hangs-enabling-repository-on-ubuntu-24-04-noble-uses-http-instead-of-https/39027/1 "2025-08-08T11:35:44Z")

</div>

When installing percona-release\_latest.noble\_all.deb on Ubuntu 24.04.1 LTS (“noble”), the enable command hangs because the script always uses HTTP to contact [repo.percona.com](http://repo.percona.com) instead of HTTPS.

Environment  
OS: Ubuntu 24.04.1 LTS (noble)  
percona-release version: 1.0-31.generic  
Architecture: amd64

Reproduction steps

1. Download package:  
wget [https://repo.percona.com/apt/percona-release\_latest.$(lsb\_release](https://repo.percona.com/apt/percona-release_latest.$(lsb_release) -sc)\_all.deb

2. Install with dpkg:  
sudo dpkg -i percona-release\_latest.$(lsb\_release -sc)\_all.deb

3. Attempt to enable “prel” repository:  
sudo percona-release enable prel release

4. Script hangs at this point, always calling HTTP:  
++ curl -s [http://repo.percona.com](http://repo.percona.com)

Observed behavior  
The process waits indefinitely on curl [http://repo.percona.com](http://repo.percona.com). Interrupting with Ctrl-C causes post-install to fail.

Expected behavior  
The script should honor --scheme https or URL=“[https://repo.percona.com](https://repo.percona.com)” in /etc/default/percona-release and use HTTPS by default on recent distributions.

What I’ve tried  
• Passing --scheme https (flag not recognized)  
• Setting URL=“[https://repo.percona.com](https://repo.percona.com)” in /etc/default/percona-release (still uses HTTP)  
• Forcing CURL\_EXEC=(/usr/bin/curl “–proto” “=https”) (no effect)

Question  
Has anyone encountered this? Is there a workaround or planned fix to support HTTPS natively on Ubuntu “noble”?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/3X/5/e/5eb777e8f513384a79bc9d414104174862502998.png)

---

<div class="post-metadata">

**Author:** ![Edith-Puclla](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/edith-puclla/32/6980_2.png) [@Edith-Puclla](https://forums.percona.com/u/Edith-Puclla)\
**Post date:** [August 8, 2025, 11:56am UTC](https://forums.percona.com/t/percona-release-1-0-31-generic-hangs-enabling-repository-on-ubuntu-24-04-noble-uses-http-instead-of-https/39027/2 "2025-08-08T11:56:11Z")

</div>

Hi @Gabriel_Lopes , thanks so much for reporting this issue and providing all the details!

We’ve seen a similar problem before, especially when connections need to go through a proxy. One workaround is to explicitly add `--scheme https` When enabling the repository, like this:

```auto
sudo percona-release --scheme https enable psmdb-70 release 

```

Alternatively, you can manually update `/usr/bin/percona-release` to use `https` instead of `http` If the above doesn’t work.

Let us know if this helps or if you run into any other issues.

---

<div class="post-metadata">

**Author:** ![Vadim\_Yalovets](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadim_yalovets/32/43_2.png) [@Vadim\_Yalovets](https://forums.percona.com/u/Vadim_Yalovets)\
**Post date:** [August 8, 2025, 12:33pm UTC](https://forums.percona.com/t/percona-release-1-0-31-generic-hangs-enabling-repository-on-ubuntu-24-04-noble-uses-http-instead-of-https/39027/3 "2025-08-08T12:33:14Z")

</div>

Hi Gabriel,

> [@Gabriel\_Lopes](#):
>
> What I’ve tried  
> • Passing --scheme https (flag not recognized)  
> • Setting URL=“[https://repo.percona.com](https://repo.percona.com)” in /etc/default/percona-release (still uses HTTP)  
> • Forcing CURL\_EXEC=(/usr/bin/curl “–proto” “=https”) (no effect)

The flag _ **–scheme** _ have to be used at the end of the command.  
It was missed to add a description of usage the flag. It will be done in the next release.

 ![Screenshot 2025-08-08 at 15.39.21](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/3X/4/8/487c87714f441f9a37f2f0216e5b1575a7eb4941.png)

---

<div class="post-metadata">

**Author:** ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)\
**Post date:** [September 11, 2025, 9:35am UTC](https://forums.percona.com/t/percona-release-1-0-31-generic-hangs-enabling-repository-on-ubuntu-24-04-noble-uses-http-instead-of-https/39027/4 "2025-09-11T09:35:01Z")

</div>

Hey @Gabriel_Lopes  
We have released percona-release-1.0.32 and this issue has been fixed in it
