[Solved] Carbonio-c...
 
Notifications
Clear all

[Solved] [Solved] Carbonio-ce - Repository forbiden

38 Posts
20 Users
12 Likes
6,569 Views
(@arman)
Admin
Joined: 3 years ago
Posts: 376
 

Hello @xavier-pierre,

At the moment, it's not being considered as an option, but it may be taken into account in the future.


   
ReplyQuote
(@jorgus)
Joined: 9 months ago
Posts: 1
 

Hello,

This is my OS:

root@mail2:/home/orsa# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
root@mail2:/home/orsa#

Run this command to download the script, :

root@mail2:/home/orsa# wget  https://repo.zextras.io/inst_repo_ubuntu.sh 
--2023-08-05 13:25:01--   https://repo.zextras.io/inst_repo_ubuntu.sh 
Resolving repo.zextras.io (repo.zextras.io)... 18.65.48.86, 18.65.48.53, 18.65.48.111, ...
Connecting to repo.zextras.io (repo.zextras.io)|18.65.48.86|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 770 [application/x-shellscript]
Saving to: ‘inst_repo_ubuntu.sh’

inst_repo_ubuntu.sh                          100%[============================================================================================>]     770  --.-KB/s    in 0s

2023-08-05 13:25:03 (13.6 MB/s) - ‘inst_repo_ubuntu.sh’ saved [770/770]

root@mail2:/home/orsa#

 

I ran the command, and it threw this error:

root@mail2:/home/orsa# chmod +x inst_repo_ubuntu.sh
root@mail2:/home/orsa# 
root@mail2:/home/orsa# ./inst_repo_ubuntu.sh
/etc/apt/sources.list.d/zextras.list does not exist, it will be added to the list of repositories.
Executing: /tmp/apt-key-gpghome.sLNX3AQvWn/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
gpg: CRC error; 1D8400 - 96A6EC
gpg: read_block: read error: Invalid keyring
gpg: Total number processed: 0
Hit:1  http://py.archive.ubuntu.com/ubuntu  focal InRelease
Hit:2  http://py.archive.ubuntu.com/ubuntu  focal-updates InRelease
Get:3  http://py.archive.ubuntu.com/ubuntu  focal-backports InRelease [108 kB]
Get:4  http://py.archive.ubuntu.com/ubuntu  focal-security InRelease [114 kB]
Get:5  https://repo.zextras.io/release/ubuntu  focal InRelease [3,562 B]
Err:5  https://repo.zextras.io/release/ubuntu  focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
Reading package lists...
W: GPG error:  https://repo.zextras.io/release/ubuntu  focal 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 focal InRelease' is not signed.
Carbonio Repositories has been successufilly installed
root@mail2:/home/orsa#

It's a clean installation of Ubuntu. It's the second time since yesterday that I've tried it (two hosts with fresh installations, both with the same error).

When trying to update the repository:

root@mail2:/home/orsa# apt update
Get:1  https://repo.zextras.io/release/ubuntu  focal InRelease [3,562 B]
Err:1  https://repo.zextras.io/release/ubuntu  focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
Hit:2  http://py.archive.ubuntu.com/ubuntu  focal InRelease
Hit:3  http://py.archive.ubuntu.com/ubuntu  focal-updates InRelease
Get:4  http://py.archive.ubuntu.com/ubuntu  focal-backports InRelease [108 kB]
Get:5  http://py.archive.ubuntu.com/ubuntu  focal-security InRelease [114 kB]
Reading package lists... Done
W: GPG error:  https://repo.zextras.io/release/ubuntu  focal 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 focal 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@mail2:/home/orsa#

 

What am I doing wrong?


   
ReplyQuote
(@arukashi)
Joined: 2 years ago
Posts: 9
 

Any news about Ubuntu 22 support?

Ubuntu 20 LTS is going to be end of main support in the next year and half.


   
ReplyQuote
(@rodrigo-neves)
Joined: 8 months ago
Posts: 2
 

Posted by: @jorgus

Hello,

This is my OS:

root@mail2:/home/orsa# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
root@mail2:/home/orsa#

Run this command to download the script, :

