mkdir -p dists/wheezy/main/binary-i386
ls -1 pools | sed 's/_.*$/ extra BOGUS/' | uniq > override
dpkg-scanpackages pools override > dists/wheezy/main/binary-i386/Packages
cat dists/wheezy/main/binary-i386/Packages | gzip -9c > dists/wheezy/main/binary-i386/Packages.gz
apt-ftparchive -c ./apt.conf release dists/wheezy/ > dists/wheezy/Release
# echo "deb file:/..../bian wheezy main" >> /etc/apt/sources.list
# echo "deb http:/192.168.0.172/debian wheezy main" >> /etc/apt/sources.list
阅读(2403) | 评论(0) | 转发(0) |