Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1056980: netcat-traditional: upgrade to 1.10-48 fails (postinst script)

90 views
Skip to first unread message

Chris Hofstaedtler

unread,
Nov 27, 2023, 8:50:06 AM11/27/23
to
Control: tags -1 = wontfix

* Dimitris <dimi...@stinpriza.org> [231127 13:37]:
> Package: netcat-traditional


[..]
> update-alternatives: error: alternative path /bin/nc.traditional doesn't
> exist
> dpkg: error processing package netcat-traditional (--configure):
> installed netcat-traditional package post-installation script subprocess
> return
> ed error exit status 2
> Processing triggers for runit (2.1.2-54+usrmerge) ...
> Processing triggers for man-db (2.12.0-1) ...
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> seems latest change involves " * Move files from /bin to /usr/bin", so
> some confs need adjustment, eg :
> https://salsa.debian.org/debian/netcat/-/blob/master/debian/netcat-traditional.postinst

No, changing the update-alternatives call is
a) not necessary on /usr-merged systems,
b) will break on these.

There is nothing to do for netcat-traditional here.

> merged-usr: no

This is an unsupported configuration in trixie. Please ensure your
system is in an supported state (i.e., merged).

Note that other package updates will also break similarly or with
other symptoms.

Chris

Luca Boccassi

unread,
Nov 27, 2023, 8:50:06 AM11/27/23
to
On Mon, 27 Nov 2023 15:28:35 +0200 Dimitris <dimi...@stinpriza.org>
wrote:
> Package: netcat-traditional
> Version: 1.10-48
> Severity: normal
>
> Hey,
>
> trying to upgrade to 1.10-48 and get this error message in apt :
>
> Preparing to unpack .../netcat-traditional_1.10-48_amd64.deb ...
> Unpacking netcat-traditional (1.10-48) over (1.10-47) ...
> Installing netcat-traditional (1.10-48) ...
> update-alternatives: error: alternative path /bin/nc.traditional
doesn't
> exist
> dpkg: error processing package netcat-traditional (--configure):
>   installed netcat-traditional package post-installation script
> subprocess return
> ed error exit status 2
> Processing triggers for runit (2.1.2-54+usrmerge) ...
> Processing triggers for man-db (2.12.0-1) ...
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> seems latest change involves "   * Move files from /bin to /usr/bin",
so
> some confs need adjustment, eg :
>
https://salsa.debian.org/debian/netcat/-/blob/master/debian/netcat-traditional.postinst
>
>
> thanks in advance,
> d.
>
>
> -- System Information:
> Debian Release: trixie/sid
>    APT prefers experimental
>    APT policy: (1, 'experimental')
> merged-usr: no

Hi,

This system appears misconfigured - it is a trixie/sid installation,
but not merged-usr, which is not supported and not possible to install
anymore. Please fix the system so that it is configured as supported
and try again. You can find more information on:

https://wiki.debian.org/UsrMerge

--
Kind regards,
Luca Boccassi
signature.asc
0 new messages