TLDR: 를 설치하고 fwupd
, 업데이트를 확인하고, 업데이트를 설치하라고 지시한 다음 재부팅합니다. 그런 다음 업데이트를 확인하면 아직 설치되지 않은 것처럼 동일한 업데이트가 모두 다시 표시됩니다.
저는 Lenovo Thinkpad X1 Carbon 4세대에서 Debian 10 Buster x64를 실행하고 있습니다. 아마도 관련이 없을 것 같지만 모델 번호는 20FBCTO1WW입니다. fwupd
펌웨어 업데이트를 설치하는 데 사용하려고 합니다 . 설치하고 서비스를 시작합니다.
sudo apt-get install fwupd
sudo service fwupd start
업데이트가 있는 모든 장치를 나열합니다.
root@london:~# fwupdmgr get-devices
20FBCTO1WW System Firmware
DeviceId: c66f3753f0a35b3874d65546d4b7b10896d44ce2
Guid: 81cba30b-c2d4-4e66-bcf3-69d81ba890b0
Plugin: uefi
Flags: internal|updatable|require-ac|supported|registered|needs-reboot
Version: 0.1.8
VersionLowest: 0.1.8
Icon: computer
Created: 2020-01-25
UEFI Device Firmware
DeviceId: 6f92d954409bb3c145828fbbc0346c3ca12f2a9a
Guid: cb3c1682-5386-4591-bd29-7c1f441b7ccb
Plugin: uefi
Flags: internal|updatable|require-ac|supported|registered|needs-reboot
Version: 176.0.1202
VersionLowest: 176.0.1202
Icon: audio-card
Created: 2020-01-25
SAMSUNG MZVKV512HAJH-000L1
DeviceId: 310f45f1f223064b5c16bf6dff31146755a64480
Guid: cce2386f-6d68-5f85-9f3f-ebead9288696 <- NVME\VEN_144D&DEV_A802&REV_01
Guid: 77bb4022-9503-586c-99b7-c8a64502da30 <- NVME\VEN_144D&DEV_A802
Guid: 8fd4ca73-d0ae-52e8-8977-461435c6f4cf <- NVME\VEN_144D
Guid: e339432d-beab-53b2-9a9f-e0787a1ecb8b <- SAMSUNG MZVKV512HAJH-000L1
Serial: bla
Summary: NVM Express Solid State Drive
Plugin: nvme
Flags: internal|updatable|require-ac|registered|needs-reboot
Vendor: Samsung Electronics Co Ltd
VendorId: NVME:0x144D
Version: 6L0QBXX7
Icon: drive-harddisk
Created: 2020-01-25
모든 업데이트를 나열하면 꽤 많은 내용이 표시됩니다(공간을 절약하기 위해 이를 생략했습니다).
root@london:~# fwupdmgr refresh
Fetching metadata https://cdn.fwupd.org/downloads/firmware.xml.gz
Downloading… [***************************************]
Fetching signature https://cdn.fwupd.org/downloads/firmware.xml.gz.asc
root@london:~# fwupdmgr get-updates
20FBCTO1WW System Firmware has firmware updates:
GUID: 81cba30b-c2d4-4e66-bcf3-69d81ba890b0
ID: com.lenovo.ThinkPadN1FET.firmware
Update Version: 0.1.42
Update Name: ThinkPad X1 Carbon 4th / X1 Yoga 1st System Update
Update Summary: Lenovo ThinkPad X1 Carbon 4th / X1 Yoga 1st System Firmware
Update Remote ID: lvfs
Update Checksum: SHA1(efb007a2bda94c96d60c349a6f24cc80d51d7322)
Update Location: https://fwupd.org/downloads/a06bbb48aa46c90497459ac6e98157f2acfe1778-Lenovo-ThinkPad-X1Carbon4th-X1Yoga1st-SystemFirmware-1.42.cab
Update Description: Lenovo ThinkPad X1 Carbon 4th / X1 Yoga 1st System Firmware Version 1.42
업데이트를 실행합니다.
root@london:~# fwupdmgr update -v
Downloading 0.1.42 for 20FBCTO1WW System Firmware...
(fwupdmgr:2813): FuCommon-DEBUG: 09:11:45.120: creating path /root/.cache/fwupd
(fwupdmgr:2813): FuMain-DEBUG: 09:11:45.132: skpping download as file already exists
(fwupdmgr:2813): Fwupd-DEBUG: 09:11:45.134: Emitting ::status-changed() [decompressing]
Decompressing… [- ](fwupdmgr:2813): Fwupd-DEBUG: 09:11:45.162: Emitting ::status-changed() [idle]
Decompressing… [***************************************]
(fwupdmgr:2813): Fwupd-DEBUG: 09:11:45.162: Emitting ::status-changed() [waiting-for-auth]
Authenticating… [ - ](fwupdmgr:2813): Fwupd-DEBUG: 09:11:45.162: Emitting ::status-changed() [idle]
Authenticating… [***************************************]
Could not check for auth: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
루트로 실행하고 있기 때문에 승인을 기다리는 동안 오류가 발생하는 것을 이해할 수 없습니다. 다시 시작한 후에도 fwupdmgr
여전히 "업데이트 기록 없음"이라고 표시됩니다. .cab 펌웨어 파일을 직접 설치해도 여전히 업데이트되지 않는 것 같습니다.
fwupdmgr install --allow-reinstall /root/.cache/fwupd/a06bbb48aa46c90497459ac6e98157f2acfe1778-Lenovo-ThinkPad-X1Carbon4th-X1Yoga1st-SystemFirmware-1.42.cab
내가 뭘 잘못했나요?
답변1
관련 오류는 마지막 줄입니다.
Could not check for auth: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
이 파일을 제공하는 패키지를 설치하십시오 org.freedesktop.PolicyKit1
.
sudo apt-get install policykit-1
다른 모든 항목 fwupd
이 올바르게 구성되었다고 가정하면 업데이트가 실행되어야 합니다.