Create dpkg status file before calling APT From: Otavio Salvador APT uses the dpkg status file and then we should make an empty file if it doesn't exists. Signed-off-by: Otavio Salvador --- debian/changelog | 3 ++- tools/apt-selection | 3 +++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/debian/changelog b/debian/changelog index 57a9e68..d8c15a4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -38,8 +38,9 @@ debian-cd (3.0.3) UNRELEASED; urgency=high behaviour (default to false) * Use DEBOOTSTRAP_SCRIPT, BASE_INCLUDE and BASE_EXCLUDE variables to calculate the base packages set + * Create dpkg status file before calling APT - -- Otavio Salvador Tue, 29 May 2007 01:08:04 -0300 + -- Otavio Salvador Tue, 29 May 2007 01:08:40 -0300 debian-cd (3.0.2) unstable; urgency=high diff --git a/tools/apt-selection b/tools/apt-selection index 5e04649..b651584 100755 --- a/tools/apt-selection +++ b/tools/apt-selection @@ -52,6 +52,9 @@ fi if [ ! -d "$APTTMP/$CODENAME-$ARCH/apt" ]; then mkdir -p "$APTTMP/$CODENAME-$ARCH/apt" fi +if [ ! -e "$APTTMP/$CODENAME-$ARCH/status" ]; then + touch "$APTTMP/$CODENAME-$ARCH/status" +fi if [ ! -e "$APTTMP/$CODENAME-$ARCH/apt/sources.list" ]; then # Generating a correct sources.list file