Skip to content

Commit

Permalink
hooks: do not remove libapt for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Meulengracht committed Nov 18, 2024
1 parent 60728b3 commit 7bff806
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hooks/600-no-debian.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bff806

Please sign in to comment.