🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4642

Bug#1153999: erlang-base: prerm/postinst systemd service handling chokes on template units

#4642
From: наб
Date: Sun, 15 Nov 2026 21:30
79 lines
6267 bytes
--terahmrkl6vmxogh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Control: tags -1 patch

MR !20 on Salsa
  https://salsa.debian.org/erlang-team/packages/erlang/-/merge_requests/20
handles template units by expanding them in prerm and saving the
expansions in /var/tmp, then expanding them from the saved file in
postinst.

upgrade
-- >8 --
# apt install ../erlang-base_1%3a27.3.4.1+dfsg-1+deb13u4_amd64++.deb
...
Get:1 /tmp/erlang-base_1%3a27.3.4.1+dfsg-1+deb13u4_amd64++.deb erlang-base amd64 1:27.3.4.1+dfsg-1+deb13u4 [11.4 MB]
(Reading database ... 52531 files and directories currently installed.)
Preparing to unpack .../erlang-base_1%3a27.3.4.1+dfsg-1+deb13u4_amd64++.deb ...
Searching for services which depend on erlang and should be stopped... found: beambox-logbook.service beambox-publisher@82d56fc1-9b7c-45ff-8889-464ad7a7a47a.service retina@b6d50752-4a0e-467f-ad36-8951b16bd9e6.service retina@2921e5db-19ee-4c69-b5b5-46ccc1d7a57a.service retina@0c4cb1c7-ec24-49a9-bc97-c78d81e1bc95.service.
Stopping services which depend on erlang
  beambox-logbook.service: stopping... done.
  beambox-publisher@82d56fc1-9b7c-45ff-8889-464ad7a7a47a.service: stopping... done.
  retina@b6d50752-4a0e-467f-ad36-8951b16bd9e6.service: stopping... done.
  retina@2921e5db-19ee-4c69-b5b5-46ccc1d7a57a.service: stopping... done.
  retina@0c4cb1c7-ec24-49a9-bc97-c78d81e1bc95.service: stopping... done.
Services stopped successfully.
Killing epmd... done.
Unpacking erlang-base (1:27.3.4.1+dfsg-1+deb13u4) over (1:27.3.4.1+dfsg-1+deb13u4) ...
Setting up erlang-base (1:27.3.4.1+dfsg-1+deb13u4) ...
Searching for services which depend on erlang and should be started... found: beambox-logbook.service beambox-publisher@82d56fc1-9b7c-45ff-8889-464ad7a7a47a.service retina@b6d50752-4a0e-467f-ad36-8951b16bd9e6.service retina@2921e5db-19ee-4c69-b5b5-46ccc1d7a57a.service retina@0c4cb1c7-ec24-49a9-bc97-c78d81e1bc95.service (template services saved 2026-11-15 21:59:05.515393873 +0100).
Starting services which depend on erlang
  beambox-logbook.service: starting... done.
  beambox-publisher@82d56fc1-9b7c-45ff-8889-464ad7a7a47a.service: starting... done.
  retina@b6d50752-4a0e-467f-ad36-8951b16bd9e6.service: starting... done.
  retina@2921e5db-19ee-4c69-b5b5-46ccc1d7a57a.service: starting... done.
  retina@0c4cb1c7-ec24-49a9-bc97-c78d81e1bc95.service: starting... done.
Services started successfully.
Processing triggers for man-db (2.13.1-1) ...
-- >8 --

remove
-- >8 --
# dpkg -r --force-all erlang-base
...
Removing erlang-base (1:27.3.4.1+dfsg-1+deb13u4) ...
Searching for services which depend on erlang and should be stopped... found: beambox-logbook.service beambox-publisher@*.service retina@*.service.
Stopping services which depend on erlang
  beambox-logbook.service: stopping... done.
  beambox-publisher@*.service: stopping... done.
  retina@*.service: stopping... done.
Services stopped successfully.
Killing epmd... it is not running.
Processing triggers for man-db (2.13.1-1) ...
-- >8 --


