🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Vincent Lefevre Mon, 19 Oct 2026 11:10
Bug#1151264: tin: old tin package postinst maintainer script subprocess failed with exit status 1
#1330
Author: Vincent Lefevre
Date: Mon, 19 Oct 2026 11:10
15 lines
2506 bytes
On 2026-10-19 12:24:33 +0200, Vincent Lefevre wrote:
> dpkg: error processing package tin (--configure):
>  old tin package postinst maintainer script subprocess failed with exit status 1

BTW, why "old"?

Even if I uninstall the tin package and install tin/1:2.6.7~20260927-1
again, I get the same error.

"apt install -f" also fails with the same error.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Bug#1151264: tin: old tin package postinst maintainer script subprocess failed with exit status 1
#1332
Author: Vincent Lefevre
Date: Mon, 19 Oct 2026 11:40
62 lines
4120 bytes
Control: retitle -1 tin: upgrade fails: missing exit status 0 after return in tin.postinst

root@disset:~# DEBCONF_DEBUG=developer dpkg --configure tin
Setting up tin (1:2.6.7~20260927-1) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is tin
debconf (developer): starting /var/lib/dpkg/info/tin.config configure 1:2.6.6-1
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- BEGINBLOCK
debconf (developer): --> 0
debconf (developer): <-- SET shared/news/server news.lip.ens-lyon.fr
debconf (developer): --> 0 value set
debconf (developer): <-- INPUT medium shared/news/server
debconf (developer): --> 30 question skipped
debconf (developer): <-- ENDBLOCK
debconf (developer): --> 0
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): starting /var/lib/dpkg/info/tin.postinst configure 1:2.6.6-1
debconf (developer): <-- GET shared/news/server
debconf (developer): --> 0 news.lip.ens-lyon.fr
dpkg: error processing package tin (--configure):
 old tin package postinst maintainer script subprocess failed with exit status 1

In tin.postinst:

  local current_name="$(cat /etc/news/server)"
  [ "$RET" != "$current_name" ] || return

which should give

  [ "news.lip.ens-lyon.fr" != "news.lip.ens-lyon.fr" ] || return

but

$ f() { [ "news.lip.ens-lyon.fr" != "news.lip.ens-lyon.fr" ] || return; } 
$ f
$ echo $?
1

while

$ f() { [ "news.lip.ens-lyon.fr" != "news.lip.ens-lyon.fr" ] || return 0; }
$ f
$ echo $?

0

https://chat.mistral.ai/work/c088fabe-6e87-4cd0-83f3-e8a95fcd9f8d
confirms that this is the cause of the failure.

Note also that

  [ "$RET" ] || return

has the same issue.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Bug#1151264: tin: old tin package postinst maintainer script subprocess failed with exit status 1
#1333
Author: Marco d'Itri
Date: Mon, 19 Oct 2026 11:40
40 lines
3230 bytes
--jdNSq0eweBd++ulZ
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: clone -1 -2
Control: retitle -2 dpkg: an error message mentions the old maintainer scri=
pt instead of the new one
Control: reassign -2 dpkg

On Oct 19, Vincent Lefevre <vincent@vinc17.net> wrote:

>On 2026-10-19 12:24:33 +0200, Vincent Lefevre wrote:
>> dpkg: error processing package tin (--configure):
>>  old tin package postinst maintainer script subprocess failed with exit =
status 1
>BTW, why "old"?

Indeed, it is the *new* maintainer script which was broken and this made=20
me ignore the CI failure. :-(

How to reproduce: update a package to a new version with a failing=20
maintainer script.

--=20
ciao,
Marco

--jdNSq0eweBd++ulZ
Content-Type: application/pgp-signature; name=signature.asc

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

iHUEABYKAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCatYBAQAKCRDLPsM64d7X
gSbXAQDoYOh5tOkYFS5swYLEgXBPk+Rap1LuXjC1v+gcUpnNPgEAh+h8QYKM0cwQ
mO87zbiBxcJqVM/0WS4HMxg3AmkPYwY=
=AbNx
-----END PGP SIGNATURE-----

--jdNSq0eweBd++ulZ--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads