[SRU] libraspberrypi0 multi-arch install failing due to lintian override content difference
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
raspberrypi-userland (Ubuntu) |
Fix Released
|
Medium
|
Dave Jones | ||
Jammy |
Fix Released
|
Medium
|
Dave Jones | ||
Kinetic |
Fix Released
|
Medium
|
Dave Jones |
Bug Description
[Impact]
Despite libraspberrypi0 being declared Multi-Arch: same, users cannot install libraspberrypi0
Note: For the sake of clarity, while this fix enables libraspberrypi0
It also affects users of the (still very popular) legacy camera stack, which is only supported on the armhf architecture as of jammy (all the mmal utilities and libraries were removed from arm64 upstream, and this change was incorporated in raspberrypi-
[Test Plan]
* Flash the Ubuntu Desktop 22.04 for Raspberry Pi to an SD card (http://
* Boot the SD card on a supported Pi (4, 400, CM4) and run through first-time setup
* Open a terminal
* sudo dpkg --add-architecture armhf
* sudo apt update
* sudo apt install libraspberrypi0
* Observe failure due to conflict in lintian-overrides
* Enable proposed updates (https:/
* sudo apt update
* sudo apt install -t jammy-proposed libraspberrypi0 libraspberrypi0
* Package installs successfully
* The fixed version also sets Multi-Arch: same on libraspberrypi-dev, so it would also be useful to test the following: sudo apt install libraspberrypi-
[Regression Potential]
We could backport just the Multi-Arch fixes to the lintian-overrides (an essentially risk-free option, since the only difference would be in the lintian overrides themselves), but the diff between the version currently shipped in jammy, and the fixed version in kinetic is small consisting of only 6 (mostly trivial) commits (no new features are included, just bug fixes). Hence, I've decided to just backport the kinetic version, unless the SRU team raises any objections.
The fixed version has been tested on the jammy desktop and jammy server arm64 platforms without issue so far. The regression potential is low; despite it being a new version the delta is (as mentioned) a few largely trivial bug fixes.
The extra commits (https:/
3ff42d69724062c
vcos: Add vcos_safe_strncpy and VCOS_SAFE_STRNCPY -- fixes a complaint from the vc4 linker about not finding strnlen
a70a7428f7861d3
userland: dtoverlay: Handle parameters in overlay_map -- fixes dtoverlay ignoring parameters from the overlay map
affef1eb4f264f4
dtoverlay: Rebase aliases in overlays like labels -- fixes dtoverlay handling aliases in loaded overlays
09570925bf244f8
dtoverlay: Don't mix non-fatal errors and offsets -- fixes an issue (https:/
8fa944c74085aac
mmal: Add mapping for IL OMX_IndexParamB
c4fd1b8986c6d6d
Fix declaration of raspicommonsett
[Original Description]
https:/
Cannot install libraspberrypi0
Please fix your packages for libraspberrypi0.
tags: | added: rls-jj-incoming |
Changed in raspberrypi-userland (Ubuntu): | |
assignee: | nobody → Dave Jones (waveform) |
status: | New → Confirmed |
tags: | added: fr-2417 |
Changed in raspberrypi-userland (Ubuntu): | |
importance: | Undecided → Medium |
tags: | removed: rls-jj-incoming |
Changed in raspberrypi-userland (Ubuntu Jammy): | |
status: | New → Confirmed |
assignee: | nobody → Dave Jones (waveform) |
importance: | Undecided → Medium |
summary: |
- libraspberrypi0 multi-arch install failing due to lintian override + [SRU] libraspberrypi0 multi-arch install failing due to lintian override content difference |
description: | updated |
Changed in raspberrypi-userland (Ubuntu Jammy): | |
status: | Confirmed → In Progress |
description: | updated |
description: | updated |
Thank you for your bug report, could you provide some details. Installing seems to be working without issue
$ sudo apt install libraspberrypi0 --reinstall ypi0_0~ 20211124+ git14b90ff- 0ubuntu2_ arm64.deb ... :arm64 (0~20211124+ git14b90ff- 0ubuntu2) over (0~20211124+ git14b90ff- 0ubuntu2) ... :arm64 (0~20211124+ git14b90ff- 0ubuntu2) ...
...
Preparing to unpack .../libraspberr
Unpacking libraspberrypi0
Setting up libraspberrypi0
Processing triggers for libc-bin (2.35-0ubuntu3) ...