--terahmrkl6vmxogh
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEfWlHToQCjFzAxEFjvP0LAY0mWPEFAmr6IDMACgkQvP0LAY0m
WPGOhw/7BYL3kxNyqjf4wY08k8/tc6uQjSBnhro0CWZ1uYpgc2HmCa6DxvqxRVb0
RcdILWvQzWuAwlADg/0x11Jpsl797fWQwGmpCeb6pLOqZ8ohDlQfNRAG1DP/qjKY
KihFpP1z+9ckmgWcR5wnONOrKFUb8Hz063B4yXFFi2P8XhuwuTCBbEeS0YQtX73w
LbNs79Oq5ap1VwSsL6DTx5h4TalQsxuwDQ+1oE85Yaa0IIdE9LbdWcTIt8vFWpWU
QZCk75zAXXdcXH70RBNoASEDhe0gBaw79q40RV4Z8LPE1hC4ThlGRkQbBVnqAL+O
pi7ulejj5xlvWPk+N0RVpINedYfCSF4yRNPV/k7RZCD2gqWhOnYdTwSORdc9rm2j
QNdpsP9jAWmtJWiecM1HjaxgHLfeKUVPb4ShalfGxqPzx1nTuJTjWdfVwT8aUzjb
pEVyWyt8wqxUR0VDq2OV6PPrKfYSoaWKo8QgcaDRskz5lDj8xYWUQdBkMtMT1niI
mIow7HRt96lQhJ3UK4hTtcZNYTRZfbQJ9jaogddPflLu5GxI1oUR59caqhBT1AVj
eieLbwrILn8WILJs+kyZdpsympAYbyxeydqqsbtGrd8fDUaBKDjoX7G/N1xh6/s7
xQ1ykzdBgeiMz4kQCVOrv0WJEvoNVkreoKJ5GegYODl+dXbuK0o=
=kC3x
-----END PGP SIGNATURE-----

--terahmrkl6vmxogh--
Technical Details
Message-ID: <NZPXs-c7qf-23@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NZtax-bUr8-1@gated-at.bofh.it> <NZPXs-c7qf-25@gated-at.bofh.it> <NZtax-bUr8-1@gated-at.bofh.it> <NZPXs-c7qf-25@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: наб <nabijaczleweli@nabijaczleweli.xyz>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153999: erlang-base: prerm/postinst systemd service handling chokes on template units
Date: Sun, 15 Nov 2026 22:30:02 +0100
Message-ID: <NZPXs-c7qf-23@gated-at.bofh.it>
References: <NZtax-bUr8-1@gated-at.bofh.it> <NZPXs-c7qf-25@gated-at.bofh.it> <NZtax-bUr8-1@gated-at.bofh.it> <NZPXs-c7qf-25@gated-at.bofh.it>
X-Original-To: 1153999@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 15 21:25:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.942
Reply-To: наб <nabijaczleweli@nabijaczleweli.xyz>, 1153999@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-erlang-devel@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1153999
X-Debian-Pr-Package: erlang-base
X-Debian-Pr-Source: erlang
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="terahmrkl6vmxogh"
Content-Disposition: inline
User-Agent: NeoMutt/20231221-2-4202cf-dirty
X-Greylist: delayed 596 seconds by postgrey-1.37 at buxtehude; Sun, 15 Nov 2026 21:22:20 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002823
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 79
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 15 Nov 2026 22:12:19 +0100
X-Original-Message-ID: <vj5pdwe5t4vtehhrishxok3pel6eh4lzcw7jvrlysfnbnud2fr@tarta.nabijaczleweli.xyz>
X-Original-References: <viypshw5j6gju7x26pmjxp6xunfxlp7nvrfunwnzhypecj2q6z@tarta.nabijaczleweli.xyz> <handler.1153999.B.17946902702480403.ack@bugs.debian.org> <viypshw5j6gju7x26pmjxp6xunfxlp7nvrfunwnzhypecj2q6z@tarta.nabijaczleweli.xyz> <handler.1153999.B.17946902702480403.ack@bugs.debian.org>