Carbonio CE 24.03 r...
 
Notifications
Clear all

Carbonio CE 24.03 repository signing error

12 Posts
2 Users
0 Reactions
533 Views
(@avolkov)
Joined: 8 months ago
Posts: 11
Topic starter  

Hello! The release just came out. I decided to start updating and noticed a repository error in Ubuntu 22.04: Screenshot of the error


   
Quote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

Hi,

I can not see the screenshot. Could you please dump the log here?

Regards,

Sharif


   
ReplyQuote
(@avolkov)
Joined: 8 months ago
Posts: 11
Topic starter  

@sharif Good afternoon. Log below. A couple of days ago I thought that the error was due to the fact that the repository had not yet been published.
Although I was able to get the new carbonio packages on Ubuntu 20.04. But on version Ubuntu 22.04 the repository gives the following error.

root@test-mail:~# apt update
Get:1 https://repo.zextras.io/release/ubuntu jammy InRelease [3565 B]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Err:1 https://repo.zextras.io/release/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
W: GPG error: https://repo.zextras.io/release/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
E: The repository 'https://repo.zextras.io/release/ubuntu jammy 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.
root@test-mail:~#


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

Please dump the output of this:

cat /etc/apt/sources.list.d/zextras.list

Regards,

Sharif


   
ReplyQuote
(@avolkov)
Joined: 8 months ago
Posts: 11
Topic starter  

@sharif 

root@test-mail:~# cat /etc/apt/sources.list.d/zextras.list
deb [arch=amd64 signed-by=/usr/share/keyrings/zextras.gpg] https://repo.zextras.io/release/ubuntu jammy main
root@test-mail:~#


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@avolkov 

Hi,

It looks right.

Could you please remove the zextras.list file and again run the script the add it. Please dump the output.

Sorry for all the troubles you have to go through.

Regards,

Sharif


   
ReplyQuote
(@avolkov)
Joined: 8 months ago
Posts: 11
Topic starter  

@sharif Something like this. Thank you for your assistance on this issue!

root@test-mail:~# ./inst_repo_ubuntu.sh
/etc/apt/sources.list.d/zextras.list does not exist, it will be added to the list of repositories.
./inst_repo_ubuntu.sh: line 24: gpg: command not found
--2024-03-21 21:18:32-- https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x5dc7680bc4378c471a7fa80f52fd40243e584a21
Resolving keyserver.ubuntu.com (keyserver.ubuntu.com)... 185.125.188.26, 185.125.188.27, 2620:2d:4000:1007::d43, ...
Connecting to keyserver.ubuntu.com (keyserver.ubuntu.com)|185.125.188.26|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/pgp-keys]
Saving to: 'STDOUT'

- [ <=> ] 0 --.-KB/s in 0s

Cannot write to '-' (Success).
Get:1 https://repo.zextras.io/release/ubuntu jammy InRelease [3565 B]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Err:1 https://repo.zextras.io/release/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1502 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1059 kB]
Reading package lists...
W: GPG error: https://repo.zextras.io/release/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
E: The repository 'https://repo.zextras.io/release/ubuntu jammy InRelease' is not signed.
Carbonio Repositories has been successufilly installed
root@test-mail:~#


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@avolkov 

What is the output of

lsb_release -a

Also, share the out put of 

cat inst_repo_ubuntu.sh

 

Regards,

Sharif

This post was modified 8 months ago by Md. Shariful Islam

   
ReplyQuote
(@avolkov)
Joined: 8 months ago
Posts: 11
Topic starter  

@sharif 

root@test-mail:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
root@test-mail:~#

root@test-mail:~# cat inst_repo_ubuntu.sh
#!/bin/bash
FILE=/etc/apt/sources.list.d/zextras.list

if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi

if [ -f "$FILE" ]; then
echo "$FILE already exists, do you want to update it? "
read answer
if [ "$answer" != "${answer#[Yy]}" ] ;then
echo "$FILE will be updated"
else
echo "$FILE has not been changed"
exit
fi
else
echo "$FILE does not exist, it will be added to the list of repositories."
fi

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/zextras.gpg] https://repo.zextras.io/release/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/zextras.list

wget -O- "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x5dc7680bc4378c471a7fa80f52fd40243e584a21" | gpg --dearmor | sudo tee /usr/share/keyrings/zextras.gpg > /dev/null
chmod 644 /usr/share/keyrings/zextras.gpg

apt update -yq

if [ -f "$FILE" ]; then
echo "Carbonio Repositories has been successufilly installed"
else
echo "failed"
exit
fi
root@test-mail:~#


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@avolkov 

Hi,

Your outputs are normal.

This is what I get when I execute the script:

