bruno icon indicating copy to clipboard operation
bruno copied to clipboard

PPA from the installation guide doesn't work

Open in-in opened this issue 1 year ago • 14 comments

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 🧙 
✗  

in-in avatar Jan 21 '24 17:01 in-in

@in-in @vmarinescu

I have fixed this issue. Can you try again?

helloanoop avatar Jan 21 '24 23:01 helloanoop

There was another error related to the public key

➜  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/.#lk0x000055ef118099e0.VirtualBox.2615': 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 🧙 
✗  
~ 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                                                                                                                                                            
Ign:5 http://packages.linuxmint.com virginia InRelease                                                                                                                                                            
Hit:6 https://ppa.launchpadcontent.net/kelleyk/emacs/ubuntu jammy InRelease                                                                                                                            
Hit:7 https://deb.librewolf.net jammy InRelease                                                                                                                        
Get:8 https://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_22.04  InRelease [1,557 B]                                                              
Hit:9 https://packages.microsoft.com/repos/code stable InRelease                                                                                                                    
Get:10 http://debian.usebruno.com bruno InRelease [1,812 B]                                                                                      
Hit:11 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease               
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:13 https://ppa.launchpadcontent.net/inkscape.dev/stable/ubuntu jammy InRelease
Hit:14 http://packages.linuxmint.com virginia Release                           
Hit:15 https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu jammy InRelease
Hit:16 https://ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu jammy InRelease
Hit:17 https://ppa.launchpadcontent.net/unit193/encryption/ubuntu jammy InRelease
Hit:18 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:10 http://debian.usebruno.com bruno InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56333D3B745C1FEC
Hit:20 https://apt.syncthing.net syncthing InRelease
Reading package lists... Done
W: GPG error: http://debian.usebruno.com bruno InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56333D3B745C1FEC
E: The repository 'http://debian.usebruno.com bruno InRelease' is not signed.
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.

in-in avatar Jan 22 '24 04:01 in-in

gpg: keyserver receive failed: No dirmngr

@in-in I think its failing due to because dirmngr is missing.

apt install dirmngr

Here is what I have on my system

root@dev-ubuntu:~# dpkg -l | grep dirmngr
ii  dirmngr                         2.2.40-1.1ubuntu1                       amd64        GNU privacy guard - network certificate management service

If everything goes well, then you should be able to successfully add the GPG key Here is a log of a successful GPG key import

root@dev-ubuntu:~# sudo mkdir -p /etc/apt/keyrings 
root@dev-ubuntu:~# sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/bruno.gpg --keyserver keyserver.ubuntu.com --recv-keys 9FA6017ECABE0266
gpg: keybox '/etc/apt/keyrings/bruno.gpg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 9FA6017ECABE0266: public key "Anoop M D <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1

PS: If things are still failing, a temporary workaround would be to install bruno from snap or flatpak

helloanoop avatar Jan 22 '24 06:01 helloanoop

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

in-in avatar Jan 22 '24 08:01 in-in

@in-in @vmarinescu

I have fixed this issue. Can you try again?

for me it is working now, thanks

vmarinescu avatar Jan 22 '24 09:01 vmarinescu

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 <[email protected]>" 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:~$ 

in-in avatar Jan 22 '24 09:01 in-in

@helloanoop I'm not sure this issue is entirely resolved, I'm still getting a public key error.

Using KDE Neon (effectively Ubuntu 22.04) here.

Seeing repository signed by 56333D3B745C1FEC and not 9FA6017ECABE0266, but the key is already installed.

Err:15 http://debian.usebruno.com bruno InRelease                                                                             
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56333D3B745C1FEC
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://debian.usebruno.com bruno InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56333D3B745C1FEC
# gpg --no-default-keyring --keyring /etc/apt/keyrings/bruno.gpg --keyserver keyserver.ubuntu.com --recv-keys 9FA6017ECABE0266
gpg: key 9FA6017ECABE0266: "Anoop M D <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Using 56333D3B745C1FEC with the --recv-keys command downloads that same 9FA6017ECABE0266 key though:

# gpg --no-default-keyring --keyring /tmp/bruno.gpg --keyserver keyserver.ubuntu.com --recv-keys 56333D3B745C1FEC
gpg: keybox '/tmp/bruno.gpg' created
gpg: key 9FA6017ECABE0266: public key "Anoop M D <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
/tmp/bruno.gpg
--------------
pub   rsa4096 2023-10-12 [SC] [expires: 2025-10-11]
      E598552E09C999055FEFA7159FA6017ECABE0266
uid           [ unknown] Anoop M D <[email protected]>
sub   rsa4096 2023-10-12 [S] [expires: 2025-10-11]
sub   rsa4096 2023-10-12 [E] [expires: 2025-10-11]

/etc/apt/keyrings/bruno.gpg
---------------------------
pub   rsa4096 2023-10-12 [SC] [expires: 2025-10-11]
      E598552E09C999055FEFA7159FA6017ECABE0266
uid           [ unknown] Anoop M D <[email protected]>
sub   rsa4096 2023-10-12 [S] [expires: 2025-10-11]
sub   rsa4096 2023-10-12 [E] [expires: 2025-10-11]

Downloading the repository metadata and attempting to verify it does complain about use of the sub-key:

