If you are running a recent Linux distribution (for exp. Ubuntu 15.04 or Linux Mint 17.2) and been trying to install Hewlett Packard open source printer drivers, you may have encountered the following error message:
error: /home/monostory/.hplip/hplip-3.15.2-plugin.run file does not match its checksum. File may have been corrupted or altered
Your installation fails and printer is not functional. This issue is currently seen in various different Linux distros and it’s not limited to the mentioned examples. I just discovered this nasty error after updating my Linux Mint desktop to the “Rafaela” 17.2 release and noticed that it reproduces on my Ubuntu Gnome 15.04 laptop as well.
There are several bug reports about this (here and here) and various workarounds offered, but none of them really hit spot. Luckily the fix is simple, and this is how you do it!
- First note the driver version that you need. In my case hplip-3.15.2
- Then proceed to the HPLIP website and download the corresponding driver files. Note that there are two files that you need: .run and .asc. Place the files to your home folder.
- Now open console and from your home directory start the setup process with the command: hp-setup -i
- Run through the install wizard, and when you are asked whether to download the drivers or use local files, choose the local option. It asks you for the path to the driver files, so provide the current folder (home): ./
The wizard should now be able to complete successfully after which your printer is again functional.