Can Not Install QFinder Pro On Linux For QNAP NAS

If you have a QNAP NAS device, the quick start manual recommends to install QFinder Pro on Ubuntu Linux. This software is also available for Windows and Mac computers.

However, the official installation DEB package for Ubuntu (Debian-like) Linux systems will fail on versions different than plain/vanilla Ubuntu. The installation will not work with Kubuntu, KDE Neon or Linux Mint and other Ubuntu-based distros.

Or you can skip this installation altogether: See the last paragraph, because QFinder Pro is actually unnecessary and you can use your browser!

Installation Errors on Ubuntu-like Systems

You might get errors like:

  • “Package failed to install”
  • “Minimum system requirements 18.04”

and similar. The installation error output might be like:

$ sudo dpkg -i ./QNAPQfinderProUbuntux64-7.10.2.0125.deb
[sudo] password for xxx:
(Reading database ... 621106 files and directories currently installed.)
Preparing to unpack .../QNAPQfinderProUbuntux64-7.10.2.0125.deb ...
/var/lib/dpkg/tmp.ci/preinst: line 25: [: neon: integer expression expected
/var/lib/dpkg/tmp.ci/preinst: line 28: [: neon: integer expression expected
Qfinder Pro 7.10.2.0125 cannot be installed. Your operating system version is not supported.\nMinimum system requirements: 18.04
dpkg: error processing archive ./QNAPQfinderProUbuntux64-7.10.2.0125.deb (--install):
new qfinderpro package pre-installation script subprocess returned error exit status 255
Errors were encountered while processing:
./QNAPQfinderProUbuntux64-7.10.2.0125.deb

Solution / Workaround for QFinder Pro Installation Failure

You need to persuade QNAP NAS QFinder Pro DEB installation package that you are using Ubuntu 18.04 or newer. You have to edit your lsb_release file and change one line.

First change to /usr/bin directory, create a lsb_release file backup and then use sudo to edit file using joe (or your other favorite editor):

$ cd /usr/bin/
$ sudo cp -p lsb_release lsb_release_backup
$ sudo joe lsb_release

Find this line around line :

print('Description:\t%s' % distinfo.get('DESCRIPTION', 'n/a'))

Comment it out and add another line to emulate plain Ubuntu 20.04 (or 18.04, it does not matter):

#print('Description:\t%s' % distinfo.get('DESCRIPTION', 'n/a'))
print('Description:\tUbuntu 20.04')

Save the lsb_release file and run installation of the package QFinder Pro (edit the real path to file) again by:

$ sudo dpkg -i ./QNAPQfinderProUbuntux64-7.10.2.0125.deb

Now it will install without any issues and you will be able to use it.

(Don’t forget to reverse copy the backup to lsb_release after you have QFinder Pro installed.)

Use Your Browser Instead (No Install Necessary)

You can skip this installation of QFinderPro altogether on your QNAP NAS device as it is reachable using your browser and it allows for complete setup just in your browser.

Go to your router admin to find out the dynamic IP address assigned to your QNAP NAS device. Then go to that IP address in your browser using port 8080:

http://XXX.XXX.XXX.XXX:8080

Once you are there, you can enable secure HTTPS connection of your NAS device and remove 8080 port from the URL. I also recommend to assign static IP address to the NAS from your router for easy administration.

You can then fully configure and setup your QNAP NAS device using only your browser without QFinder Pro needed.


Have a comment? Join discussion on Mastodon as a reply to: @dusoft@fosstodon.org