diff --git a/packaging/CMakeLists.txt b/packaging/CMakeLists.txt
index 7e6ad3b447662ada703007650adf82630de09c50..a4882789eda28550f6a51eaf035887d55aa60ac9 100755
--- a/packaging/CMakeLists.txt
+++ b/packaging/CMakeLists.txt
@@ -32,8 +32,10 @@ if (ENABLE_PULSEAUDIO)
 	set(DEB_DEPENDS "libpulse0,")
 endif (ENABLE_PULSEAUDIO)
 
-
-set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.19), libqt5gui5, libqt5widgets5, libqt5printsupport5, libqt5network5, qttranslations5-l10n, ${DEB_DEPENDS} libfftw3-3, libvorbisfile3, libsoundtouch0")
+# Old Ubuntu (and derivatives) package names (before 16.04)
+# set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.19), libqt5gui5, libqt5widgets5, libqt5printsupport5, libqt5network5, qttranslations5-l10n, ${DEB_DEPENDS} libfftw3-3, libvorbisfile3, libsoundtouch0")
+# new package names (from Ubuntu 16.04) for libsoundtouch and libfftw
+set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.19), libqt5gui5, libqt5widgets5, libqt5printsupport5, libqt5network5, qttranslations5-l10n, ${DEB_DEPENDS} libfftw3-single3, libvorbisfile3, libsoundtouch1")
 #CPACK_DEBIAN_PACKAGE_MAINTAINER #CPACK_PACKAGE_CONTACT
 set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Application to learn classical score notation.
  It helps to understand the rules of reading and writing scores