diff --git a/debian/control b/debian/control
index e0a18a3a..fec8b543 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends:
     cmake (>= 3.0.0),
     debhelper (>= 9),
     folly-dev,
-    g++-5 (>= 5.0.0),
+    g++-7,
     git,
     glusterfs-common (>= 3.12.1),
     golang-go,
@@ -21,13 +21,13 @@ Build-Depends:
     libltdl-dev,
     libnspr4-dev,
     libnss3-dev,
-    libprotobuf-dev (>= 3.4.1),
+    libprotobuf-dev (>= 3.0.0),
     librados-dev (>= 12.2.1),
     libradosstriper-dev (>= 12.2.1),
     libsodium-dev,
     libssl-dev (>= 1.1.0),
-    libstdc++-5-dev,
-    libtbb-dev (>= 2018~U5),
+    libstdc++-7-dev,
+    libtbb-dev,
     libpoco-dev,
     libpocofoundation50,
     libpoconetssl50,
@@ -35,7 +35,7 @@ Build-Depends:
     libpocoxml50,
     openssl (>= 1.1.0),
     pkg-config,
-    protobuf-compiler (>= 3.4.1),
+    protobuf-compiler (>= 3.0.0),
     python-dev,
     python3-dev,
     subversion,
@@ -55,14 +55,14 @@ Description: FUSE client for onedata system.
 
 Package: python-onedatafs
 Architecture: amd64
-Depends: python, libboost-python1.58.0, ${shlibs:Depends}, ${misc:Depends}
+Depends: python, libboost-python1.65.1, ${shlibs:Depends}, ${misc:Depends}
 Description: FUSE client for onedata system.
  oneclient is a software based on FUSE (Filesystem in Userspace) that allows
  mounting onedata filesystem on Linux systems.
 
 Package: python3-onedatafs
 Architecture: amd64
-Depends: python3, libboost-python1.58.0, ${shlibs:Depends}, ${misc:Depends}
+Depends: python3, libboost-python1.65.1, ${shlibs:Depends}, ${misc:Depends}
 Description: FUSE client for onedata system.
  oneclient is a software based on FUSE (Filesystem in Userspace) that allows
  mounting onedata filesystem on Linux systems.
diff --git a/debian/python3-onedatafs.install b/debian/python3-onedatafs.install
index 2dfa7933..40c81bb8 100644
--- a/debian/python3-onedatafs.install
+++ b/debian/python3-onedatafs.install
@@ -1,2 +1,2 @@
-usr/lib/python3.5/dist-packages/onedatafs/onedatafs*
-usr/lib/python3.5/dist-packages/onedatafs/__init__.py
+usr/lib/python3.6/dist-packages/onedatafs/onedatafs*
+usr/lib/python3.6/dist-packages/onedatafs/__init__.py
diff --git a/debian/python3-onedatafs.links b/debian/python3-onedatafs.links
index d2f932d1..4dd43a47 100644
--- a/debian/python3-onedatafs.links
+++ b/debian/python3-onedatafs.links
@@ -1,2 +1,2 @@
-usr/lib/python3.5/dist-packages/onedatafs/onedatafs_py3.so usr/lib/python3.5/dist-packages/onedatafs/onedatafs.so
+usr/lib/python3.6/dist-packages/onedatafs/onedatafs_py3.so usr/lib/python3.6/dist-packages/onedatafs/onedatafs.so
 
diff --git a/debian/rules b/debian/rules
index f87bc221..31b9f1fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,8 +16,8 @@ include /usr/share/dpkg/default.mk
 # package maintainers to append LDFLAGS
 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-export CC=gcc-5
-export CXX=g++-5
+export CC=gcc
+export CXX=g++
 
 # main packaging script based on dh7 syntax
 %:
