Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hooks(core24): keep libapt around for now #285

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions hooks/600-no-debian.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down