I want to install packages for offline ubuntu16.04. I zipped all the .deb file in /var/cache/apt/archives in another machine which can access the internet. When I use dpkg -i libboost-all-dev_18.104.22.168ubuntu1_amd64.deb to install the package, I got permission denied eorror.
dpkg:error processing archive libboost-all-dev_22.214.171.124ubuntu1_amd64.deb(--install): cannot access archive: Permission denied
I have used chmod -R 777 ./ to change the authority. It doesn't work.
-rwxrwxrwx 1 root root Aug 13 16:58 libboost-all-dev_126.96.36.199ubuntu1_amd64.deb