dlech/Keebuntu

Ubuntu (MATE) 20.04 - keepass2-plugin-tray-icon could not be installed

giovEra opened this issue · 4 comments

On Ubuntu (MATE) 20.04 i'm unable to install keepass2-plugin-tray-icon.

Terminal output:

ubuntu-mate@ubuntu-mate:~$ sudo apt install keepass2-plugin-tray-icon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 keepass2-plugin-tray-icon : Depends: keepass2-plugin-libimagemagick (= 0.2.9+0.6.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Same as #55 :

keepass2-plugin-libimagemagick wants libmagickwand-6.q16-3
but
the distribution have libmagickwand-6.q16-6

Workaround - How to install keepass2-plugin-tray-icon on Ubuntu 20.04

1. Download from official ppa (beta):

https://launchpad.net/~dlech/+archive/ubuntu/keepass2-plugins-beta/+files/keepass2-plugin-tray-icon_0.1.2+0.8.0_all.deb
https://launchpad.net/~dlech/+archive/ubuntu/keepass2-plugins-beta/+files/keepass2-plugin-libimagemagick_0.2.9+0.8.0_all.deb
https://launchpad.net/~dlech/+archive/ubuntu/keepass2-plugins-beta/+files/keepass2-plugin-libdbus_0.4.0+0.8.0_all.deb

or do it in one-shot:

wget https://launchpad.net/~dlech/+archive/ubuntu/keepass2-plugins-beta/+files/keepass2-plugin-tray-icon_0.1.2+0.8.0_all.deb https://launchpad.net/~dlech/+archive/ubuntu/keepass2-plugins-beta/+files/keepass2-plugin-libimagemagick_0.2.9+0.8.0_all.deb https://launchpad.net/~dlech/+archive/ubuntu/keepass2-plugins-beta/+files/keepass2-plugin-libdbus_0.4.0+0.8.0_all.deb

2. Install the packages:

sudo dpkg -i keepass2-plugin-tray-icon_0.1.2+0.8.0_all.deb keepass2-plugin-libimagemagick_0.2.9+0.8.0_all.deb keepass2-plugin-libdbus_0.4.0+0.8.0_all.deb

3. Install missing dependencies:

sudo apt install -f -y

Now keepass2-plugin-tray-icon is installed on Ubuntu 20.04 (Focal Fossa).

dlech commented

I just copied v0.8.0 to the focal ppa so hopefully it is working automatically now

Now the installation of keepass2-plugin-tray-icon from ppa works.
Thanks!