building Whonix11 for qubes-whonix: Package installation errors

Information

ID: 278
PHID: PHID-TASK-x5gw7rfkg76j2vhjw4ro
Author: nrgaway
Status at Migration Time: resolved
Priority at Migration Time: High

Description

I am getting errors like these:

The following packages have unmet dependencies:
 network-manager : Depends: libpam-systemd but it is not going to be installed
                   Depends: policykit-1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

My build script looks like this:

This script is called first so I can set some stuff up as sudo user before calling the actual build script:

# Pre Fixups
sudo mkdir -p /boot/grub2
sudo touch /boot/grub2/grub.cfg
sudo mkdir -p /boot/grub
sudo touch /boot/grub/grub.cfg
sudo mkdir --parents --mode=g+rw "/tmp/uwt"

# Whonix seems to re-install sysvinit even though there is a hold
# on the package.  Things seem to work anyway. BUT hopfully the
# hold on grub* don't get removed
sudo apt-mark hold sysvinit
sudo apt-mark hold grub-pc grub-pc-bin grub-common grub2-common

# Whonix expects haveged to be started
sudo /etc/init.d/haveged start

sudo ~/whonix_build_post $@

Then this is called (whonix_build_post)

#!/bin/bash -e
# vim: set ts=4 sw=4 sts=4 et :

export WHONIX_BUILD_UNATTENDED_PKG_INSTALL="1"

# Whonix 11 Hacks (stretch does not exist)
export whonix_build_apt_newer_release_codename="jessie"

# Make sure we clear Qubes overrides of these vars
#export GENMKFILE_INCLUDE_FILE_MAIN=
#export GENMKFILE_BOOTSTRAP=

# Prevents Whonix makefile use of shared memory 'sem_open: Permission denied'
echo tmpfs /dev/shm tmpfs defaults 0 0 >> /etc/fstab
mount /dev/shm

#    --freshness current \

pushd /home/user/Whonix
/home/user/Whonix/whonix_build \
    --flavor $1 \
    -- \
    --build \
    --arch amd64 \
    --kernel linux-image-amd64 \
    --headers linux-headers-amd64 \
    --target root \
    --report minimal \
    --verifiable minimal \
    --allow-uncommitted true \
    --sanity-tests false || { exit 1; }
popd

Comments


Patrick

2015-04-27 00:59:30 UTC


nrgaway

2015-04-27 01:08:02 UTC


nrgaway

2015-04-27 01:13:34 UTC


Patrick

2015-04-27 02:06:15 UTC


nrgaway

2015-04-27 09:24:41 UTC


WhonixQubes

2015-04-27 11:11:24 UTC


WhonixQubes

2015-04-27 11:13:12 UTC


Patrick

2015-04-27 14:48:28 UTC


Patrick

2015-04-27 22:21:34 UTC


nrgaway

2015-04-27 22:30:08 UTC


Patrick

2015-04-30 14:59:43 UTC


nrgaway

2015-04-30 22:21:08 UTC


Patrick

2015-05-01 01:03:15 UTC


nrgaway

2015-05-01 08:42:49 UTC


Patrick

2015-05-01 13:00:47 UTC


Patrick

2015-05-01 13:29:25 UTC


nrgaway

2015-05-01 21:43:27 UTC


nrgaway

2015-05-02 02:36:41 UTC


Patrick

2015-05-02 04:39:18 UTC


nrgaway

2015-05-16 04:47:30 UTC