root@Sharif-PC:~# bash inst_repo_ubuntu.sh
/etc/apt/sources.list.d/zextras.list does not exist, it will be added to the list of repositories.
--2024-03-22 03:25:25--   https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x5dc7680bc4378c471a7fa80f52fd40243e584a21 
Resolving keyserver.ubuntu.com (keyserver.ubuntu.com)... 185.125.188.27, 185.125.188.26, 2620:2d:4000:1007::70c, ...
Connecting to keyserver.ubuntu.com (keyserver.ubuntu.com)|185.125.188.27|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/pgp-keys]
Saving to: ‘STDOUT’

-                                            [ <=>                                                                               ]   8.40K  --.-KB/s    in 0s

2024-03-22 03:25:26 (58.4 MB/s) - written to stdout [8604]

Hit:1  http://archive.ubuntu.com/ubuntu  jammy InRelease
Get:2  http://security.ubuntu.com/ubuntu  jammy-security InRelease [110 kB]
Get:3  https://dl.cloudsmith.io/public/asbru-cm/release/deb/ubuntu  jammy InRelease [4958 B]
Get:4  http://archive.ubuntu.com/ubuntu  jammy-updates InRelease [119 kB]
Get:5  https://repo.zextras.io/release/ubuntu  jammy InRelease [3565 B]
Get:6  https://apt.postgresql.org/pub/repos/apt  jammy-pgdg InRelease [123 kB]
Get:7  http://archive.ubuntu.com/ubuntu  jammy-backports InRelease [109 kB]
Ign:8  https://repo.zextras.io/release/ubuntu  jammy/main amd64 Packages
Get:8  https://repo.zextras.io/release/ubuntu  jammy/main amd64 Packages [30.6 kB]
Get:9  http://security.ubuntu.com/ubuntu  jammy-security/main amd64 Packages [1286 kB]
Get:10  http://security.ubuntu.com/ubuntu  jammy-security/main Translation-en [229 kB]
Get:11  http://security.ubuntu.com/ubuntu  jammy-security/restricted amd64 Packages [1591 kB]
Get:12  http://archive.ubuntu.com/ubuntu  jammy-updates/main amd64 Packages [1502 kB]
Get:13  http://security.ubuntu.com/ubuntu  jammy-security/restricted Translation-en [267 kB]
Get:14  http://security.ubuntu.com/ubuntu  jammy-security/universe amd64 Packages [851 kB]
Get:15  http://security.ubuntu.com/ubuntu  jammy-security/universe Translation-en [162 kB]
Get:16  https://apt.postgresql.org/pub/repos/apt  jammy-pgdg/main amd64 Packages [299 kB]
Get:17  http://archive.ubuntu.com/ubuntu  jammy-updates/main Translation-en [289 kB]
Get:18  http://archive.ubuntu.com/ubuntu  jammy-updates/restricted amd64 Packages [1619 kB]
Get:19  http://archive.ubuntu.com/ubuntu  jammy-updates/restricted Translation-en [271 kB]
Get:20  http://archive.ubuntu.com/ubuntu  jammy-updates/universe amd64 Packages [1059 kB]
Get:21  http://archive.ubuntu.com/ubuntu  jammy-updates/universe Translation-en [240 kB]
Get:22  http://archive.ubuntu.com/ubuntu  jammy-backports/universe amd64 Packages [28.4 kB]
Get:23  http://archive.ubuntu.com/ubuntu  jammy-backports/universe Translation-en [16.2 kB]
Fetched 10.2 MB in 21s (482 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
14 packages can be upgraded. Run 'apt list --upgradable' to see them.
W:  https://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease:  Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION sect                      ion in apt-key(8) for details.
Carbonio Repositories has been successufilly installed
root@Sharif-PC:~# lsb
lsb_release  lsblk
root@Sharif-PC:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy
root@Sharif-PC:~#

May be we need to look some where else.

regards,

Sharif


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@avolkov 

Hi,

Can you please install this package and try again:

sudo apt update
sudo apt install gnupg

Let me know how it ends.

Regards,

Sharif


   
ReplyQuote
(@avolkov)
Joined: 8 months ago
Posts: 11
Topic starter  

@sharif Unfortunately this didn't help.
I will experiment. Thanks for your hard work!

Spoiler
press
root@test-mail:~# sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:3 https://repo.zextras.io/release/ubuntu jammy InRelease [3565 B]
Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Err:3 https://repo.zextras.io/release/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
Reading package lists... Done
W: GPG error: https://repo.zextras.io/release/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
E: The repository 'https://repo.zextras.io/release/ubuntu jammy 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.
root@test-mail:~# sudo apt install gnupg
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv libassuan0 libksba8 libldap-2.5-0 libldap-common libnpth0
pinentry-curses
Suggested packages:
dbus-user-session pinentry-gnome3 tor parcimonie xloadimage scdaemon pinentry-doc
The following NEW packages will be installed:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libldap-2.5-0 libldap-common libnpth0
pinentry-curses
The following packages will be upgraded:
gpgv
1 upgraded, 16 newly installed, 0 to remove and 141 not upgraded.
Need to get 2645 kB of archives.
After this operation, 6527 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgv amd64 2.2.27-3ubuntu2.1 [137 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libassuan0 amd64 2.5.5-1build1 [38.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgconf amd64 2.2.27-3ubuntu2.1 [94.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libksba8 amd64 1.6.0-2ubuntu0.2 [119 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libldap-2.5-0 amd64 2.5.17+dfsg-0ubuntu0.22.04.1 [183 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 libnpth0 amd64 1.6-3build2 [8664 B]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dirmngr amd64 2.2.27-3ubuntu2.1 [293 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg-l10n all 2.2.27-3ubuntu2.1 [54.4 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg-utils amd64 2.2.27-3ubuntu2.1 [308 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg amd64 2.2.27-3ubuntu2.1 [519 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 pinentry-curses amd64 1.1.1-1build2 [34.4 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-agent amd64 2.2.27-3ubuntu2.1 [209 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-wks-client amd64 2.2.27-3ubuntu2.1 [62.7 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-wks-server amd64 2.2.27-3ubuntu2.1 [57.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgsm amd64 2.2.27-3ubuntu2.1 [197 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg all 2.2.27-3ubuntu2.1 [315 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libldap-common all 2.5.17+dfsg-0ubuntu0.22.04.1 [15.8 kB]
Fetched 2645 kB in 2s (1751 kB/s)
(Reading database ... 16980 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpgv (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Setting up gpgv (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package libassuan0:amd64.
(Reading database ... 16980 files and directories currently installed.)
Preparing to unpack .../00-libassuan0_2.5.5-1build1_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.5-1build1) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../01-gpgconf_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpgconf (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../02-libksba8_1.6.0-2ubuntu0.2_amd64.deb ...
Unpacking libksba8:amd64 (1.6.0-2ubuntu0.2) ...
Selecting previously unselected package libldap-2.5-0:amd64.
Preparing to unpack .../03-libldap-2.5-0_2.5.17+dfsg-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libldap-2.5-0:amd64 (2.5.17+dfsg-0ubuntu0.22.04.1) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../04-libnpth0_1.6-3build2_amd64.deb ...
Unpacking libnpth0:amd64 (1.6-3build2) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../05-dirmngr_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking dirmngr (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../06-gnupg-l10n_2.2.27-3ubuntu2.1_all.deb ...
Unpacking gnupg-l10n (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../07-gnupg-utils_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gnupg-utils (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gpg.
Preparing to unpack .../08-gpg_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../09-pinentry-curses_1.1.1-1build2_amd64.deb ...
Unpacking pinentry-curses (1.1.1-1build2) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../10-gpg-agent_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-agent (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../11-gpg-wks-client_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-wks-client (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../12-gpg-wks-server_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-wks-server (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../13-gpgsm_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpgsm (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../14-gnupg_2.2.27-3ubuntu2.1_all.deb ...
Unpacking gnupg (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../15-libldap-common_2.5.17+dfsg-0ubuntu0.22.04.1_all.deb ...
Unpacking libldap-common (2.5.17+dfsg-0ubuntu0.22.04.1) ...
Setting up libksba8:amd64 (1.6.0-2ubuntu0.2) ...
Setting up libnpth0:amd64 (1.6-3build2) ...
Setting up libassuan0:amd64 (2.5.5-1build1) ...
Setting up libldap-common (2.5.17+dfsg-0ubuntu0.22.04.1) ...
Setting up libldap-2.5-0:amd64 (2.5.17+dfsg-0ubuntu0.22.04.1) ...
Setting up gnupg-l10n (2.2.27-3ubuntu2.1) ...
Setting up gpgconf (2.2.27-3ubuntu2.1) ...
Setting up gpg (2.2.27-3ubuntu2.1) ...
Setting up gnupg-utils (2.2.27-3ubuntu2.1) ...
Setting up pinentry-curses (1.1.1-1build2) ...
Setting up gpg-agent (2.2.27-3ubuntu2.1) ...
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket -> /usr/lib/systemd/user/gpg-agent-browser.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket -> /usr/lib/systemd/user/gpg-agent-extra.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket -> /usr/lib/systemd/user/gpg-agent-ssh.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket -> /usr/lib/systemd/user/gpg-agent.socket.
Setting up gpgsm (2.2.27-3ubuntu2.1) ...
Setting up dirmngr (2.2.27-3ubuntu2.1) ...
Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket -> /usr/lib/systemd/user/dirmngr.socket.
Setting up gpg-wks-server (2.2.27-3ubuntu2.1) ...
Setting up gpg-wks-client (2.2.27-3ubuntu2.1) ...
Setting up gnupg (2.2.27-3ubuntu2.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...
root@test-mail:~# sudo apt update
Get:1 https://repo.zextras.io/release/ubuntu jammy InRelease [3565 B]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Err:1 https://repo.zextras.io/release/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
W: GPG error: https://repo.zextras.io/release/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
E: The repository 'https://repo.zextras.io/release/ubuntu jammy 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.
root@test-mail:~#

   
ReplyQuote