package linux-firmware 1.187.26 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

Bug #1965307 reported by chalandon paul
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

'linux-firmware_1.187.27_all.deb' in unbutu package ---> does not exist !!!
And can not upgrading : package linux-firmware 1.187.26

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-firmware 1.187.26
ProcVersionSignature: Ubuntu 5.13.0-30.33~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-30-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: sirenux 1759 F.... pulseaudio
 /dev/snd/controlC3: sirenux 1759 F.... pulseaudio
 /dev/snd/controlC2: sirenux 1759 F.... pulseaudio
 /dev/snd/controlC0: sirenux 1759 F.... pulseaudio
CasperMD5CheckResult: skip
Date: Thu Mar 17 15:00:10 2022
Dependencies:

DuplicateSignature:
 package:linux-firmware:1.187.26
 Removing linux-image-generic-hwe-20.04 (5.13.0.30.33~20.04.17) ...
 dpkg: error processing package linux-firmware (--remove):
  package is in a very bad inconsistent state; you should
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
InstallationDate: Installed on 2022-01-19 (56 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
IwConfig:
 lo no wireless extensions.

 enp27s0 no wireless extensions.
MachineType: Micro-Star International Co., Ltd MS-7B07
PackageArchitecture: all
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-30-generic root=UUID=c0e47fc1-d36a-4d49-a7fb-c934c673b142 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions: grub-pc 2.04-1ubuntu26.13
RfKill:

SourcePackage: linux-firmware
Title: package linux-firmware 1.187.26 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/06/2018
dmi.bios.release: 5.13
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3.C0
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: A320M PRO-VH PLUS (MS-7B07)
dmi.board.vendor: Micro-Star International Co., Ltd
dmi.board.version: 1.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3.C0:bd11/06/2018:br5.13:svnMicro-StarInternationalCo.,Ltd:pnMS-7B07:pvr1.0:rvnMicro-StarInternationalCo.,Ltd:rnA320MPRO-VHPLUS(MS-7B07):rvr1.0:cvnMicro-StarInternationalCo.,Ltd:ct3:cvr1.0:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7B07
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: Micro-Star International Co., Ltd

Revision history for this message
chalandon paul (hardux) wrote :
Revision history for this message
Juerg Haefliger (juergh) wrote :

What are you trying to do? What's the output of:
$ dpkg -l | grep -v '^ii'

Try to reinstall the package:
$ apt get install --reinstall linux-firmware

Juerg Haefliger (juergh)
tags: added: kern-2736
Revision history for this message
chalandon paul (hardux) wrote :
Download full text (9.2 KiB)

Answer for $ dpkg -l | grep -v '^ii' :

$ sudo dpkg -l | grep -v '^ii'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================================-===================================-============-======================================================================================================
it dbus 1.12.16-2ubuntu2.1 amd64 simple interprocess messaging system (daemon and utilities)
it desktop-file-utils 0.24-1ubuntu3 amd64 Utilities for .desktop files
iU firefox 98.0+build3-0ubuntu0.20.04.2 amd64 Safe and easy web browser from Mozilla
iU g++-9 9.4.0-1ubuntu1~20.04 amd64 GNU C++ compiler
iU gcc-9 9.4.0-1ubuntu1~20.04 amd64 GNU C compiler
iU gir1.2-gtk-3.0:amd64 3.24.20-0ubuntu1.1 amd64 GTK graphical user interface library -- gir bindings
iU gir1.2-polkit-1.0 0.105-26ubuntu1.3 amd64 GObject introspection data for PolicyKit
iU gir1.2-webkit2-4.0:amd64 2.34.6-0ubuntu0.20.04.1 amd64 Web content engine library for GTK - GObject introspection data
it gnome-menus 3.36.0-1ubuntu1 amd64 GNOME implementation of the freedesktop menu specification
it hicolor-icon-theme 0.17-2 all default fallback theme for FreeDesktop.org icon themes
iU language-pack-fr 1:20.04+20220211 all translation updates for language French
iU language-pack-fr-base 1:20.04+20220211 all translations for language French
iU language-pack-gnome-en 1:20.04+20220211 all GNOME translation updates for language English
iU language-pack-gnome-en-base 1:20.04+20220211 all GNOME translations for language English
iU language-pack-gnome-fr 1:20.04+20220211 all GNOME translation updates for language French
iU language-pack-gnome-fr-base 1:20.04+20220211 all GNOME translations for language French
it libc-bin 2.31-0ubuntu9.7 amd64 GNU C Library: Binaries
iU libegl-mesa0:amd64 21.2.6-0ubuntu0.1~20.04.2 amd64 free implementation of the EGL API -- Mesa vendor library
iU libegl1:amd64 1.3.2-1~ubuntu0.20.04.2 amd64 Vendor neutral GL dispatch library -- EGL support
iU libgc...

Read more...

Revision history for this message
chalandon paul (hardux) wrote :

During ubuntu update linux-firmware waits the next version in *.27 which does not exist !!!

I find the package linux-firmware in *.29 version but not in *.27 or *.28 and the system waits only in *.27 not other.

I try to remove the linux-firmware to reinstalling it.

Revision history for this message
Juerg Haefliger (juergh) wrote :

$ apt update
$ apt install --reinstall linux-firmware

Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu):
status: New → Incomplete
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-firmware (Ubuntu) because there has been no activity for 60 days.]

Changed in linux-firmware (Ubuntu):
status: Incomplete → Expired
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.