package linux-firmware-raspi 6-0ubuntu2 failed to install/upgrade: new linux-firmware-raspi package pre-installation script subprocess returned error exit status 2

Bug #1961185 reported by Simon Chopin
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux-firmware-raspi (Ubuntu)
Fix Released
High
Dave Jones
Jammy
Fix Released
High
Dave Jones

Bug Description

Upgrading my Pi4 (armhf install) to Jammy from Impish.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-firmware-raspi 6-0ubuntu2
ProcVersionSignature: Ubuntu 5.13.0-1016.18-raspi 5.13.19
Uname: Linux 5.13.0-1016-raspi armv7l
ApportVersion: 2.20.11-0ubuntu77
Architecture: armhf
CasperMD5CheckResult: unknown
Date: Thu Feb 17 09:48:10 2022
Dependencies:

ErrorMessage: new linux-firmware-raspi package pre-installation script subprocess returned error exit status 2
ImageMediaBuild: 20211013
Python3Details: /usr/bin/python3.9, Python 3.9.10, python3-minimal, 3.9.7-4
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu1
 apt 2.3.15
SourcePackage: linux-firmware-raspi
Title: package linux-firmware-raspi 6-0ubuntu2 failed to install/upgrade: new linux-firmware-raspi package pre-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to jammy on 2022-02-17 (0 days ago)

Revision history for this message
Simon Chopin (schopin) wrote :
Dave Jones (waveform)
Changed in linux-firmware-raspi (Ubuntu):
assignee: nobody → Dave Jones (waveform)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-firmware-raspi (Ubuntu):
status: New → Confirmed
Dave Jones (waveform)
tags: removed: need-duplicate-check
tags: removed: armhf armhf-image
Changed in linux-firmware-raspi (Ubuntu):
milestone: none → ubuntu-22.04
tags: added: rls-jj-incoming
Revision history for this message
Dave Jones (waveform) wrote :

Test fix is currently building in the following PPA:

https://launchpad.net/~waveform/+archive/ubuntu/firmware-rename/+packages

If people affected could please test this version, it would be very helpful. The steps to take should be as follows:

$ sudo add-apt-repository ppa:waveform/firmware-rename
$ sudo apt install linux-firmware-raspi

The new maintscripts are a lot more complex and *should* be able to cope with the situation of a half-installed or half-configured (i.e. broken) linux-firmware-raspi install. I've tested locally with a deliberately broken upgrade, but I can't be sure all scenarios are handled.

Changed in linux-firmware-raspi (Ubuntu):
importance: Undecided → High
tags: removed: rls-jj-incoming
tags: added: fr-2088
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware-raspi - 6-0ubuntu3

---------------
linux-firmware-raspi (6-0ubuntu3) jammy; urgency=medium

  * d/linux-firmware-raspi.{preinst,postinst,postrm} Re-write diversion
    handling logic. The previous handling was neither idempotent nor did it
    gracefully handle failure scenarios (LP: #1961185)
  * d/diversions: Add diversions for bluez-firmware blobs (LP: #1962001)

 -- Dave Jones <email address hidden> Fri, 18 Feb 2022 00:49:24 +0000

Changed in linux-firmware-raspi (Ubuntu Jammy):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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