I am currently trying to install software offline (studying this question) and want to use Offline Repository according to this answer.
I followed steps like:
put all debs in /var/my-local-repo
sudo bash -c 'dpkg-scanpackages /var/my-local-repo /dev/null > /var/my-local-repo/Packages' (note: dpkg-dev is already installed to perform this action)
set repository as root by echo "deb file:/var/m