Sunday, August 5, 2012

Fixing Zentyal 2.3 NO_PUBKEY error in apt-get update

Zentyal-2.3 requires following repository, and automatically adds this on your source.list.

deb 2.3 main extra

This will automatically be added after you install "zentyal-core" package, or you add the repository using "add-apt-repository".

You will see following error in apt-get update.

W: GPG error: 2.3 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BE3CB0952C31765E

You can not find any public key for this.

You can fix this by one of followings

- comment out zentyal's repository in source.list (/etc/apt/source.list.d/zentyal-archive.list)

- adding key of "" with following commend if you trust them.


sudo apt-key add zentyal-2.3-archive.asc && sudo apt-get update


  1. Just a note, this also works for 3.4 as well, use
    sudo apt-key add zentyal-3.4-archive.asc && sudo apt-get update

  2. works for 3.5 as well