Upgrade from Jammy to Noble breaks

Bug #2055146 reported by Skia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dash (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hello there!

Upgrading `dash` from Jammy to Noble is broken. Here is a quick reproducer:

```
podman pull ubuntu:jammy
podman run -it --rm ubuntu:jammy
sed -i 's/jammy/noble/' /etc/apt/sources.list
apt update
apt full-upgrade
```
This should end up with this error:
```
Setting up dash (0.5.12-6ubuntu3) ...
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
This should never be reached
dpkg: error processing package dash (--configure):
 installed dash package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 dash
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

As `dash` is pre-installed on almost every kind of Ubuntu, this breaks any upgrade from Jammy to Noble in practice.

Changed in dash (Ubuntu):
status: New → In Progress
status: In Progress → Fix Committed
Skia (hyask)
tags: removed: rls-nn-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dash - 0.5.12-6ubuntu4

---------------
dash (0.5.12-6ubuntu4) noble; urgency=medium

  * Update the link targets for /usr, fixing postinst (LP: #2055146)

 -- Julian Andres Klode <email address hidden> Tue, 27 Feb 2024 12:29:41 +0100

Changed in dash (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.