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_188.8.131.52ubuntu1_amd64.deb to install the package, I got permission denied eorror.
dpkg:error processing archive libboost-all-dev_184.108.40.206ubuntu1_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_220.127.116.11ubuntu1_amd64.deb