[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: trying to do debian-cd with a local mirror of powerpc and ppc64



Hello,

I thought I might send my message to this list as well.
Hopefully someone can help me.

Regards,
Jeroen Diederen

-------- Oorspronkelijke bericht --------
Onderwerp: trying to do debian-cd with a local mirror of powerpc and ppc64
Datum: 2019-10-15 20:50
Afzender: Jeroen Diederen <jjhdiederen@zonnet.nl>
Ontvanger: debian-powerpc@lists.debian.org

I am trying to follow the debian-cd manual written by Steve McIntyre. My CONF.sh file looks like this:

-----
#
# This file will have to be sourced where needed

# To prevent sourcing this file twice when using scripts to build CD images,
# use the following code at the top of your script:
#    CF=CONF.sh
#    . $CF
#    export DEBIAN_CD_CONF_SOURCED=true

# Allow to prevent double sourcing of this file
if [ "$DEBIAN_CD_CONF_SOURCED" = true ]; then
	return 0
fi

# Unset all optional variables first to start from a clean state
unset NONFREE           || true
unset CONTRIB           || true
unset EXTRANONFREE      || true
unset LOCAL             || true
unset LOCALDEBS         || true
unset SECURITY          || true
unset PROPOSED_UPDATES  || true
unset UNRELEASED        || true
unset BOOTDIR           || true
unset SYMLINK           || true
unset COPYLINK          || true
unset MKISOFS           || true
unset MKISOFS_OPTS      || true
unset ISOLINUX          || true
unset EXCLUDE           || true
unset NORECOMMENDS      || true
unset NOSUGGESTS        || true
unset IMAGESUMS         || true
unset JIGDOTEMPLATEURL  || true
unset JIGDOFALLBACKURLS || true
unset JIGDOINCLUDEURLS  || true
unset JIGDOSCRIPT       || true
unset JIGDO_OPTS        || true
unset PUBLISH_URL       || true
unset PUBLISH_PATH      || true
unset UDEB_INCLUDE      || true
unset UDEB_EXCLUDE      || true
unset BASE_INCLUDE      || true
unset BASE_EXCLUDE      || true
unset INSTALLER_CD      || true
unset MAXCDS            || true
unset MAXISOS           || true
unset MAXJIGDOS         || true
unset SPLASHPNG         || true
unset OMIT_MANUAL	 || true
unset OMIT_RELEASE_NOTES || true
unset OMIT_DOC_TOOLS     || true
unset MAX_PKG_SIZE       || true
unset DEBOOTSTRAP_OPTS   || true
unset ARCHIVE_KEYRING_PACKAGE || true
unset ARCHIVE_KEYRING_FILE    || true

# The debian-cd dir
# Where I am (hoping I'm in the debian-cd dir)
export BASEDIR=`pwd`

# Name of the distribution for the image filename (Defaults to 'debian')
# export CDNAME=debian

# Building $codename cd set ...
export CODENAME=sid

# By default use Debian installer packages from $CODENAME
if [ -z "$DI_CODENAME" ]; then
	export DI_CODENAME=$CODENAME
fi
# If you want backported d-i (e.g. by setting DI_CODENAME=sid
#, then you'll almost definitely also
# want to enable BACKPORTS below as well

# Should we include some packages from backports? If so, point at a
# file containing a list of binary packages to include here. Packages
# contained in that list will be chosen by preference from
# ${CODENAME}-backports rather than just ${CODENAME}, along with
# dependencies if they're needed as well
#export BACKPORTS=backports-list

# If set, controls where the d-i components are downloaded from.
# This may be an url, or "default", which will make it use the default url # for the daily d-i builds. If not set, uses the official d-i images from
# the Debian mirror.
#export DI_WWW_HOME=default

# Version number, "2.2 r0", "2.2 r1" etc.
export DEBVERSION="10.0.0"

# Official or non-official set.
# NOTE: THE "OFFICIAL" DESIGNATION IS ONLY ALLOWED FOR IMAGES AVAILABLE
# ON THE OFFICIAL DEBIAN CD WEBSITE https://cdimage.debian.org
export OFFICIAL="Unofficial Debian Installation"
#export OFFICIAL="Official"
#export OFFICIAL="Official Beta"

# ... for arch
if [ -z "$ARCHES" ]; then
	CPU=`dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null || true`
	if [ -z "$CPU" ]; then
		CPU=`dpkg-architecture -qDEB_HOST_ARCH`
	fi
	KERNEL=`dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null || true`
	if [ -z "$KERNEL" ]; then
		KERNEL=linux
	fi
	if [ $KERNEL = linux ] ; then
		ARCHES=$CPU
	else
		ARCHES="$KERNEL-$CPU"
	fi
	export ARCHES
fi

# IMPORTANT : The 4 following paths must be on the same partition/device.
#	      If they aren't then you must set COPYLINK below to 1. This
#	      takes a lot of extra room to create the sandbox for the ISO
#	      images, however. Also, if you are using an NFS partition for
#	      some part of this, you must use this option.
# Paths to the mirrors
export MIRROR=/mnt/mirror

# Path of the temporary directory
export TDIR=/home/jeroen/debian-cd/tmp

# Path where the images will be written
export OUT=/home/jeroen/debian-cd/debian-cd-test

# Where we keep the temporary apt stuff.
# This cannot reside on an NFS mount.
export APTTMP=/home/jeroen/debian-cd/tmp/apt

# Do I want to have NONFREE merged in the CD set
# export NONFREE=1

# Do I want to have CONTRIB merged in the CD set
#export CONTRIB=1

# Do I want to have NONFREE on a separate CD (the last CD of the CD set)
# WARNING: Don't use NONFREE and EXTRANONFREE at the same time !
# export EXTRANONFREE=1

# Do I want to force (potentially non-free) firmware packages to be
# placed on disc 1? Will make installation much easier if systems
# contain hardware that depends on this firmware
export FORCE_FIRMWARE=1

# If you have a $MIRROR/dists/$CODENAME/local/binary-$ARCH dir with
# local packages that you want to put on the CD set then
# uncomment the following line
# export LOCAL=1

# If your local packages are not under $MIRROR, but somewhere else,
# you can uncomment this line and edit to to point to a directory
# containing dists/$CODENAME/local/binary-$ARCH
# export LOCALDEBS=/home/joey/debian/va/debian

# Where to find the security patches.  This directory should be the
# top directory of a security.debian.org mirror.
#export SECURITY="$TOPDIR"/debian/debian-security

# Include proposed updates
# Note that on the CDs it will not be visible where packages came from:
# from the released archive or from proposed updates archive.
# NOTE: intended to be used for pre-release testing, not for publication!
#export PROPOSED_UPDATES=$CODENAME-proposed-updates

# Include packages from Debian Ports unreleased
#export UNRELEASED=1

# Sparc only : bootdir (location of cd.b and second.b)
# export BOOTDIR=/boot

# Symlink farmers should uncomment this line :
# export SYMLINK=1

# Use this to force copying the files instead of symlinking or hardlinking # them. This is useful if your destination directories are on a different
# partition than your source files.
# export COPYLINK=1

# Options
# export MKISOFS=mkisofs
 export MKISOFS_OPTS="-r"		#For normal users
# export MKISOFS_OPTS="-r -F ."	#For symlink farmers

# Override for i386 and amd64 to use xorriso instead of
# mkisofs/genisoimage. Allows creation of isohybrid images: ISO images
# that will burn correctly onto a CD and also can be written raw to a
# USB stick. xorriso 0.6.5 and later has working support for this.
#export i386_MKISOFS="xorriso"
#export i386_MKISOFS_OPTS="-as mkisofs -r -checksum_algorithm_iso sha256,sha512"
#export amd64_MKISOFS="xorriso"
#export amd64_MKISOFS_OPTS="-as mkisofs -r -checksum_algorithm_iso sha256,sha512"

# Keyring (defaults):
ARCHIVE_KEYRING_PACKAGE=debian-ports-archive-keyring
# The path to the keyring file relative to $TDIR/archive-keyring/
ARCHIVE_KEYRING_FILE=/usr/share/keyrings/debian-ports-archive-keyring.gpg

# By default we use debootstrap --no-check-gpg to find out the minimal set # of packages because there's no reason to not trust the local mirror. But # you can be paranoid and then you need to indicate the keyring to use to
# validate the mirror.
#export DEBOOTSTRAP_OPTS="--keyring $TDIR/archive-keyring/$ARCHIVE_KEYRING_FILE"

# ISOLinux support for multiboot on CD1 for i386
export ISOLINUX=1

# uncomment this to if you want to see more of what the Makefile is doing
export VERBOSE_MAKE=1

# The maximum size allowed for an individual package, in bytes; if
# larger than this, it will be excluded (and all dependents, of
# course). We'll create a README.excluded in the root of CD1 listing
# them too
export MAX_PKG_SIZE=600000000

# Should build_all.sh try to build a simple CD image if the proper official
# CD run does not work?
ATTEMPT_FALLBACK=yes

# Set your disk type here. Known types are:
# BC (businesscard): 650 MiB max (should be limited elsewhere,
#                    should never fill a CD anyway)
# NETINST:           650 MiB max (ditto)
# CD:                standard 74-min CD (650 MiB)
# CD700:             (semi-)standard 80-min CD (700 MiB)
# DVD:               standard 4.7 GB DVD
# DLDVD:             standard 8.5 GB dual-layer DVD
# BD:                standard 25 GB blu-ray
# DLBD:              standard 50 GB dual-layer blu-ray
# STICK<X>GB:        <X>GB USB stick or similar
# CUSTOM: up to you - specify a size to go with it (in 2K blocks)
export DISKTYPE=DVD
#export DISKTYPE=CUSTOM
#export CUSTOMSIZE=XXXX
# If you want to over-ride this choice (e.g. to make a larger version of a given disk),
# you can do the following:
# export FORCE_CD_SIZE=<type> to change all the sizes in a given run
# export FORCE_CD_SIZE1=<type> to change the size of disk 1 (only)

# Extra variants to enable. See docs/README.variants for more information.
export VARIANTS=

# We don't want certain packages to take up space on CD1...
#export EXCLUDE1=exclude
# ...but they are okay for other CDs (UNEXCLUDEx == may be included
# on CD x if not already covered)
#export UNEXCLUDE2=unexclude-CD2
# Any packages listed in EXCLUDEx but not in any UNEXCLUDE will be
# excluded completely. The same goes for packages listed in EXCLUDE.

# Set this if the recommended packages should be skipped when adding
# package on the CD.  The default is 'true'.
# export NORECOMMENDS=1

# Set this if the suggested packages should be skipped when adding
# package on the CD.  The default is 'true'.
# export NOSUGGESTS=1

# Set to 1 to generate checksum files for generated images
export IMAGESUMS=1

# And define the set of checksum algorithms you want here. Default is
# sha512 sha256
# export CHECKSUMS="sha512 sha256"

# We may have to extract files from packages to put them onto the CD
# (e.g. bootloader files). If you make those packages (and their
# sources) available somewhere, list it here so that README.source
# can point to it. Note that your mirror must have repositories of
# source packages if you enable this option.
# export ARCHIVE_EXTRACTED_SOURCES="https://cdimage.debian.org/cdimage/cd-sources/";

# Produce iso/jigdo files: specify how many iso/jigdo files should be
# produced in your set. If not set or when the value is "ALL" they will
# be created for all images. One of the variables can be set to zero if
# either iso or jigdo files are not wanted.
# Replaces the old "DOJIGDO" setting with something much more flexible.
#export MAXISOS=0
#export MAXJIGDOS=0

# HTTP/FTP URL for directory where you intend to make the templates
# available. You should not need to change this; the default value ""
# means "template in same dir as the .jigdo file", which is usually
# correct. If it is non-empty, it needs a trailing slash. "%ARCH%"
# will be substituted by the current architecture.
#export JIGDOTEMPLATEURL=""
#
# Name of a directory on disc to create data for a fallback server in.
# Should later be made available by you at the URL given in
# JIGDOFALLBACKURLS. In the directory, two subdirs named "Debian" and
# "Non-US" will be created, and filled with hard links to the actual
# files in your FTP archive. Because of the hard links, the dir must
# be on the same partition as the FTP archive! If unset, no fallback
# data is created, which may cause problems - see README.
#export JIGDOFALLBACKPATH="$(OUT)/snapshot/"
#
# Space-separated list of label->URL mappings for "jigdo fallback
# server(s)" to add to .jigdo file. If unset, no fallback URL is
# added, which may cause problems - see README.
#export JIGDOFALLBACKURLS="Debian=http://myserver/snapshot/Debian/ Non-US=http://myserver/snapshot/Non-US/";
#
# Space-separated list of "include URLs" to add to the .jigdo file.
# The included files are used to provide an up-to-date list of Debian
# mirrors to the jigdo _GUI_application_ (_jigdo-lite_ doesn't support
# "[Include ...]").
export JIGDOINCLUDEURLS="https://cdimage.debian.org/debian-cd/debian-servers.jigdo";
#
# $JIGDOTEMPLATEURL and $JIGDOINCLUDEURLS are passed to
# "tools/jigdo_header", which is used by default to generate the
# [Image] and [Servers] sections of the .jigdo file. You can provide
# your own script if you need the .jigdo file to contain different
# data.
#export JIGDOSCRIPT="myscript"

# A couple of things used only by publish_cds, so it can tweak the
# jigdo files, and knows where to put the results.
# You need to run publish_cds manually, it is not run by the Makefile.
export PUBLISH_URL="https://cdimage.debian.org/jigdo-area";
export PUBLISH_PATH="/home/jigdo-area/"

# Specify files and directories to *exclude* from jigdo processing. These # files on each CD are expected to be different to those on the mirror, or # are often subject to change. Any files matching entries in this list will
# simply be placed straight into the template file.
export JIGDO_EXCLUDE="'README*' /doc/ /md5sum.txt /.disk/ /pics/ 'Release*' 'Packages*' 'Sources*'"

# Specify files that MUST match entries in the externally-supplied
# md5-list. If they do not, the CD build process will fail; something
# must have been corrupted. Replaces the old mirrorcheck code.
export JIGDO_INCLUDE="/pool/"

# Specify the minimum file size to consider for jigdo processing. Any files # smaller than this will simply be placed straight into the template file.
export JIGDO_OPTS="-jigdo-min-file-size 1024"

for EXCL in $JIGDO_EXCLUDE; do
	JIGDO_OPTS="$JIGDO_OPTS -jigdo-exclude $EXCL"
done

for INCL in $JIGDO_INCLUDE; do
	JIGDO_OPTS="$JIGDO_OPTS -jigdo-force-md5 $INCL"
done

# Base link for snapshot.debian.org or similar
# "SNAPDATETIME" will be replaced at runtime with the correct data
# Leave this unset to not add this entry
export SNAPURL=Debian=https://snapshot.debian.org/archive/debian/SNAPDATETIME/

# File with list of packages to include when fetching modules for the
# first stage installer (debian-installer). One package per line.
# Lines starting with '#' are comments.  The package order is
# important, as the packages will be installed in the given order.
#export UDEB_INCLUDE="$BASEDIR"/data/$CODENAME/udeb_include

# File with list of packages to exclude as above.
#export UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude

# File with list of packages to include when running debootstrap from
# the first stage installer (currently only supported in
# debian-installer). One package per line.  Lines starting with '#'
# are comments.  The package order is important, as the packages will
# be installed in the given order.
#export BASE_INCLUDE="$BASEDIR"/data/$CODENAME/base_include

# File with list of packages to exclude as above.
#export BASE_EXCLUDE="$BASEDIR"/data/$CODENAME/base_exclude

# Only put the installer onto the cd (set NORECOMMENDS,... as well,
# and if you're not using build.sh then also make sure you set TASK
# appropriately here)
# INSTALLER_CD=0: nothing special (default)
# INSTALLER_CD=1: just add debian-installer (use TASK=debian-installer)
# INSTALLER_CD=2: add d-i and base (use TASK=debian-installer+kernel)
#export INSTALLER_CD=2
#export TASK=debian-installer+kernel

# Parameters to pass to kernel (or d-i) when the CD boots. Not currently
# supported for all architectures.
#export KERNEL_PARAMS="DEBCONF_PRIORITY=critical"

# Default desktop (currently only used by win32-loader)
#export DESKTOP=kde

# If set, limits the number of images to produce. The maximum
# value of MAXISOS and MAXJIGDOS are limited to this setting.
#export MAXCDS=1

# If set, overrides the boot picture used.
#export SPLASHPNG="$BASEDIR/data/$CODENAME/splash-img.png"

# Set to 1 to save space by omitting the installation manual.
# If so the README will link to the manual on the web site.
export OMIT_MANUAL=1

# Set to 1 to save space by omitting the release notes
# If so we will link to them on the web site.
export OMIT_RELEASE_NOTES=1

# Set this to override the default location
#export RELEASE_NOTES_LOCATION="https://www.debian.org/releases/$CODENAME";

# Set to 1 to not include the doc/tools directories on CD1
# Useful to save space and avoids failures if you have a mirror
# without those directories.
export OMIT_DOC_TOOLS=1

case "$OFFICIAL" in
    "Official")
	export OFFICIAL_VAL=2
	;;
    "Official Beta")
	export OFFICIAL_VAL=1
	;;
    *)
	export OFFICIAL_VAL=0
	;;
