linux-firmware-nexus7_0.2 fails to install while dist-upgrading from Q -> R

Reported by Sean Feole on 2012-12-06
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-nexus7
Medium
Unassigned

Bug Description

While upgrading from Quantal to Raring the package linux-firmware-nexus7_0.2 failed to install.

From what I can tell heres where happened:

(Reading database ... 129845 files and directories currently installed.)
Unpacking linux-firmware-nexus7 (from linux-firmware-nexus7_0.2_all.deb) ...
dpkg: error processing linux-firmware-nexus7_0.2_all.deb (--install):
 trying to overwrite '/lib/firmware/nvram.txt', which is also in package linux-firmware 1.95nexus3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 linux-firmware-nexus7_0.2_all.deb

Looks like that the upgrade path for these 3 packages should follow in this order. linux-firmware -> linux-image-nexus7 -> linux-firmware-nexus7
-----------------------------------------------------------------------

As a workaround heres what I did,

In this order.

1.) Remove linux-image-nexus7 pkg, which is still version 3.1.10.7.11 at this point, the raring version is 3.1.10.8.14
2.) Remove linux-firmware. which is again at the quantal version 1.95nexus3 , the raring version is 1.98
3.) navigate to /var/apt/cache/archive and install by hand linux-firmware-nexus7_0.2 "dpkg -i <pkg>"
4.) kick off the dist-upgrade again and continue the process
5.) when upgrade finishes , apt-get install the following:
6.) apt-get install linux-firmware (ver 1.98)
7.) apt-get install linux-image-nexus7 <ver 3.1.10.8.14)
8.) verify all 3 are installed via apt-cache policy

Jani Monoses (jani) wrote :

Is there a way to force upgrade order?
Would upgrading linux-firmware as an initial step and then doing the dist upgrade work?
I'd rather we document this or some other workaround than add Conflicts: in the raring package.

Jani Monoses (jani) on 2013-01-24
Changed in ubuntu-nexus7:
importance: Critical → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers