Comment 7 for bug 227732

Revision history for this message
Ben Gladwell (bengladwell) wrote :

Well, I got gnucash and libaqbanking to compile as described at http://wiki.gnucash.org/wiki/Debian. However, I can't get ofxdirect online banking to work. After putting in my username and trying to download my account list, I get prompted for the password, but I always get an OFX: General Error message. Frustrating. It could be a problem with my OFX configuration in Gnucash, but after the way I mixed in all those Gutsy packages, I'll never be sure.

If you'd like to try to compile it the way I did, here's how I did it:
 - add gutsy main and universe to your sources.list
 - add the following entries to /etc/apt/preferences (you will probably have to create it)
Package: libaqbanking16
Pin: release a=gutsy
Pin-Priority: 1001

Package: libaqbanking16-dev
Pin: release a=gutsy
Pin-Priority: 1001

Package: libaqbanking-data
Pin: release a=gutsy
Pin-Priority: 1001

Package: libaqdtaus3
Pin: release a=gutsy
Pin-Priority: 1001

Package: libaqgeldkarte4
Pin: release a=gutsy
Pin-Priority: 1001

Package: libaqhbci10
Pin: release a=gutsy
Pin-Priority: 1001

Package: libcbanking16
Pin: release a=gutsy
Pin-Priority: 1001

Package: libchipcard2-0c2
Pin: release a=gutsy
Pin-Priority: 1001

Package: libg2banking2
Pin: release a=gutsy
Pin-Priority: 1001

Package: libgwenhywfar38
Pin: release a=gutsy
Pin-Priority: 1001

Package: libgwenhywfar38-dev
Pin: release a=gutsy
Pin-Priority: 1001

Package: libgwenhywfar-data
Pin: release a=gutsy
Pin-Priority: 1001

Package: libkbanking1
Pin: release a=gutsy
Pin-Priority: 1001

Package: libktoblzcheck1c2a
Pin: release a=gutsy
Pin-Priority: 1001

Package: libktoblzcheck1-dev
Pin: release a=gutsy
Pin-Priority: 1001

Package: libqbanking4
Pin: release a=gutsy
Pin-Priority: 1001

Package: libofx-dev
Pin: release a=gutsy
Pin-Priority: 1001

Package: ofx
Pin: release a=gutsy
Pin-Priority: 1001

Package: *
Pin: release a=gutsy
Pin-Priority: 400

 - These entries say to keep those packages downgraded to the gutsy versions, but otherwise, not to use the gutsy repos. All the package managers abide by this. (I wish I knew how to have multiple package names in the same "Package:" statement, but I don't)
 - sudo apt-get update
 - follow the instructions at http://wiki.gnucash.org/wiki/Debian
   - When you download the source for libaqbanking, use the command apt-get source libaqbanking=2.2.3-4 (gets the older version)
 - I ran into a couple of dependency issues. Aptitude was able to suggest solutions that involved downgrading packages to Gutsy. This seemed to work; at least, everything compiled

Unless anyone has any good ideas, I'm going to try to clean this mess up and use the regular Hardy package without ofxdirect.