From 7bff80653ec13b509da56df41a72fc9e66e61970 Mon Sep 17 00:00:00 2001 From: Philip Meulengracht Date: Mon, 18 Nov 2024 09:03:06 +0100 Subject: [PATCH] hooks: do not remove libapt for now --- hooks/600-no-debian.chroot | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hooks/600-no-debian.chroot b/hooks/600-no-debian.chroot index 54e4d989..d8a9d26b 100755 --- a/hooks/600-no-debian.chroot +++ b/hooks/600-no-debian.chroot @@ -7,7 +7,11 @@ set -ex echo "I: Removing the debian legacy" # dpkg-deb and dpkg purposefully left behind -dpkg --purge --force-depends apt libapt-pkg6.0 debconf +# leave libapt6.0 behind for now, it's unfortunately currently imported +# by the snapcraft snap. See https://github.com/canonical/core-base/issues/283. +# we have been carrying this library since core20 because of a we never updated +# the library name (we were removing libapt5.0 which did not exist). +dpkg --purge --force-depends apt debconf # store manifest of all installed packages install -m755 -d usr/share/snappy