bruno: PPA from the installation guide doesn't work

I get “404 page not found” 24021201750

https://www.usebruno.com/downloads 24021201815

➜  sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/bruno.gpg --keyserver keyserver.ubuntu.com --recv-keys 9FA6017ECABE0266 
[sudo] password for mint:     
gpg: keybox '/etc/apt/keyrings/bruno.gpg' created
gpg: failed to create temporary file '/root/.gnupg/.#lk0x000055cb2ad809e0.VirtualBox.2928': No such file or directory
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
~ as 🧙 
✗  echo "deb [signed-by=/etc/apt/keyrings/bruno.gpg] http://debian.usebruno.com/ bruno stable" | sudo tee /etc/apt/sources.list.d/bruno.list 
deb [signed-by=/etc/apt/keyrings/bruno.gpg] http://debian.usebruno.com/ bruno stable
~ as 🧙 
➜  sudo apt update 
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:2 https://download.docker.com/linux/ubuntu jammy InRelease                                                                                                                                                    
Hit:3 https://ppa.launchpadcontent.net/hluk/copyq/ubuntu jammy InRelease                                                                                                                                          
Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease                                                                                                                                                            
Hit:5 https://ppa.launchpadcontent.net/kelleyk/emacs/ubuntu jammy InRelease                                                                                                                                       
Hit:6 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease                                                                                                                                        
Hit:7 https://deb.librewolf.net jammy InRelease                                                                                                                                                                   
Hit:8 https://apt.syncthing.net syncthing InRelease                                                                                                                                         
Hit:9 https://packages.microsoft.com/repos/code stable InRelease                                                                      
Get:10 https://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_22.04  InRelease [1,557 B]      
Ign:11 http://packages.linuxmint.com virginia InRelease                                                 
Hit:12 https://ppa.launchpadcontent.net/inkscape.dev/stable/ubuntu jammy InRelease
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:14 https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu jammy InRelease
Hit:15 https://ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu jammy InRelease
Hit:16 http://packages.linuxmint.com virginia Release                           
Hit:17 https://ppa.launchpadcontent.net/unit193/encryption/ubuntu jammy InRelease
Hit:18 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:20 http://debian.usebruno.com bruno InRelease
Err:21 http://debian.usebruno.com bruno Release
  404  Not Found [IP: 137.184.34.252 80]
Reading package lists... Done
E: The repository 'http://debian.usebruno.com bruno 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.
~ as 🧙 
✗  

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 6
  • Comments: 20 (3 by maintainers)

Most upvoted comments

I had the same issue in Ubuntu 22.04 following the website instructions. I had to run the gpg command below which fixed it

sudo gpg \
--homedir /tmp \
--no-default-keyring \
--keyring /etc/apt/keyrings/bruno.gpg \
--keyserver keyserver.ubuntu.com \
--recv-keys 9FA6017ECABE0266

After running that it imported properly and I was about to apt update and apt install

This works in my case:

sudo gpg \
--homedir /tmp \
--no-default-keyring \
--keyring /etc/apt/keyrings/bruno.gpg \
--keyserver keyserver.ubuntu.com \
--recv-keys 9FA6017ECABE0266
mint@VirtualBox:~$ sudo gpg \
--homedir /tmp \
--no-default-keyring \
--keyring /etc/apt/keyrings/bruno.gpg \
--keyserver keyserver.ubuntu.com \
--recv-keys 9FA6017ECABE0266
[sudo] password for mint:     
gpg: keybox '/etc/apt/keyrings/bruno.gpg' created
gpg: /tmp/trustdb.gpg: trustdb created
gpg: key 9FA6017ECABE0266: public key "Anoop M D <anoop.md1421@gmail.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
mint@VirtualBox:~$ echo "deb [signed-by=/etc/apt/keyrings/bruno.gpg] http://debian.usebruno.com/ bruno stable" | sudo tee /etc/apt/sources.list.d/bruno.list
deb [signed-by=/etc/apt/keyrings/bruno.gpg] http://debian.usebruno.com/ bruno stable
mint@VirtualBox:~$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://packages.linuxmint.com virginia InRelease
Get:4 http://debian.usebruno.com bruno InRelease [1,812 B]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:6 http://packages.linuxmint.com virginia Release
Get:7 http://debian.usebruno.com bruno/stable amd64 Packages [478 B]
Hit:9 http://archive.ubuntu.com/ubuntu jammy-backports InRelease 
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,282 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [552 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [681 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,031 kB]
Fetched 3,778 kB in 2s (1,800 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'http://debian.usebruno.com bruno InRelease' doesn't support architecture 'i386'
mint@VirtualBox:~$ sudo apt install bruno
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  bruno
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.4 MB of archives.
After this operation, 283 MB of additional disk space will be used.
Get:1 http://debian.usebruno.com bruno/stable amd64 bruno amd64 1.6.1 [70.4 MB]
Fetched 70.4 MB in 8s (8,338 kB/s)
Selecting previously unselected package bruno.
(Reading database ... 528554 files and directories currently installed.)
Preparing to unpack .../archives/bruno_1.6.1_amd64.deb ...
Unpacking bruno (1.6.1) ...
Setting up bruno (1.6.1) ...
Processing triggers for desktop-file-utils (0.26+mint3+victoria) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
mint@VirtualBox:~$ 

I tried this on Ubuntu 24.04.

The original error: gpg: keyserver receive failed: No dirmngr is probably caused by initial gpg dirs not existing. This can be fixed by running:

$ sudo gpg -k

However, the key still does not work. And changing the homedir to /tmp (like above comment) does not fix this either.

$ sudo gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/bruno.gpg --keyserver keyserver.ubuntu.com --recv-keys 9FA6017ECABE0266
gpg: keyserver receive failed: Server indicated a failure
$ sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/bruno.gpg --keyserver keyserver.ubuntu.com --recv-keys 9FA6017ECABE0266
gpg: keyserver receive failed: Server indicated a failure

The cause is discussed here: https://unix.stackexchange.com/questions/399027/gpg-keyserver-receive-failed-server-indicated-a-failure

There is a deeper DNS problem at work here with dirmngr or something, but changing to port 80 worked without any other system changes:

$ sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/bruno.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9FA6017ECABE0266

Other tools can connect just fine to the keyserver:

$ nc -vz keyserver.ubuntu.com 11371
Connection to keyserver.ubuntu.com (185.125.188.26) 11371 port [tcp/hkp] succeeded!

I’m not sure if it’s appropriate to change that command in the documentation, but there should at least be a note about this common problem.

To fix the notice with i386, change the file /etc/apt/sources.list.d/bruno.list to:

deb [arch=amd64 signed-by=/etc/apt/keyrings/bruno.gpg] http://debian.usebruno.com/ bruno stable

It would be good to change in the website too, if in the future there is an arm64 build this should be taken into account.

@Rakasa

Is this the same issue or a separate issue?

Same, use this fix and this fix.

dirmngr is already installed on the system (Linux Mint 21.3 Cinnamon)

➜  dpkg -l | grep dirmngr
ii  dirmngr                                        2.2.27-3ubuntu2.1                                    amd64        GNU privacy guard - network certificate management service