root@mail2:/home/orsa# wget  https://repo.zextras.io/inst_repo_ubuntu.sh 
--2023-08-05 13:25:01--   https://repo.zextras.io/inst_repo_ubuntu.sh 
Resolving repo.zextras.io (repo.zextras.io)... 18.65.48.86, 18.65.48.53, 18.65.48.111, ...
Connecting to repo.zextras.io (repo.zextras.io)|18.65.48.86|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 770 [application/x-shellscript]
Saving to: ‘inst_repo_ubuntu.sh’

inst_repo_ubuntu.sh                          100%[============================================================================================>]     770  --.-KB/s    in 0s

2023-08-05 13:25:03 (13.6 MB/s) - ‘inst_repo_ubuntu.sh’ saved [770/770]

root@mail2:/home/orsa#

 

I ran the command, and it threw this error:

root@mail2:/home/orsa# chmod +x inst_repo_ubuntu.sh
root@mail2:/home/orsa# 
root@mail2:/home/orsa# ./inst_repo_ubuntu.sh
/etc/apt/sources.list.d/zextras.list does not exist, it will be added to the list of repositories.
Executing: /tmp/apt-key-gpghome.sLNX3AQvWn/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
gpg: CRC error; 1D8400 - 96A6EC
gpg: read_block: read error: Invalid keyring
gpg: Total number processed: 0
Hit:1  http://py.archive.ubuntu.com/ubuntu  focal InRelease
Hit:2  http://py.archive.ubuntu.com/ubuntu  focal-updates InRelease
Get:3  http://py.archive.ubuntu.com/ubuntu  focal-backports InRelease [108 kB]
Get:4  http://py.archive.ubuntu.com/ubuntu  focal-security InRelease [114 kB]
Get:5  https://repo.zextras.io/release/ubuntu  focal InRelease [3,562 B]
Err:5  https://repo.zextras.io/release/ubuntu  focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
Reading package lists...
W: GPG error:  https://repo.zextras.io/release/ubuntu  focal 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 focal InRelease' is not signed.
Carbonio Repositories has been successufilly installed
root@mail2:/home/orsa#

It's a clean installation of Ubuntu. It's the second time since yesterday that I've tried it (two hosts with fresh installations, both with the same error).

When trying to update the repository:

root@mail2:/home/orsa# apt update
Get:1  https://repo.zextras.io/release/ubuntu  focal InRelease [3,562 B]
Err:1  https://repo.zextras.io/release/ubuntu  focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52FD40243E584A21
Hit:2  http://py.archive.ubuntu.com/ubuntu  focal InRelease
Hit:3  http://py.archive.ubuntu.com/ubuntu  focal-updates InRelease
Get:4  http://py.archive.ubuntu.com/ubuntu  focal-backports InRelease [108 kB]
Get:5  http://py.archive.ubuntu.com/ubuntu  focal-security InRelease [114 kB]
Reading package lists... Done
W: GPG error:  https://repo.zextras.io/release/ubuntu  focal 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 focal 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@mail2:/home/orsa#

 

What am I doing wrong?

 

I'm having the same problem, does anyone have a solution?

 

 

 


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

@rodrigo-neves 

@jorgus

Hi,

Sorry to hear about the issue you are facing.

Most likely it looks an operating system issue to me.

 

When you execute the ./inst_repo_ubuntu.sh, the script should add the repository and import the key to the key server. So you should get outputlike this one:

root@vmi1357146:~# ./inst_repo_ubuntu.sh
/etc/apt/sources.list.d/zextras.list does not exist, it will be added to the list of repositories.
Executing: /tmp/apt-key-gpghome.HTmniDeBPB/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
gpg: key 52FD40243E584A21: public key "Zextras SRL <packages@zextras.com>" imported

[Cropped]

 

But instead of you are getting this:

root@mail2:/home/orsa# ./inst_repo_ubuntu.sh
/etc/apt/sources.list.d/zextras.list does not exist, it will be added to the list of repositories.
Executing: /tmp/apt-key-gpghome.sLNX3AQvWn/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
gpg: CRC error; 1D8400 - 96A6EC
gpg: read_block: read error: Invalid keyring
gpg: Total number processed: 0

And we can see there is no confirmation of key import as well as we can see CRC and keyring error.

 

Could you please run following commands and let us know the output, so that we can try to dig dipper:

root@vmi1357146:~# apt-key list

Next one:

root@vmi1357146:~# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21

 Next one:

apt update

 

Thanks,

