fwupd / fwupd

A system daemon to allow session software to update firmware
GNU Lesser General Public License v2.1
2.81k stars 426 forks source link

Meta-error: tool to diagnose error is, on a snap version of fwup, at the wrong path #1885

Closed LinuxOnTheDesktop closed 4 years ago

LinuxOnTheDesktop commented 4 years ago
~ $ fwupdmgr refresh
Fetching metadata https://cdn.fwupd.org/downloads/firmware.xml.gz
Downloading…             [***************************************]
Fetching signature https://cdn.fwupd.org/downloads/firmware.xml.gz.asc

Successfully downloaded new metadata: 6 local devices supported
~ $ fwupdmgr get-updates
• Thunderbolt Controller has the latest available firmware version
• LENSE20512GMSP34MEAT2TA has the latest available firmware version
• UEFI Device Firmware has the latest available firmware version
• UEFI Device Firmware has the latest available firmware version
• UEFI Device Firmware has no available firmware updates
• Unifying Receiver has the latest available firmware version
20KHCTO1WW
│
└─System Firmware:
  │   Device ID:           1c53551e7da69d896138fac1ae131c83ad46d923
  │   Current version:     0.1.45
  │   Minimum Version:     0.0.1
  │   Vendor:              LENOVO (DMI:LENOVO)
  │   Update Error:        TPM PCR0 differs from reconstruction, please see https://github.com/fwupd/fwupd/wiki/TPM-PCR0-differs-from-reconstruction
  │   GUID:                a4b51dca-8f97-4310-8821-3330f83c9135
  │   Device Flags:        • Internal device
  │                        • Updatable
  │                        • Requires AC power
  │                        • Supported on remote server
  │                        • Needs a reboot after installation
  │                        • Cryptographic hash verification is available
  │                        • Device is usable for the duration of the update
  │ 
  └─ThinkPad X1 Carbon 6th System Update:
        New version:       0.1.46
        Remote ID:         lvfs
        Summary:           Lenovo ThinkPad X1 Carbon 6th System Firmware
        License:           Proprietary
        Size:              9.5 MB
        Vendor:            Lenovo Ltd.
        Flags:             is-upgrade
        Description:       Lenovo ThinkPad X1 Carbon 6th System Firmware

        Version 1.46

        The computer will be restarted automatically after updating BIOS completely. Do NOT turn off your computer or remove the AC adaptor while update is in progress.

        This stable release fixes the following issues:

         • Update includes a security fix.

Successfully uploaded 1 report
~ $ fwupdmgr --version
client version: 1.3.9
compile-time dependency versions
    gusb:   0.2.11
    efivar: 34
daemon version: 1.3.9
~ $ fwupdmgr --version
client version: 1.3.9
compile-time dependency versions
    gusb:   0.2.11
    efivar: 34
daemon version: 1.3.9
~ $ su
Password: 
# /usr/bin/fwupdtpmevlog
bash: /usr/bin/fwupdtpmevlog: No such file or directory
# /usr/libexec/fwupd/fwupdtpmevlog
bash: /usr/libexec/fwupd/fwupdtpmevlog: No such file or directory
# /snap/fwupd/1704/bin/fwupdtpmevlog # I have that same file also at: /snap/fwupd/1501/libexec/fwupd/fwupdtpmevlog

I have filed the rest of the output at https://github.com/fwupd/fwupd/issues/1886.

I am using the snap vesion of fwupd.

superm1 commented 4 years ago

Two problems; I think the wiki needs to be updated to reference the snap path to this, and also the snap is installing it in the wrong place currently.