# curl -o /tmp/InRelease http://debian.usebruno.com/dists/bruno/InRelease
# gpg --verbose --verify --keyring /etc/apt/keyrings/bruno.gpg /tmp/InRelease 
gpg: armor header: Hash: SHA512
gpg: original file name=''
gpg: Signature made Mon 22 Jan 2024 12:32:47 NZDT
gpg:                using RSA key B5686F65CAA08C49040D6E3F56333D3B745C1FEC
gpg: using subkey 56333D3B745C1FEC instead of primary key 9FA6017ECABE0266
gpg: using subkey 56333D3B745C1FEC instead of primary key 9FA6017ECABE0266
gpg: using pgp trust model
gpg: Good signature from "Anoop M D <[email protected]>" [unknown]
gpg: using subkey 56333D3B745C1FEC instead of primary key 9FA6017ECABE0266
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: E598 552E 09C9 9905 5FEF  A715 9FA6 017E CABE 0266
     Subkey fingerprint: B568 6F65 CAA0 8C49 040D  6E3F 5633 3D3B 745C 1FEC
gpg: textmode signature, digest algorithm SHA512, key algorithm rsa4096

As an aside, I've also had to amend the sources.list.d file to clear the "no i386 architecture" warning:

deb [signed-by=/etc/apt/keyrings/bruno.gpg][arch=amd64] http://debian.usebruno.com/ bruno stable
N: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'http://debian.usebruno.com bruno InRelease' doesn't support architecture 'i386'

qupada avatar Jan 22 '24 19:01 qupada

@qupada I have fixed the signing issue. Can you please try again ?

helloanoop avatar Jan 24 '24 08:01 helloanoop

Still the same subkey error I'm afraid:

# curl -o /tmp/InRelease http://debian.usebruno.com/dists/bruno/InRelease
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1812  100  1812    0     0   3104      0 --:--:-- --:--:-- --:--:--  3108

(File shows timestamp of around 4 minutes before your comment, so definitely a fresh copy)

# gpg --verbose --verify --keyring /etc/apt/keyrings/bruno.gpg /tmp/InRelease
gpg: armor header: Hash: SHA512
gpg: original file name=''
gpg: Signature made Wed 24 Jan 2024 21:39:06 NZDT
gpg:                using RSA key B5686F65CAA08C49040D6E3F56333D3B745C1FEC
gpg: using subkey 56333D3B745C1FEC instead of primary key 9FA6017ECABE0266
gpg: using subkey 56333D3B745C1FEC instead of primary key 9FA6017ECABE0266
gpg: using pgp trust model
gpg: Good signature from "Anoop M D <[email protected]>" [unknown]
gpg: using subkey 56333D3B745C1FEC instead of primary key 9FA6017ECABE0266
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: E598 552E 09C9 9905 5FEF  A715 9FA6 017E CABE 0266
     Subkey fingerprint: B568 6F65 CAA0 8C49 040D  6E3F 5633 3D3B 745C 1FEC
gpg: textmode signature, digest algorithm SHA512, key algorithm rsa4096
# gpg --verbose --search-keys --keyserver hkp://keyserver.ubuntu.com:80 56333D3B745C1FEC
gpg: data source: http://185.125.188.26:80
(1)     Anoop M D <[email protected]>
          4096 bit RSA key 9FA6017ECABE0266, created: 2023-10-12
Keys 1-1 of 1 for "56333D3B745C1FEC".  Enter number(s), N)ext, or Q)uit > 1
gpg: data source: http://185.125.188.26:80
gpg: armor header: Comment: Hostname:
gpg: armor header: Version: Hockeypuck 2.1.1-10-gec3b0e7
gpg: pub  rsa4096/9FA6017ECABE0266 2023-10-12  Anoop M D <[email protected]>
gpg: key 9FA6017ECABE0266: "Anoop M D <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Thanks

qupada avatar Jan 24 '24 19:01 qupada

I have the same issue

rayauxey avatar Feb 23 '24 10:02 rayauxey

Same problem for me on Debian 12. For now, install the appimage via zinit

# BRUNO
zinit ice from="gh-r" as="program" bpick="*appimage*" mv="bruno* -> bruno" pick="bruno"
zinit light usebruno/bruno

The dirmgr message said it could not find the folder so I created the .gnupg folder under /root and the problem was solved

crivotz avatar Feb 29 '24 09:02 crivotz

I am still having the issue in Ubuntu 22.04

$ curl -o /tmp/InRelease http://debian.usebruno.com/dists/bruno/InRelease
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1812  100  1812    0     0   2723      0 --:--:-- --:--:-- --:--:--  2724
# gpg --verbose --verify --keyring /etc/apt/keyrings/bruno.gpg /tmp/InRelease
gpg: armour header: Hash: SHA512
gpg: original file name=''
gpg: Signature made Wed 13 Mar 2024 04:51:32 AWST
gpg:                using RSA key B5686F65CAA08C49040D6E3F56333D3B745C1FEC
gpg: Can't check signature: No public key

Doesn't complain about subkey, but still has the same 56333D3B745C1FEC ID error. Apt gives W: GPG error: http://debian.usebruno.com bruno InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56333D3B745C1FEC

timwsuqld avatar Mar 12 '24 23:03 timwsuqld

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

JoshuaHintze avatar Apr 02 '24 19:04 JoshuaHintze

Thanks @GimpMaster, that fixed it for me!

PicchiSeba avatar Apr 05 '24 08:04 PicchiSeba

i got error

N: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'http://debian.usebruno.com bruno InRelease' doesn't support architecture 'i386'

ijash avatar Jul 03 '24 02:07 ijash

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.

paucapo avatar Jul 18 '24 17:07 paucapo

I'm getting

$ sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/bruno.gpg --keyserver keyserver.ubuntu.com --recv-keys 9FA6017ECABE0266
gpg: keyserver receive failed: End of file

Is this the same issue or a separate issue?

Rakasa avatar Jul 23 '24 16:07 Rakasa