KeePass2 in Lucid regression after libmono2.0 update

Asked by Byron Gibson

Hi all, I know KeePass2 isn't supported in Lucid, but I was using Julian Taylor's KP2 PPA and it was working fine until a week or two ago. Around that time I believe an update to libmono2 was pushed, KP2 stopped working. I'm not certain the libmono update is the culprit, but the timing is suspicious. Anyway I'm using Ubuntu Netbook Edition 10.04 and would prefer not to have to upgrade to 10.10 or 11.04 just to get KP2 working again. Anyone have any suggestions?

Error and system info below:

byron@laptop:~$ which keepass2
/usr/bin/keepass2
byron@laptop:~$ locate -b "\keepass2"
/usr/bin/keepass2
/usr/lib/keepass2
/usr/share/keepass2
/usr/share/doc/keepass2
/usr/share/menu/keepass2
byron@laptop:~$ dpkg -S /usr/bin/keepass2
keepass2: /usr/bin/keepass2
byron@laptop:~$ keepass2

Unhandled Exception: System.TypeLoadException: Could not load type 'KeePass.Program' from assembly 'KeePass, Version=2.1.6.37493, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'KeePass.Program' from assembly 'KeePass, Version=2.1.6.37493, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
byron@laptop:~$

System info:

byron@laptop:~$ lsb_release -rd
Description: Ubuntu 10.04.3 LTS
Release: 10.04
byron@laptop:~$ apt-cache policy keepass2
keepass2:
  Installed: 2.16+dfsg-1~ppa1
  Candidate: 2.16+dfsg-1~ppa1
  Version table:
 *** 2.16+dfsg-1~ppa1 0
        100 /var/lib/dpkg/status
byron@laptop:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu keepass2 Edit question
Assignee:
No assignee Edit question
Solved by:
marcus aurelius
Solved:
Last query:
Last reply:
Revision history for this message
Best marcus aurelius (adbiz) said :
#1

working fine for me. I have 10.04 and keepass2.15.

which version of keepass2 do you have?
do you have mono 2.8 installed? you need at least mono 2.6 before you can run keepass.
if you don't, you can download mono 2.8 via winetricks.

Revision history for this message
Byron Gibson (byrongibson) said :
#2

Thanks Marcus. Got my hopes up for a second, but it looks like I'm running Mono 2.10.5:

byron@laptop:~$ mono -V
Mono JIT compiler version 2.10.5 (Debian 2.10.5-1~dhx1~lucid1)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
 TLS: __thread
 SIGSEGV: altstack
 Notifications: epoll
 Architecture: x86
 Disabled: none
 Misc: softdebug
 LLVM: supported, not enabled.
 GC: Included Boehm (with typed GC and Parallel Mark)
byron@laptop:~$

I'm not using winetricks though, that version appears to be straight from the Ubuntu repositories. I wonder if the culprit was another dependency that got updated that I didn't notice.

Another thing - I tried uninstalling it completely, thinking I might get lucky by reinstalling it from a different PPA (apparently there are two, Julian Taylor's and Pau Garcia i Quiles. However, it no longer shows up in aptitude search or Synaptic, with or without either of these PPA's enabled. I believe that's a sign of dependency problem, no?

Revision history for this message
Byron Gibson (byrongibson) said :
#3

Even though this was marked solved, it wasn't. In the end I upgraded to 11.04 and that did solve it. But others may still hit this snag on 10.04 Netbook Edition.

Revision history for this message
fugounashi (fugounashi+launchpad) said :
#4

I have the same problem with 10.04, keypass2 from ppa:jtaylor/keepass, mono from http://badgerports.org/

this question is not solved

Revision history for this message
fugounashi (fugounashi+launchpad) said :
#5

oh, just use keepassx instead...