From 1c7e0c86f09bbe1853a0703003ef891f2caae2aa Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 13 Jan 2019 10:14:25 +0100 Subject: [PATCH] coverage.sh: mmdebstrap now creates /var/lib/dpkg/available --- coverage.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coverage.sh b/coverage.sh index 50d3e6d..90b9b08 100755 --- a/coverage.sh +++ b/coverage.sh @@ -143,6 +143,7 @@ rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/status-old \ # remove dpkg files rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/available \ /tmp/debian-$dist-debootstrap/var/lib/dpkg/cmethopt +touch /tmp/debian-$dist-debootstrap/var/lib/dpkg/available # since we installed packages directly from the .deb files, Priorities differ # thus we first check for equality and then remove the files chroot /tmp/debian-$dist-debootstrap dpkg --list > dpkg1 @@ -641,6 +642,7 @@ rm /tmp/debian-unstable/etc/fstab rm /tmp/debian-unstable/etc/hostname rm /tmp/debian-unstable/etc/resolv.conf rm /tmp/debian-unstable/var/lib/dpkg/status +rm /tmp/debian-unstable/var/lib/dpkg/available ## delete merged usr symlinks #rm /tmp/debian-unstable/libx32 #rm /tmp/debian-unstable/lib64 @@ -692,6 +694,7 @@ rm /tmp/debian-unstable/etc/fstab rm /tmp/debian-unstable/etc/hostname rm /tmp/debian-unstable/etc/resolv.conf rm /tmp/debian-unstable/var/lib/dpkg/status +rm /tmp/debian-unstable/var/lib/dpkg/available ## delete merged usr symlinks #rm /tmp/debian-unstable/libx32 #rm /tmp/debian-unstable/lib64