no-recommends for dpkg-dev (fill_apt_cache)

This commit is contained in:
parazyd 2017-05-21 20:43:20 +02:00
parent 0517fd867d
commit 17098d54aa
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 2 additions and 2 deletions

View File

@ -392,14 +392,14 @@ fill_apt_cache() {
# NOTE: do we need apt update or does it read the remote(s)?
apt-get update
apt-get install dpkg-dev
apt-get --yes --force-yes --no-install-recommends install dpkg-dev
cp -afv /var/cache/apt/archives/*.deb /mnt
cd /mnt
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
cd -
apt-get purge dpkg-dev
apt-get --yes --force-yes purge dpkg-dev
sed -i -e "@deb file:/mnt@d" /etc/apt/sources.list
apt-get update