"No package 'pygtk-2.0' found" on Ubuntu 20.04 even after installing python-gtk2 from archives

Solution 1:

The needed pygtk-2.0.pc file was last available for Ubuntu 18.04 LTS and came from python-gtk2-dev package.

So you have to download and install this development package with dependencies manually by using commands below:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2-dev_2.24.0-5.1ubuntu2_all.deb

sudo apt-get update
sudo apt-get install ./python-gtk2-dev_2.24.0-5.1ubuntu2_all.deb  ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

and then check its registration by pkg-config --list-all | grep pygtk-2.0 .

Also please note that modern Gtk3.0 based version of BlueMan exists in official universe pocket for Ubuntu 20.04 LTS. You can install BlueMan as simple as

sudo apt-add-repository universe
sudo apt-get install blueman