[Bug 2046992] Re: ubuntu 22.04 fwupd apt package seems broken (library / daemon version mismatch)

James 2046992 at bugs.launchpad.net
Sun Feb 11 20:27:27 UTC 2024


I noticed remnants of an old fwupd installation.  Once removed, the service was able to install and load. 
Closing as this does not need to be fixed.
thank all. 

** Changed in: fwupd (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fwupd in Ubuntu.
https://bugs.launchpad.net/bugs/2046992

Title:
  ubuntu 22.04 fwupd apt package seems broken (library / daemon version
  mismatch)

Status in fwupd package in Ubuntu:
  Invalid

Bug description:
  On Ubuntu 22.04.03, the fwupd package fails to perform a clean apt install.  
  The error given upon service startup is the following:

  Dec 19 21:36:46 jwlandon-ThinkPad-E14-Gen-2 fwupd[9985]: Failed to
  load engine: libfwupd version 1.9.4 does not match daemon 1.7.9

  
  More info below: 

  System version:
  root at jwlandon-ThinkPad-E14-Gen-2:~# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 22.04.3 LTS
  Release:        22.04
  Codename:       jammy

  No fwupd related packages installed:
  root at jwlandon-ThinkPad-E14-Gen-2:~# apt list --installed 2> /dev/null |grep fwupd

  Now I install fwupd:
  root at jwlandon-ThinkPad-E14-Gen-2:~# apt install fwupd
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following additional packages will be installed:
    fwupd-signed libfwupd2 libfwupdplugin5
  Suggested packages:
    gir1.2-fwupd-2.0
  The following NEW packages will be installed:
    fwupd fwupd-signed libfwupd2 libfwupdplugin5
  0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/2,889 kB of archives.
  After this operation, 7,989 kB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Selecting previously unselected package libfwupd2:amd64.
  (Reading database ... 329400 files and directories currently installed.)
  Preparing to unpack .../libfwupd2_1.7.9-1~22.04.3_amd64.deb ...
  Unpacking libfwupd2:amd64 (1.7.9-1~22.04.3) ...
  Selecting previously unselected package libfwupdplugin5:amd64.
  Preparing to unpack .../libfwupdplugin5_1.7.9-1~22.04.3_amd64.deb ...
  Unpacking libfwupdplugin5:amd64 (1.7.9-1~22.04.3) ...
  Selecting previously unselected package fwupd.
  Preparing to unpack .../fwupd_1.7.9-1~22.04.3_amd64.deb ...
  Unpacking fwupd (1.7.9-1~22.04.3) ...
  Selecting previously unselected package fwupd-signed.
  Preparing to unpack .../fwupd-signed_1.51.1~22.04.1+1.4-0ubuntu0.1_amd64.deb ...
  Unpacking fwupd-signed (1.51.1~22.04.1+1.4-0ubuntu0.1) ...
  Setting up libfwupd2:amd64 (1.7.9-1~22.04.3) ...
  Setting up fwupd-signed (1.51.1~22.04.1+1.4-0ubuntu0.1) ...
  Setting up libfwupdplugin5:amd64 (1.7.9-1~22.04.3) ...
  Setting up fwupd (1.7.9-1~22.04.3) ...
  fwupd-offline-update.service is a disabled or a static unit, not starting it.
  fwupd-refresh.service is a disabled or a static unit, not starting it.
  fwupd-refresh.timer is a disabled or a static unit, not starting it.
  fwupd.service is a disabled or a static unit, not starting it.
  Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
  Processing triggers for man-db (2.10.2-1) ...
  Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
  Processing triggers for hicolor-icon-theme (0.17-2) ...

  fwupd packages are now installed:
  root at jwlandon-ThinkPad-E14-Gen-2:~# apt list --installed 2> /dev/null |grep fwupd
  fwupd-signed/jammy-updates,now 1.51.1~22.04.1+1.4-0ubuntu0.1 amd64 [installed,automatic]
  fwupd/jammy-updates,now 1.7.9-1~22.04.3 amd64 [installed]
  libfwupd2/jammy-updates,now 1.7.9-1~22.04.3 amd64 [installed,automatic]
  libfwupdplugin5/jammy-updates,now 1.7.9-1~22.04.3 amd64 [installed,automatic]

  Service is unable to start:
  root at jwlandon-ThinkPad-E14-Gen-2:~# systemctl start fwupd
  Job for fwupd.service failed because the control process exited with error code.
  See "systemctl status fwupd.service" and "journalctl -xeu fwupd.service" for details.

  Service complains about a library to daemon sw version mismatch:
  root at jwlandon-ThinkPad-E14-Gen-2:~# systemctl status fwupd
  × fwupd.service - Firmware update daemon
       Loaded: loaded (/lib/systemd/system/fwupd.service; static)
       Active: failed (Result: exit-code) since Tue 2023-12-19 21:36:46 PST; 20s ago
         Docs: https://fwupd.org/
      Process: 9985 ExecStart=/usr/libexec/fwupd/fwupd (code=exited, status=1/FAILURE)
     Main PID: 9985 (code=exited, status=1/FAILURE)
          CPU: 59ms

  Dec 19 21:36:46 jwlandon-ThinkPad-E14-Gen-2 systemd[1]: Starting Firmware update daemon...
  Dec 19 21:36:46 jwlandon-ThinkPad-E14-Gen-2 fwupd[9985]: Failed to load engine: libfwupd version 1.9.4 does not match daemon 1.7.9
  Dec 19 21:36:46 jwlandon-ThinkPad-E14-Gen-2 systemd[1]: fwupd.service: Main process exited, code=exited, status=1/FAILURE
  Dec 19 21:36:46 jwlandon-ThinkPad-E14-Gen-2 systemd[1]: fwupd.service: Failed with result 'exit-code'.
  Dec 19 21:36:46 jwlandon-ThinkPad-E14-Gen-2 systemd[1]: Failed to start Firmware update daemon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/2046992/+subscriptions




More information about the foundations-bugs mailing list