From ccd2a38e3dd1374751408084bc214f880c27b57a Mon Sep 17 00:00:00 2001 From: Philip Meulengracht Date: Mon, 18 Nov 2024 11:03:53 +0100 Subject: [PATCH] hooks: keep libapt around for now --- hooks/600-no-debian.chroot | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hooks/600-no-debian.chroot b/hooks/600-no-debian.chroot index baaa37c..5636032 100755 --- a/hooks/600-no-debian.chroot +++ b/hooks/600-no-debian.chroot @@ -6,8 +6,11 @@ set -ex echo "I: Removing the debian legacy" -# dpkg-deb and dpkg purposefully left behind -dpkg --purge --force-depends apt libapt-pkg6.0t64 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