habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Fix Package gnupg2 is not installed

50 sec read

Fix Package gnupg2 is not installed

Hi Dude. Today im try install Percona Server for MySQL from Percona apt repository with Mysql version 5.6. This is about error “Package gnupg2 is not installed” when install percona.

I am using Ubuntu 18.04, and after fresh install just download package repository from official site Percona:

$ wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release
-sc)_all.deb

And then Install the downloaded package with dpkg. To do that, run the following commands as root or with sudo.

$ sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb

But, the problem is when install with “dpkg “ I found error like this :

root@db-local:~# dpkg -i percona-release_latest.bionic_all.deb
Selecting previously unselected package percona-release.
(Reading database … 66973 files and directories currently installed.)
Preparing to unpack percona-release_latest.bionic_all.deb …
Unpacking percona-release (1.0-14.generic) …
dpkg: dependency problems prevent configuration of percona-release:
percona-release depends on gnupg2; however:
Package gnupg2 is not installed.
dpkg: error processing package percona-release (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing: percona-release

Here is screen capture error.

Package gnupg2 not installed
full capture error

Easy fix to solve this problem is :

  1. Run apt-get update
$ sudo apt-get update

2.  install package gnupg2

$ sudo apt-get install gnupg2

And Now, the problem is Gone. 🙂

That is simple tips fix package gnupg2 is not installed. May be it’s helpful, please feel free to leave a comment if you have any questions and I’ll appreciate it.


See also  Install cPanel WHM Alma Linux 8
habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox