# apt-get install dpkg-dev
# mkdir /opt/apt
# cp /tmp/*.deb /opt/apt
# cd /opt/apt
# dpkg-scanpackages . | gzip -c9 > Packages.gz
You can now use it by adding this to your /etc/apt/sources.list
:
deb file:/tmp/apt ./
# apt-get install dpkg-dev
# mkdir /opt/apt
# cp /tmp/*.deb /opt/apt
# cd /opt/apt
# dpkg-scanpackages . | gzip -c9 > Packages.gz
You can now use it by adding this to your /etc/apt/sources.list
:
deb file:/tmp/apt ./