Skip to content

Commit

Permalink
install debhelper from bookworm-backports
Browse files Browse the repository at this point in the history
for usrmerge systemd unit file folder /usr/lib/systemd/system
  • Loading branch information
adrelanos committed Feb 4, 2024
1 parent ed1ace7 commit 9a0d809
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions help-steps/pbuilder-chroot-script
Expand Up @@ -74,6 +74,13 @@ fi
## https://unix.stackexchange.com/a/271387/49297
#/usr/lib/dpkg/methods/apt/update /var/lib/dpkg apt apt

## Can be out-commented in Debian trixie.
## Required for usrmerge systemd unit files folder /usr/lib/system/system.
debhelper_version="$(dpkg-query --show --showformat='${Version}' "debhelper")"
if ! dpkg --compare-versions "$debhelper_version" ge "13.11.8~bpo12+1"; then
apt-get ${APTGETOPT[@]} $apt_unattended_opts --yes --target-release=bookworm-backports install debhelper
fi

apt-get ${APTGETOPT[@]} $apt_unattended_opts --yes dist-upgrade

## Sanity test for above aptitude issue.
Expand Down

0 comments on commit 9a0d809

Please sign in to comment.