Sharif


   
ReplyQuote
(@rodrigo-neves)
Joined: 8 months ago
Posts: 2
 

Posted by: @sharif

Hi,

Sorry to hear about the issue you are facing.

Most likely it looks an operating system issue to me.

 

I used an image downloaded directly from the Ubuntu website.

 

Posted by: @sharif

Could you please run following commands and let us know the output, so that we can try to dig dipper:

root@vmi1357146:~# apt-key list

 

apt-key list
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
------------------------------------------------------
pub rsa4096 2012-05-11 [SC]
790B C727 7767 219C 42C8 6F93 3B4F E6AC C0B2 1F32
uid [ unknown] Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub rsa4096 2012-05-11 [SC]
8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092
uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub rsa4096 2018-09-17 [SC]
F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C
uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>

 

Posted by: @sharif

ext one:

root@vmi1357146:~# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
Executing: /tmp/apt-key-gpghome.LiUqlwTUNu/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
gpg: CRC error; 1D8400 - 96A6EC
gpg: read_block: read error: Invalid keyring
gpg: Total number processed: 0

 

Posted by: @sharif

 Next one:

apt update

 

apt update
Hit:1 http://br.archive.ubuntu.com/ubuntu focal InRelease
Obter:2 https://repo.zextras.io/release/ubuntu focal InRelease [3562 B]
Hit:3 http://br.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://br.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://br.archive.ubuntu.com/ubuntu focal-security InRelease
Err:2 https://repo.zextras.io/release/ubuntu focal InRelease
As seguintes assinaturas não puderam ser verificadas porque a chave pública não está disponível: NO_PUBKEY 52FD40243E584A21
A ler as listas de pacotes... Pronto
W: Erro GPG: https://repo.zextras.io/release/ubuntu focal InRelease: As seguintes assinaturas não puderam ser verificadas porque a chave pública não está disponível: NO_PUBKEY 52FD40243E584A21
E: The repository 'https://repo.zextras.io/release/ubuntu focal 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.

 


   
ReplyQuote
(@rosegarden)
Joined: 11 years ago
Posts: 3
 

Is there already a solution for this problem? I also do not get a key for the ubuntu-repository!

Here is the error output of the installation script under a freshly installed Ubuntu 20.04

root@carbonio:/Daten# ./inst_repo_ubuntu.sh
/etc/apt/sources.list.d/zextras.list already exists, do you want to update it?
Y
/etc/apt/sources.list.d/zextras.list will be updated
Executing: /tmp/apt-key-gpghome.ZeWM56xbBg/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
OK:1  http://de.archive.ubuntu.com/ubuntu  focal InRelease
OK:2  http://de.archive.ubuntu.com/ubuntu  focal-updates InRelease
Holen:3  https://repo.zextras.io/release/ubuntu  focal InRelease [3.562 B]
OK:4  http://de.archive.ubuntu.com/ubuntu  focal-backports InRelease
Fehl:3  https://repo.zextras.io/release/ubuntu  focal InRelease
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 52FD40243E584A21
OK:5  http://security.ubuntu.com/ubuntu  focal-security InRelease
Paketlisten werden gelesen...
W: GPG-Fehler:  https://repo.zextras.io/release/ubuntu  focal InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 52FD40243E584A21
E: Das Depot » https://repo.zextras.io/release/ubuntu  focal InRelease« ist nicht signiert.
Carbonio Repositories has been successufilly installed
This post was modified 7 months ago by rosegarden

   
ReplyQuote
(@cristianxho)
Joined: 6 months ago
Posts: 1
 

@jorgus I solver the issue instaling gnupg 
#apt install gnupg

Then executed

# ./inst_repo_ubuntu.sh

/etc/apt/sources.list.d/zextras.list will be updated
Executing: /tmp/apt-key-gpghome.r4ubhXE9tK/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
gpg: key 52FD40243E584A21: public key "Zextras SRL <packages@zextras.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
Get:1 https://repo.zextras.io/release/ubuntu focal InRelease [3562 B]
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
Ign:5 https://repo.zextras.io/release/ubuntu focal/main amd64 Packages
Get:5 https://repo.zextras.io/release/ubuntu focal/main amd64 Packages [64.7 kB]
Fetched 68.3 kB in 1s (51.5 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Carbonio Repositories has been successufilly installed


   
ReplyQuote
Page 3 / 3