Upgrade from Jammy to Noble breaks
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/
apt update
apt full-upgrade
```
This should end up with this error:
```
Setting up dash (0.5.12-6ubuntu3) ...
Removing 'diversion of /usr/share/
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 |
tags: | removed: rls-nn-incoming |
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