esac

# Add options to wget to include support for the Debian CA, so
# https://d-i.debian.org et al will work.
if [ -d "/etc/ssl/ca-debian" ]; then
	export WGET_OPTS="--ca-directory /etc/ssl/ca-debian/"
fi
export WGET="wget $WGET_OPTS"

# Set this to force the Release file(s) to say "stable". Used in first
# Etch builds to allow us to build before the archive updated
#EARLY_BUILD_HACK=1

##################################
# LOCAL HOOK DEFINITIONS
##################################
#
# Set these to point to scripts/programs to be called at various
# points in the debian-cd image-making process. This is the ideal place
# to customise what's on the CDs, for example to add extra files or
# modify existing ones. Each will be called with the arguments in order:
#
# $TDIR (the temporary dir containing the build tree)
# $MIRROR (the location of the mirror)
# $DISKNUM (the image number in the set)
# $CDDIR (the root of the temp disc tree)
# $ARCHES (the set of architectures chosen)
#
# BE CAREFUL about what you do at each point: in the first couple of
# cases, files and directories you're looking to use may not exist yet,
# you may need to worry about adding entries into md5sum.txt yourself
# and (in the last couple of cases) if you add any extra files you may
# end up over-filling the disc. If you *do* need to add files at the end
# of the process, see RESERVED_BLOCKS_HOOK below. It's strongly
# recommended to do this kind of customisation up-front if you can, it's
# much simpler that way!

