HMRC BPT on Yakkety Yak
HMRC provide some software for small employer called Basic PAYE Tools (BPT) and it runs on Linux, which is cool as we're usually forgotten about.
I recently upgraded my desktop PC, which is the one which runs BPT, and was depressed to find that it no longer worked, failing thus:
Bugger. A quick review of their documentation suggested I might simply need to install some missing packages, especially 32 bit ones as it's a 32 bit app. So I did all that. No help.
Turns out that Ubuntu 16.10 (Yakkety Yak) comes with libpng16 not libpng12 however some Googling about lead me to a possible solution and hence this post to make it easier for the next person caught out by this.
Ubuntu 16.04 (Xenial Xerus) did come with libpng12 so if you wander over to http://packages.ubuntu.com/xenial/libpng12-0 you can grab the
.deb files you need from one of the mirrors. If, like me, you're on an amd64 architecture you need to grab and install that first, then the i386 one.
So here's the steps in total (using the dk Ubuntu mirror and working as root - I've edited out the output from
wget while it collects the files):
# dpkg -i libpng12-0_1.2.54-1ubuntu1_amd64.deb Selecting previously unselected package libpng12-0:amd64. (Reading database ... 222736 files and directories currently installed.) Preparing to unpack libpng12-0_1.2.54-1ubuntu1_amd64.deb ... Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1) ... Setting up libpng12-0:amd64 (1.2.54-1ubuntu1) ... Processing triggers for libc-bin (2.24-3ubuntu2) ...
# dpkg -i libpng12-0_1.2.54-1ubuntu1_i386.deb Selecting previously unselected package libpng12-0:i386. (Reading database ... 222748 files and directories currently installed.) Preparing to unpack libpng12-0_1.2.54-1ubuntu1_i386.deb ... Unpacking libpng12-0:i386 (1.2.54-1ubuntu1) ... Setting up libpng12-0:i386 (1.2.54-1ubuntu1) ... Processing triggers for libc-bin (2.24-3ubuntu2) ... #
It's as simple as that. It seems to be working fine now. All ready for me to do the year end processing next month.
|Tags: linux, work||Written 22/02/17|
You can follow these posts on Twitter at @Wibblings