# The disc_start hook. This will be called near the beginning of the
# start_new_disc script, just after the directory tree has been created
# but before any files have been added
#export DISC_START_HOOK=/bin/true

# The disc_pkg hook. This will be called just after the
# start_new_disc script has finished, just before make_disc_trees.pl
# starts to add package files.
#export DISC_PKG_HOOK=/bin/true

# The reserved_blocks hook; if set, this script should print the
# number of 2K blocks that need to be reserved for data to be added
# *after* a disc tree is filled with packages.
#export RESERVED_BLOCKS_HOOK=/bin/true

# The disc_finish hook. This will be called once a disc image is full,
# just after the last package rollback but before the last bits of
# cleanup are done on the temp disc tree
#export DISC_FINISH_HOOK=/bin/true

# The disc_end hook. This will be called *right* at the end of the
# image-making process in make_disc_trees.pl.
#export DISC_END_HOOK=/bin/true
-----
I will paste what I did and what came out of it. I will highlight the problems I see later.

jeroen@debian:~/DEBIAN_INSTALLER/debian-cd$ nano CONF.sh
jeroen@debian:~/DEBIAN_INSTALLER/debian-cd$ . CONF.sh
jeroen@debian:~/DEBIAN_INSTALLER/debian-cd$ make distclean
rm -rf /home/jeroen/debian-cd/tmp/sid/CD[1234567890]*
rm -rf /home/jeroen/debian-cd/tmp/sid/tasks
rm -f /home/jeroen/debian-cd/tmp/sid/*.filelist*
rm -f /home/jeroen/debian-cd/tmp/sid/packages-stamp /home/jeroen/debian-cd/tmp/sid/upgrade-stamp /home/jeroen/debian-cd/tmp/sid/md5-check
echo "Cleaning the build directory"
Cleaning the build directory
rm -rf /home/jeroen/debian-cd/tmp/apt
rm -rf /home/jeroen/debian-cd/tmp
jeroen@debian:~/DEBIAN_INSTALLER/debian-cd$ make status
mkdir -p /home/jeroen/debian-cd/tmp
mkdir -p /home/jeroen/debian-cd/tmp/sid
mkdir -p /home/jeroen/debian-cd/tmp/apt
echo "Updating task files..."
Updating task files...
mkdir -p /home/jeroen/debian-cd/tmp/sid/tasks
echo "- copying task files from 'tasks/sid/'"
- copying task files from 'tasks/sid/'
cp -r /home/jeroen/DEBIAN_INSTALLER/debian-cd/tasks/sid/* /home/jeroen/debian-cd/tmp/sid/tasks
echo "- generating dynamic task files"
- generating dynamic task files
set -e; cd /home/jeroen/debian-cd/tmp/sid/tasks; \
	/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/update_tasks; \
	/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/generate_di_list; \
	/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/generate_di+k_list
update_tasks: Using "gnome" as the default desktop, as specified by pool/main/t/tasksel/task-desktop_3.55_all.deb

Missing package file for ppc64/main.
# Generate firmware task file using the contents of the archive
/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/generate_firmware_task "ppc64" /home/jeroen/debian-cd/tmp/sid/tasks/firmware /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/generate_firmware_task: Checking for firmware packages: firmware-ath9k-htc (pool/main/o/open-ath9k-htc-firmware/firmware-ath9k-htc_1.4.0-97-g75b3e59+dfsg-3_all.deb) firmware-linux-free (pool/main/f/firmware-free/firmware-linux-free_3.4_all.deb) hdmi2usb-fx2-firmware (pool/main/h/hdmi2usb-fx2-firmware/hdmi2usb-fx2-firmware_0.0.0~git20151225-2_all.deb)
date -u '+%Y%m%d' > /home/jeroen/debian-cd/tmp/sid/DATE
date -u '+%Y%m%dT%H%M%SZ' --date tomorrow > /home/jeroen/debian-cd/tmp/sid/DATE-zulu dpkg -x /mnt/mirror/pool/main/d/debootstrap/debootstrap_1.0.116_all.deb /home/jeroen/debian-cd/tmp/sid/debootstrap if [ ! -e /home/jeroen/debian-cd/tmp/sid/debootstrap/usr/share/debootstrap/scripts/sid ] ; then \ ln -sf sid /home/jeroen/debian-cd/tmp/sid/debootstrap/usr/share/debootstrap/scripts/sid ; \
fi
if [ ! -d /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/sid ] ; then \
	ln -s buster /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/sid ; \
fi
if [ ! -d /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/boot/sid ] ; then \
	ln -s buster /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/boot/sid ; \
fi
Generating a fake status file for apt-get and apt-cache...
for ARCH in ppc64; do \
	mkdir -p /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/apt/preferences.d; \
	if [ "$BACKPORTS"x != ""x ] ; then \
mkdir -p /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/apt/preferences.d; \
	fi; \
if [ $ARCH = "source" -o "" = "1" -o "" = "2" -o "" = "C" -o "" = "F" ];then \
		:> /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/status ; \
		if [ "$BACKPORTS"x != ""x ] ; then \
			:> /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/status ; \
		fi; \
	else \
/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/catz /mnt/mirror/dists/sid/main/binary-$ARCH/Packages.*z* | \ perl -000 -ne 's/^(Package: .*)$/$1\nStatus: install ok installed/m; print if (/^Priority: (required|important|standard)/m or /^Section: base/m);' \
		>> /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/status ; \
		if [ "$BACKPORTS"x != ""x ] ; then \
/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/catz /mnt/mirror/dists/sid/main/binary-$ARCH/Packages.*z* | \ perl -000 -ne 's/^(Package: .*)$/$1\nStatus: install ok installed/m; print if (/^Priority: (required|important|standard)/m or /^Section: base/m);' \
			>> /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/status ; \
		fi; \
	fi; \
done;
:> /home/jeroen/debian-cd/tmp/apt/status
# Set up keyring so apt doesn't complain
Setting up archive-keyring
mkdir -p /home/jeroen/debian-cd/tmp/archive-keyring
dpkg -x /mnt/mirror/pool/main/d/debian-archive-keyring/debian-archive-keyring_2019.1_all.deb /home/jeroen/debian-cd/tmp/archive-keyring
for ARCH in ppc64; do \
	mkdir -p /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/apt/trusted.gpg.d; \
ln -s /home/jeroen/debian-cd/tmp/archive-keyring/usr/share/keyrings/debian-archive-keyring.gpg /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/apt/trusted.gpg.d; \
	if [ "$BACKPORTS"x != ""x ] ; then \
mkdir -p /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/apt/trusted.gpg.d; \ ln -s /home/jeroen/debian-cd/tmp/archive-keyring/usr/share/keyrings/debian-archive-keyring.gpg /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/apt/trusted.gpg.d; \
	fi; \
done
# Updating the apt database
for ARCH in ppc64; do \
	export ARCH=$ARCH; \
	/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
	if [ "$BACKPORTS"x != ""x ] ; then \
USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
	fi; \
done
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Err:1 file:/mnt/mirror sid InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
Reading package lists...
W: GPG error: file:/mnt/mirror sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
E: The repository 'file:/mnt/mirror sid InRelease' is not signed.
# If we're doing a build using d-i from sid, we'll need sid sources too
if [ ""x = "yes"x ] && \
	[ "sid"x != ""x ] && \
	[ "sid"x != "sid"x ] ; then \
mkdir -p /home/jeroen/debian-cd/tmp/apt/sid-source/apt/preferences.d ; \
	:> /home/jeroen/debian-cd/tmp/apt/sid-source/status ; \
	export CODENAME=sid; \
	export ARCH=source; \
	/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
	if [ "$BACKPORTS"x != ""x ] ; then \
USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
	fi; \
fi
for ARCH in ppc64; do \
	export ARCH=$ARCH; \
/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection check || make correctstatus; \
	if [ "$BACKPORTS"x != ""x ] ; then \
USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection check || make correctstatus; \
	fi; \
done
Reading package lists...
Building dependency tree...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
apt : Depends: libapt-pkg5.0 (>= 1.7.0~alpha3~) but it is not installable
       Depends: libc6 (>= 2.15) but it is not installable
       Depends: libgcc1 (>= 1:3.0) but it is not installable
       Depends: libgnutls30 (>= 3.6.6) but it is not installable
       Depends: libseccomp2 (>= 1.0.1) but it is not installable
       Depends: libstdc++6 (>= 9) but it is not installable
       Recommends: ca-certificates but it is not installable
apt-listchanges : Depends: python3-apt (>= 0.7.93) but it is not installable
                   Depends: python3-debconf but it is not installable
                   Depends: python3:any but it is not installable
apt-utils : Depends: libapt-inst2.0 (>= 1.0.5) but it is not installable Depends: libapt-pkg5.0 (>= 1.3~rc2) but it is not installable
             Depends: libc6 (>= 2.4) but it is not installable
             Depends: libdb5.3 but it is not installable
             Depends: libgcc1 (>= 1:3.0) but it is not installable
             Depends: libstdc++6 (>= 9) but it is not installable
 base-passwd : Depends: libc6 (>= 2.8) but it is not installable
Depends: libdebconfclient0 (>= 0.145) but it is not installable
 bash : PreDepends: libc6 (>= 2.15) but it is not installable
        PreDepends: libtinfo6 (>= 6) but it is not installable
bind9-host : Depends: libbind9-161 (= 1:9.11.5.P4+dfsg-5.1+b1) but it is not installable Depends: libdns1104 (= 1:9.11.5.P4+dfsg-5.1+b1) but it is not installable Depends: libisc1100 (= 1:9.11.5.P4+dfsg-5.1+b1) but it is not installable Depends: libisccfg163 (= 1:9.11.5.P4+dfsg-5.1+b1) but it is not installable Depends: liblwres161 (= 1:9.11.5.P4+dfsg-5.1+b1) but it is not installable
              Depends: libc6 (>= 2.4) but it is not installable
              Depends: libcap2 (>= 1:2.10) but it is not installable
              Depends: libcom-err2 (>= 1.43.9) but it is not installable
              Depends: libfstrm0 (>= 0.2.0) but it is not installable
              Depends: libgeoip1 but it is not installable
Depends: libgssapi-krb5-2 (>= 1.6.dfsg.2) but it is not installable
              Depends: libidn2-0 (>= 2.0.0) but it is not installable
              Depends: libjson-c4 (>= 0.13.1) but it is not installable
Depends: libk5crypto3 (>= 1.6.dfsg.2) but it is not installable Depends: libkrb5-3 (>= 1.6.dfsg.2) but it is not installable
              Depends: liblmdb0 (>= 0.9.6) but it is not installable
Depends: libprotobuf-c1 (>= 1.0.0) but it is not installable
              Depends: libssl1.1 (>= 1.1.0) but it is not installable
              Depends: libxml2 (>= 2.6.27) but it is not installable
 bsdmainutils : Depends: libbsd0 (>= 0.2.0) but it is not installable
                Depends: libc6 (>= 2.8) but it is not installable
                Depends: libtinfo6 (>= 6) but it is not installable
 bsdutils : PreDepends: libc6 (>= 2.12) but it is not installable
            PreDepends: libsystemd0 but it is not installable
 bzip2 : Depends: libbz2-1.0 (= 1.0.8-2) but it is not installable
         Depends: libc6 (>= 2.4) but it is not installable
 coreutils : PreDepends: libacl1 (>= 2.2.23) but it is not installable
PreDepends: libattr1 (>= 1:2.4.44) but it is not installable
             PreDepends: libc6 (>= 2.28) but it is not installable
PreDepends: libselinux1 (>= 2.1.13) but it is not installable
 cpio : Depends: libc6 (>= 2.17) but it is not installable
 cron : Depends: libc6 (>= 2.7) but it is not installable
        Depends: libpam0g (>= 0.99.7.1) but it is not installable
        Depends: libselinux1 (>= 2.0.82) but it is not installable
        Depends: lsb-base (>= 3.0-10) but it is not installable
        Recommends: default-mta but it is not installable or
                    mail-transport-agent but it is not installable
 dash : PreDepends: libc6 (>= 2.11) but it is not installable
 dbus : Depends: libapparmor1 (>= 2.8.94) but it is not installable
        Depends: libaudit1 (>= 1:2.2.1) but it is not installable
        Depends: libc6 (>= 2.9) but it is not installable
        Depends: libcap-ng0 (>= 0.7.9) but it is not installable
        Depends: libdbus-1-3 (= 1.12.16-2) but it is not installable
        Depends: libexpat1 (>= 2.1~beta3) but it is not installable
        Depends: libselinux1 (>= 2.0.65) but it is not installable
        Depends: libsystemd0 but it is not installable
debconf-i18n : Depends: liblocale-gettext-perl but it is not installable
                Depends: libtext-iconv-perl but it is not installable
                Depends: libtext-wrapi18n-perl but it is not installable
Depends: libtext-charwidth-perl but it is not installable
 debianutils : PreDepends: libc6 (>= 2.15) but it is not installable
 diffutils : PreDepends: libc6 (>= 2.17) but it is not installable
 dpkg : PreDepends: libbz2-1.0 but it is not installable
        PreDepends: libc6 (>= 2.15) but it is not installable
        PreDepends: liblzma5 (>= 5.2.2) but it is not installable
        PreDepends: libselinux1 (>= 2.3) but it is not installable
        PreDepends: zlib1g (>= 1:1.1.4) but it is not installable
 e2fsprogs : PreDepends: libblkid1 (>= 2.17.2) but it is not installable
             PreDepends: libc6 (>= 2.11) but it is not installable
PreDepends: libcom-err2 (>= 1.43.9) but it is not installable PreDepends: libext2fs2 (= 1.45.4-1) but it is not installable
             PreDepends: libss2 (>= 1.38) but it is not installable
             PreDepends: libuuid1 (>= 2.16) but it is not installable
             Depends: logsave but it is not installable
             Recommends: e2fsprogs-l10n but it is not installable
 fdisk : Depends: libc6 (>= 2.8) but it is not installable
         Depends: libfdisk1 (>= 2.33) but it is not installable
         Depends: libmount1 (>= 2.24.2) but it is not installable
         Depends: libncursesw6 (>= 6) but it is not installable
         Depends: libsmartcols1 (>= 2.28~rc1) but it is not installable
         Depends: libtinfo6 (>= 6) but it is not installable
 file : Depends: libbz2-1.0 but it is not installable
        Depends: libc6 (>= 2.4) but it is not installable
Depends: liblzma5 (>= 5.1.1alpha+20110809) but it is not installable
        Depends: libmagic1 (= 1:5.37-5) but it is not installable
        Depends: zlib1g (>= 1:1.1.4) but it is not installable
 findutils : PreDepends: libc6 (>= 2.17) but it is not installable
             PreDepends: libselinux1 (>= 1.32) but it is not installable
 gettext-base : Depends: libc6 (>= 2.4) but it is not installable
 gpgv : Depends: libbz2-1.0 but it is not installable
        Depends: libc6 (>= 2.25) but it is not installable
        Depends: libgcrypt20 (>= 1.8.0) but it is not installable
        Depends: libgpg-error0 (>= 1.26-2~) but it is not installable
        Depends: zlib1g (>= 1:1.1.4) but it is not installable
 grep : PreDepends: libc6 (>= 2.5) but it is not installable
        PreDepends: libpcre3 but it is not installable
 groff-base : Depends: libc6 (>= 2.4) but it is not installable
              Depends: libgcc1 (>= 1:4.0) but it is not installable
              Depends: libstdc++6 (>= 4.1.1) but it is not installable
              Depends: libuchardet0 (>= 0.0.1) but it is not installable
 gzip : PreDepends: libc6 (>= 2.17) but it is not installable
 hostname : PreDepends: libc6 (>= 2.4) but it is not installable
 ifupdown : Depends: libc6 (>= 2.8) but it is not installable
            Depends: lsb-base but it is not installable
 iproute2 : Depends: libbsd0 (>= 0.0) but it is not installable
            Depends: libc6 (>= 2.29) but it is not installable
            Depends: libcap2 (>= 1:2.10) but it is not installable
            Depends: libdb5.3 but it is not installable
            Depends: libelf1 (>= 0.131) but it is not installable
            Depends: libmnl0 (>= 1.0.3-4~) but it is not installable
            Depends: libselinux1 (>= 2.0.15) but it is not installable
Depends: libxtables12 (>= 1.6.0+snapshot20161117) but it is not installable
            Depends: libcap2-bin but it is not installable
            Recommends: libatm1 (>= 2.4.1-17~) but it is not installable
 iptables : Depends: libip4tc2 (= 1.8.3-2) but it is not installable
            Depends: libip6tc2 (= 1.8.3-2) but it is not installable
            Depends: libiptc0 (= 1.8.3-2) but it is not installable
            Depends: libxtables12 (= 1.8.3-2) but it is not installable
            Depends: libc6 (>= 2.28) but it is not installable
            Depends: libmnl0 (>= 1.0.3-4~) but it is not installable
            Depends: libnetfilter-conntrack3 but it is not installable
            Depends: libnfnetlink0 but it is not installable
            Depends: libnftnl11 (>= 1.1.3) but it is not installable
            Recommends: nftables but it is not installable
 iputils-ping : Depends: libcap2-bin but it is not installable
                Depends: libc6 (>= 2.11) but it is not installable
                Depends: libcap2 (>= 1:2.10) but it is not installable
Depends: libgcrypt20 (>= 1.8.0) but it is not installable
 isc-dhcp-client : Depends: libc6 (>= 2.15) but it is not installable
                   Depends: libdns-export1104 but it is not installable
                   Depends: libisc-export1100 but it is not installable
 kmod : Depends: libc6 (>= 2.17) but it is not installable
Depends: liblzma5 (>= 5.1.1alpha+20120614) but it is not installable
        Depends: libssl1.1 (>= 1.1.0) but it is not installable
        Depends: libkmod2 (= 26-3) but it is not installable
        Depends: lsb-base but it is not installable
 less : Depends: libc6 (>= 2.11) but it is not installable
        Depends: libtinfo6 (>= 6) but it is not installable
 libc-bin : Depends: libc6 (> 2.29) but it is not installable
            Depends: libc6 (< 2.30) but it is not installable
 liblockfile-bin : Depends: libc6 (>= 2.4) but it is not installable
 libnss-systemd : Depends: libc6 (>= 2.28) but it is not installable
libpam-modules : PreDepends: libaudit1 (>= 1:2.2.1) but it is not installable
                  PreDepends: libc6 (>= 2.27) but it is not installable
                  PreDepends: libdb5.3 but it is not installable
PreDepends: libpam0g (>= 1.3.1) but it is not installable PreDepends: libselinux1 (>= 2.1.9) but it is not installable libpam-modules-bin : Depends: libaudit1 (>= 1:2.2.1) but it is not installable
                      Depends: libc6 (>= 2.4) but it is not installable
Depends: libpam0g (>= 0.99.7.1) but it is not installable Depends: libselinux1 (>= 1.32) but it is not installable
 libpam-systemd : Depends: libc6 (>= 2.28) but it is not installable
Depends: libpam0g (>= 0.99.7.1) but it is not installable
 libreadline8 : Depends: libc6 (>= 2.15) but it is not installable
                Depends: libtinfo6 (>= 6) but it is not installable
 login : PreDepends: libaudit1 (>= 1:2.2.1) but it is not installable
         PreDepends: libc6 (>= 2.7) but it is not installable
         PreDepends: libpam0g (>= 0.99.7.1) but it is not installable
 logrotate : Depends: libacl1 (>= 2.2.23) but it is not installable
             Depends: libc6 (>= 2.27) but it is not installable
             Depends: libpopt0 (>= 1.14) but it is not installable
             Depends: libselinux1 (>= 1.32) but it is not installable
             Recommends: bsd-mailx but it is not installable or
                         mailx but it is not installable
 lsof : Depends: libc6 (>= 2.11) but it is not installable
        Depends: libselinux1 (>= 1.32) but it is not installable
 man-db : Depends: libc6 (>= 2.27) but it is not installable
          Depends: libgdbm6 (>= 1.16) but it is not installable
          Depends: libpipeline1 (>= 1.5.0) but it is not installable
          Depends: libseccomp2 (>= 2.1.0) but it is not installable
          Depends: zlib1g (>= 1:1.1.4) but it is not installable
 mawk : PreDepends: libc6 (>= 2.11) but it is not installable
 mount : PreDepends: libblkid1 (>= 2.17.2) but it is not installable
         PreDepends: libc6 (>= 2.17) but it is not installable
         PreDepends: libmount1 (>= 2.34) but it is not installable
         PreDepends: libselinux1 (>= 2.6-3~) but it is not installable
         PreDepends: libsmartcols1 (>= 2.33) but it is not installable
 nano : Depends: libc6 (>= 2.27) but it is not installable
        Depends: libncursesw6 (>= 6) but it is not installable
        Depends: libtinfo6 (>= 6) but it is not installable
 ncurses-bin : PreDepends: libc6 (>= 2.7) but it is not installable
PreDepends: libtinfo6 (>= 6.1+20190713) but it is not installable
               PreDepends: libtinfo6 (< 6.2~) but it is not installable
 netcat-traditional : Depends: libc6 (>= 2.15) but it is not installable
 openssh-client : Depends: libc6 (>= 2.26) but it is not installable
Depends: libedit2 (>= 2.11-20080614-0) but it is not installable Depends: libgssapi-krb5-2 (>= 1.17) but it is not installable Depends: libselinux1 (>= 1.32) but it is not installable Depends: libssl1.1 (>= 1.1.1) but it is not installable
                  Depends: zlib1g (>= 1:1.1.4) but it is not installable
                  Recommends: xauth but it is not installable
 passwd : Depends: libaudit1 (>= 1:2.2.1) but it is not installable
          Depends: libc6 (>= 2.8) but it is not installable
          Depends: libpam0g (>= 0.99.7.1) but it is not installable
          Depends: libselinux1 (>= 1.32) but it is not installable
          Depends: libsemanage1 (>= 2.0.3) but it is not installable
 pciutils : Depends: libc6 (>= 2.4) but it is not installable
            Depends: libkmod2 (>= 5~) but it is not installable
            Depends: libpci3 (= 1:3.6.2-2) but it is not installable
 perl : Depends: libperl5.30 (= 5.30.0-6) but it is not installable
 perl-base : PreDepends: libc6 (>= 2.29) but it is not installable
 powerpc-ibm-utils : Depends: libc6 (>= 2.8) but it is not installable
Depends: librtas2 (>= 1.3.6) but it is not installable Depends: librtasevent2 (>= 1.3.6) but it is not installable Depends: zlib1g (>= 1:1.1.4) but it is not installable
                     Depends: bc but it is not installable
 powerpc-utils : Depends: pmac-utils but it is not installable
 procps : Depends: libc6 (>= 2.27) but it is not installable
          Depends: libncurses6 (>= 6) but it is not installable
          Depends: libncursesw6 (>= 6) but it is not installable
          Depends: libprocps7 (>= 2:3.3.15-1) but it is not installable
          Depends: libtinfo6 (>= 6) but it is not installable
          Depends: lsb-base (>= 3.0-10) but it is not installable
          Recommends: psmisc but it is not installable
python : Depends: libpython-stdlib (= 2.7.17-1) but it is not installable
          Depends: python2 (= 2.7.17-1) but it is not installable
python-minimal : Depends: python2.7-minimal (>= 2.7.17~rc1-1~) but it is not installable Depends: python2-minimal (= 2.7.17-1) but it is not installable python2.7 : Depends: python2.7-minimal (= 2.7.17~rc1-1) but it is not installable Depends: libpython2.7-stdlib (= 2.7.17~rc1-1) but it is not installable
 python3-reportbug : Depends: python3:any but it is not installable
                     Depends: python3-debian but it is not installable
Depends: python3-debianbts (>= 1.13) but it is not installable
                     Depends: python3-requests but it is not installable
                     Depends: python3-apt but it is not installable
 reportbug : Depends: python3:any but it is not installable
 rsyslog : Depends: libc6 (>= 2.27) but it is not installable
           Depends: libestr0 (>= 0.1.4) but it is not installable
           Depends: libfastjson4 (>= 0.99.7) but it is not installable
           Depends: liblognorm5 (>= 2.0.3) but it is not installable
           Depends: libsystemd0 (>= 209) but it is not installable
           Depends: libuuid1 (>= 2.16) but it is not installable
           Depends: zlib1g (>= 1:1.1.4) but it is not installable
 sed : PreDepends: libacl1 (>= 2.2.51-8) but it is not installable
       PreDepends: libc6 (>= 2.7) but it is not installable
       PreDepends: libselinux1 (>= 1.32) but it is not installable
 systemd : PreDepends: libblkid1 (>= 2.24) but it is not installable
           PreDepends: libc6 (>= 2.28) but it is not installable
           PreDepends: libgcrypt20 (>= 1.8.0) but it is not installable
           PreDepends: liblz4-1 (>= 0.0~r122) but it is not installable
PreDepends: liblzma5 (>= 5.1.1alpha+20120614) but it is not installable
           PreDepends: libselinux1 (>= 2.1.9) but it is not installable
           Depends: libacl1 (>= 2.2.23) but it is not installable
Depends: libapparmor1 (>= 2.9.0-3+exp2) but it is not installable
           Depends: libaudit1 (>= 1:2.2.1) but it is not installable
           Depends: libcap2 (>= 1:2.10) but it is not installable
Depends: libcryptsetup12 (>= 2:1.6.0) but it is not installable
           Depends: libgnutls30 (>= 3.6.6) but it is not installable
           Depends: libgpg-error0 (>= 1.14) but it is not installable
           Depends: libidn2-0 (>= 2.0.0) but it is not installable
           Depends: libip4tc2 (>= 1.8.3) but it is not installable
           Depends: libkmod2 (>= 5~) but it is not installable
           Depends: liblz4-1 (>= 0.0~r130) but it is not installable
           Depends: libmount1 (>= 2.30) but it is not installable
           Depends: libpam0g (>= 0.99.7.1) but it is not installable
           Depends: libpcre2-8-0 (>= 10.32) but it is not installable
           Depends: libseccomp2 (>= 2.3.1) but it is not installable
           Depends: libsystemd0 (= 242-7) but it is not installable
sysvinit-utils : Depends: lsb-base (>= 11.0.0~) but it is not installable
                  Depends: libc6 (>= 2.4) but it is not installable
 tar : PreDepends: libacl1 (>= 2.2.23) but it is not installable
       PreDepends: libc6 (>= 2.17) but it is not installable
       PreDepends: libselinux1 (>= 1.32) but it is not installable
 tasksel : Depends: liblocale-gettext-perl but it is not installable
 telnet : Depends: libc6 (>= 2.15) but it is not installable
          Depends: libgcc1 (>= 1:3.0) but it is not installable
          Depends: libstdc++6 (>= 5) but it is not installable
 traceroute : Depends: libc6 (>= 2.4) but it is not installable
 udev : Depends: libacl1 (>= 2.2.23) but it is not installable
        Depends: libblkid1 (>= 2.24) but it is not installable
        Depends: libc6 (>= 2.28) but it is not installable
        Depends: libkmod2 (>= 5~) but it is not installable
        Depends: libselinux1 (>= 2.1.9) but it is not installable
        Depends: libudev1 (= 242-7) but it is not installable
util-linux : PreDepends: libaudit1 (>= 1:2.2.1) but it is not installable PreDepends: libblkid1 (>= 2.31.1) but it is not installable
              PreDepends: libc6 (>= 2.25) but it is not installable
PreDepends: libcap-ng0 (>= 0.7.9) but it is not installable
              PreDepends: libmount1 (>= 2.34) but it is not installable
PreDepends: libpam0g (>= 0.99.7.1) but it is not installable PreDepends: libselinux1 (>= 2.6-3~) but it is not installable PreDepends: libsmartcols1 (>= 2.34) but it is not installable
              PreDepends: libsystemd0 but it is not installable
              PreDepends: libtinfo6 (>= 6) but it is not installable
              PreDepends: libudev1 (>= 183) but it is not installable
              PreDepends: libuuid1 (>= 2.16) but it is not installable
              PreDepends: zlib1g (>= 1:1.1.4) but it is not installable
 vim-common : Depends: xxd but it is not installable
 vim-tiny : Depends: libacl1 (>= 2.2.23) but it is not installable
            Depends: libc6 (>= 2.15) but it is not installable
            Depends: libselinux1 (>= 1.32) but it is not installable
            Depends: libtinfo6 (>= 6) but it is not installable
 wget : Depends: libc6 (>= 2.28) but it is not installable
        Depends: libgnutls30 (>= 3.6.6) but it is not installable
        Depends: libidn2-0 (>= 0.6) but it is not installable
        Depends: libnettle6 but it is not installable
        Depends: libpcre2-8-0 (>= 10.32) but it is not installable
        Depends: libpsl5 (>= 0.16.0) but it is not installable
        Depends: libuuid1 (>= 2.16) but it is not installable
        Depends: zlib1g (>= 1:1.1.4) but it is not installable
        Recommends: ca-certificates but it is not installable
 whiptail : Depends: libc6 (>= 2.4) but it is not installable
            Depends: libnewt0.52 (>= 0.52.21) but it is not installable
            Depends: libpopt0 (>= 1.14) but it is not installable
            Depends: libslang2 (>= 2.2.4) but it is not installable
 xz-utils : Depends: libc6 (>= 2.17) but it is not installable
            Depends: liblzma5 (>= 5.2.2) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
make[1]: Entering directory '/home/jeroen/DEBIAN_INSTALLER/debian-cd'
dpkg -x /mnt/mirror/pool/main/d/debootstrap/debootstrap_1.0.116_all.deb /home/jeroen/debian-cd/tmp/sid/debootstrap if [ ! -e /home/jeroen/debian-cd/tmp/sid/debootstrap/usr/share/debootstrap/scripts/sid ] ; then \ ln -sf sid /home/jeroen/debian-cd/tmp/sid/debootstrap/usr/share/debootstrap/scripts/sid ; \
fi
if [ ! -d /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/sid ] ; then \
	ln -s buster /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/sid ; \
fi
if [ ! -d /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/boot/sid ] ; then \
	ln -s buster /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/boot/sid ; \
fi
if [ "ppc64" != "source" ] ; then \
	for ARCH in ppc64; do \
		echo "Apt-get is updating its files ..."; \
ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
		if [ "$BACKPORTS"x != ""x ] ; then \
USE_BP=1 ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
		fi; \
	done; \
    fi
Apt-get is updating its files ...
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Err:1 file:/mnt/mirror sid InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
Reading package lists...
W: GPG error: file:/mnt/mirror sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
E: The repository 'file:/mnt/mirror sid InRelease' is not signed.
set -e; \
if [ "ppc64" != "source" ] ; then \
	for ARCH in ppc64; do \
		export ARCH=$ARCH; \
for i in `/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection deselected -f install`; do \
			echo $ARCH:$i; \
			perl -i -000 -ne "print unless /^Package: \Q$i\E/m" \
			/home/jeroen/debian-cd/tmp/apt/sid-$ARCH/status; \
		done; \
		if [ "$BACKPORTS"x != ""x ] ; then \
for i in `USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection deselected -f install`; do \
				echo $ARCH:$i; \
				perl -i -000 -ne "print unless /^Package: \Q$i\E/m" \
				/home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/status; \
			done; \
		fi; \
	done; \
    fi
ppc64:adduser
ppc64:apt
ppc64:apt-listchanges
ppc64:apt-utils
ppc64:base-files
ppc64:base-passwd
ppc64:bash
ppc64:bind9-host
ppc64:bsdmainutils
ppc64:bsdutils
ppc64:bzip2
ppc64:coreutils
ppc64:cpio
ppc64:cron
ppc64:dash
ppc64:dbus
ppc64:debconf
ppc64:debconf-i18n
ppc64:debianutils
ppc64:diffutils
ppc64:dpkg
ppc64:e2fsprogs
ppc64:fdisk
ppc64:file
ppc64:findutils
ppc64:gettext-base
ppc64:gpgv
ppc64:grep
ppc64:groff-base
ppc64:gzip
ppc64:hostname
ppc64:ifupdown
ppc64:init
ppc64:init-system-helpers
ppc64:iproute2
ppc64:iptables
ppc64:iputils-ping
ppc64:isc-dhcp-client
ppc64:isc-dhcp-common
ppc64:kmod
ppc64:less
ppc64:libc-bin
ppc64:liblockfile-bin
ppc64:libnss-systemd
ppc64:libpam-modules
ppc64:libpam-modules-bin
ppc64:libpam-runtime
ppc64:libpam-systemd
ppc64:libreadline8
ppc64:locales
ppc64:login
ppc64:logrotate
ppc64:lsof
ppc64:man-db
ppc64:mawk
ppc64:mount
ppc64:nano
ppc64:ncurses-bin
ppc64:netcat-traditional
ppc64:openssh-client
ppc64:passwd
ppc64:pciutils
ppc64:perl
ppc64:perl-base
ppc64:perl-modules-5.30
ppc64:powerpc-ibm-utils
ppc64:powerpc-utils
ppc64:procps
ppc64:python
ppc64:python2.7
ppc64:python3-reportbug
ppc64:python-minimal
ppc64:readline-common
ppc64:reportbug
ppc64:rsyslog
ppc64:sed
ppc64:systemd
ppc64:systemd-sysv
ppc64:sysvinit-utils
ppc64:tar
ppc64:tasksel
ppc64:tasksel-data
ppc64:telnet
ppc64:traceroute
ppc64:tzdata
ppc64:ucf
ppc64:udev
ppc64:util-linux
ppc64:vim-common
ppc64:vim-tiny
ppc64:wamerican
ppc64:wget
ppc64:whiptail
ppc64:xz-utils
set -e; \
if [ "ppc64" != "source" ] ; then \
	for ARCH in ppc64; do \
		export ARCH=$ARCH; \
for i in `/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection selected -f install`; do \
			echo $ARCH:$i; \
/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection cache --no-all-versions show "$i" | perl -000 -npe \
			"s/^(Package: .*)\$/\$1\nStatus: install ok installed/m;" \
			>> /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/status; \
		done; \
		if [ "$BACKPORTS"x != ""x ] ; then \
for i in `USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection selected -f install`; do \
				echo $ARCH:$i; \
USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection cache --no-all-versions show "$i" | perl -000 -npe \
				"s/^(Package: .*)\$/\$1\nStatus: install ok installed/m;" \
				>> /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/status; \
			done; \
		fi; \
	done; \
    fi
for ARCH in ppc64; do \
ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection check; \
	if [ "$BACKPORTS"x != ""x ] ; then \
USE_BP=1 ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection check; \
	fi; \
done
Reading package lists...
Building dependency tree...
make[1]: Leaving directory '/home/jeroen/DEBIAN_INSTALLER/debian-cd'
jeroen@debian:~/DEBIAN_INSTALLER/debian-cd$ make correctstatus
dpkg -x /mnt/mirror/pool/main/d/debootstrap/debootstrap_1.0.116_all.deb /home/jeroen/debian-cd/tmp/sid/debootstrap if [ ! -e /home/jeroen/debian-cd/tmp/sid/debootstrap/usr/share/debootstrap/scripts/sid ] ; then \ ln -sf sid /home/jeroen/debian-cd/tmp/sid/debootstrap/usr/share/debootstrap/scripts/sid ; \
fi
if [ ! -d /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/sid ] ; then \
	ln -s buster /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/sid ; \
fi
if [ ! -d /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/boot/sid ] ; then \
	ln -s buster /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/boot/sid ; \
fi
if [ "ppc64" != "source" ] ; then \
	for ARCH in ppc64; do \
		echo "Apt-get is updating its files ..."; \
ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
		if [ "$BACKPORTS"x != ""x ] ; then \
USE_BP=1 ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
		fi; \
	done; \
    fi
Apt-get is updating its files ...
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Err:1 file:/mnt/mirror sid InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
Reading package lists...
W: GPG error: file:/mnt/mirror sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
E: The repository 'file:/mnt/mirror sid InRelease' is not signed.
set -e; \
if [ "ppc64" != "source" ] ; then \
	for ARCH in ppc64; do \
		export ARCH=$ARCH; \
for i in `/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection deselected -f install`; do \
			echo $ARCH:$i; \
			perl -i -000 -ne "print unless /^Package: \Q$i\E/m" \
			/home/jeroen/debian-cd/tmp/apt/sid-$ARCH/status; \
		done; \
		if [ "$BACKPORTS"x != ""x ] ; then \
for i in `USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection deselected -f install`; do \
				echo $ARCH:$i; \
				perl -i -000 -ne "print unless /^Package: \Q$i\E/m" \
				/home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/status; \
			done; \
		fi; \
	done; \
    fi
set -e; \
if [ "ppc64" != "source" ] ; then \
	for ARCH in ppc64; do \
		export ARCH=$ARCH; \
for i in `/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection selected -f install`; do \
			echo $ARCH:$i; \
/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection cache --no-all-versions show "$i" | perl -000 -npe \
			"s/^(Package: .*)\$/\$1\nStatus: install ok installed/m;" \
			>> /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/status; \
		done; \
		if [ "$BACKPORTS"x != ""x ] ; then \
for i in `USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection selected -f install`; do \
				echo $ARCH:$i; \
USE_BP=1 /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection cache --no-all-versions show "$i" | perl -000 -npe \
				"s/^(Package: .*)\$/\$1\nStatus: install ok installed/m;" \
				>> /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/status; \
			done; \
		fi; \
	done; \
    fi
for ARCH in ppc64; do \
ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection check; \
	if [ "$BACKPORTS"x != ""x ] ; then \
USE_BP=1 ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection check; \
	fi; \
done
Reading package lists...
Building dependency tree...
jeroen@debian:~/DEBIAN_INSTALLER/debian-cd$ make packagelist TASK=Debian-lxde COMPLETE=1
make: *** No rule to make target 'packagelist'.  Stop.
jeroen@debian:~/DEBIAN_INSTALLER/debian-cd$ make packagelists TASK=Debian-lxde COMPLETE=1 dpkg -x /mnt/mirror/pool/main/d/debootstrap/debootstrap_1.0.116_all.deb /home/jeroen/debian-cd/tmp/sid/debootstrap if [ ! -e /home/jeroen/debian-cd/tmp/sid/debootstrap/usr/share/debootstrap/scripts/sid ] ; then \ ln -sf sid /home/jeroen/debian-cd/tmp/sid/debootstrap/usr/share/debootstrap/scripts/sid ; \
fi
if [ ! -d /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/sid ] ; then \
	ln -s buster /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/sid ; \
fi
if [ ! -d /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/boot/sid ] ; then \
	ln -s buster /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/boot/sid ; \
fi
if [ "ppc64" != "source" ] ; then \
	for ARCH in ppc64; do \
		echo "Apt-get is updating its files ..."; \
ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
		if [ "$BACKPORTS"x != ""x ] ; then \
USE_BP=1 ARCH=$ARCH /home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/apt-selection update; \
		fi; \
	done; \
    fi
Apt-get is updating its files ...
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Err:1 file:/mnt/mirror sid InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
Reading package lists...
W: GPG error: file:/mnt/mirror sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
E: The repository 'file:/mnt/mirror sid InRelease' is not signed.
if [ ""x != "yes"x ] ; then \
	if [ ""x = "1"x ] ; then \
		: ; \
	elif [ ""x = "2"x -o ""x = "C"x ] ; then \
		echo "mawk" >>/home/jeroen/debian-cd/tmp/sid/rawlist; \
	else \
		echo "mawk" >>/home/jeroen/debian-cd/tmp/sid/rawlist; \
		echo "exim4-daemon-light" >>/home/jeroen/debian-cd/tmp/sid/rawlist; \
	fi; \
fi
if [ ""x != "yes"x ] ; then \
	if [ _ != _1 ]; then \
		for ARCH in ppc64; do \
BINCLUDE=`[ -n "/home/jeroen/DEBIAN_INSTALLER/debian-cd/data/debian_ports " ] && cat /home/jeroen/DEBIAN_INSTALLER/debian-cd/data/debian_ports | sort -u | tr "\n" "," | sed 's!,$!!g'`; \
			[ -z "$BINCLUDE" ] || BINCLUDE="--include=$BINCLUDE"; \
			BEXCLUDE=`[ -n "" ] && cat  | tr "\n" "," | sed 's!,$!!g'`; \
			[ -z "$BEXCLUDE" ] || BEXCLUDE="--exclude=$BEXCLUDE"; \
			debootstrap --no-check-gpg --arch $ARCH \
			            --print-debs \
			            $BINCLUDE $BEXCLUDE \
			            sid \
			            /home/jeroen/debian-cd/tmp/debootstrap.tmp \
			            file:/mnt/mirror \
		                 2>/dev/null \
| tr ' ' '\n' > /home/jeroen/debian-cd/tmp/sid/debootstrap-list; \ cat /home/jeroen/debian-cd/tmp/sid/debootstrap-list >>/home/jeroen/debian-cd/tmp/sid/rawlist; \
			rm -rf /home/jeroen/debian-cd/tmp/debootstrap.tmp; \
		done; \
	fi; \
fi
for ARCH in ppc64; do \
	ARCHDEFS="$ARCHDEFS -D ARCH_`echo $ARCH | sed 's/-/_/'`"; \
	ARCHUNDEFS="$ARCHUNDEFS -U $ARCH"; \
done; \
for VARIANT in ; do \
	VARIANTDEFS="$VARIANTDEFS -D VARIANT_$VARIANT"; \
done; \
if [ "1"x = "1"x ] ; then \
	ARCHDEFS="$ARCHDEFS -DFORCE_FIRMWARE"; \
fi; \
if [ ""x = "1"x ] ; then \
	ARCHDEFS="$ARCHDEFS -DARCH_i386_EXCLUDE_486_KERNEL"; \
fi; \
if [ ""x = "1"x ] ; then \
	ARCHDEFS="$ARCHDEFS -DARCH_i386_EXCLUDE_586_KERNEL"; \
fi; \
if [ ""x = "1"x ] ; then \
	ARCHDEFS="$ARCHDEFS -DARCH_i386_EXCLUDE_686_KERNEL"; \
fi; \
if [ ""x = "1"x ] ; then \
	ARCHDEFS="$ARCHDEFS -DARCH_i386_EXCLUDE_686_PAE_KERNEL"; \
fi; \
if [ ""x != "yes"x ] ; then \
	cpp -nostdinc -P -undef $ARCHDEFS $VARIANTDEFS\
   		$ARCHUNDEFS -U i386 -U linux -U unix \
	    -DFORCENONUSONCD1=0 \
-I /home/jeroen/debian-cd/tmp/sid/tasks /home/jeroen/debian-cd/tmp/sid/tasks/Debian-lxde >> /home/jeroen/debian-cd/tmp/sid/rawlist; \
fi
if [ ""x = "yes"x ] ; then \
awk '/^Package:/ {print $2}' /home/jeroen/debian-cd/tmp/apt/sid-source/apt-state/lists/*Sources | \
		sort -u > /home/jeroen/debian-cd/tmp/sid/rawlist; \
fi
Generating the complete list of packages to be included in /home/jeroen/debian-cd/tmp/sid/list...
perl -ne 'chomp; next if /^\s*$/; \
          print "$_\n" if not $seen{$_}; $seen{$_}++;' \
	  /home/jeroen/debian-cd/tmp/sid/rawlist \
	  > /home/jeroen/debian-cd/tmp/sid/list
/home/jeroen/DEBIAN_INSTALLER/debian-cd/tools/check_backports_packages /home/jeroen/debian-cd/tmp/sid/list /home/jeroen/debian-cd/tmp/sid/list.backports if [ -f /home/jeroen/debian-cd/tmp/sid/list.backports ]; then mv /home/jeroen/debian-cd/tmp/sid/list.backports /home/jeroen/debian-cd/tmp/sid/list; fi
jeroen@debian:~/DEBIAN_INSTALLER/debian-cd$ cd tmp/sid/
jeroen@debian:~/DEBIAN_INSTALLER/debian-cd/tmp/sid$ ls

---------------------------------

First I notice a missing package list
-----
update_tasks: Using "gnome" as the default desktop, as specified by pool/main/t/tasksel/task-desktop_3.55_all.deb

Missing package file for ppc64/main.
-----

Then I notice that the wrong archive-keyring is used:
-----
Setting up archive-keyring
mkdir -p /home/jeroen/debian-cd/tmp/archive-keyring
dpkg -x /mnt/mirror/pool/main/d/debian-archive-keyring/debian-archive-keyring_2019.1_all.deb /home/jeroen/debian-cd/tmp/archive-keyring
for ARCH in ppc64; do \
	mkdir -p /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/apt/trusted.gpg.d; \
ln -s /home/jeroen/debian-cd/tmp/archive-keyring/usr/share/keyrings/debian-archive-keyring.gpg /home/jeroen/debian-cd/tmp/apt/sid-$ARCH/apt/trusted.gpg.d; \
	if [ "$BACKPORTS"x != ""x ] ; then \
mkdir -p /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/apt/trusted.gpg.d; \ ln -s /home/jeroen/debian-cd/tmp/archive-keyring/usr/share/keyrings/debian-archive-keyring.gpg /home/jeroen/debian-cd/tmp/apt/sid-backports-$ARCH/apt/trusted.gpg.d; \
	fi; \
done
-----

This results in the following:
-----
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Get:1 file:/mnt/mirror sid InRelease [55.3 kB]
Err:1 file:/mnt/mirror sid InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
Reading package lists...
W: GPG error: file:/mnt/mirror sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA1B2CEA81DCBC61
E: The repository 'file:/mnt/mirror sid InRelease' is not signed.
-----

Then a whole list of dependency problems ....
------


Don't know what to do next. Help is needed.


Reply to: