Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791835 - =sys-apps/fwupd-1.6.0-r1 fails to update UEFI
Summary: =sys-apps/fwupd-1.6.0-r1 fails to update UEFI
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-24 14:15 UTC by vltg0903
Modified: 2021-06-15 23:05 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vltg0903 2021-05-24 14:15:54 UTC
Hi, I just ran into an UEFI update error with the latest fwupd on my Thinkpad X1 Carbon (6th gen). It picks up the latest System Firmware version (1.5.1), but after downloading 'fwupd update' fails with:

"(null)/fwupdx64.efi cannot be found"

After downgrade to stable the update installed no problem.

My USE flags:
USE="amt bluetooth elogind flashrom gnutls nvme (policykit) synaptics thunderbolt tpm uefi -agent -archive -dell -gtk-doc -gusb -introspection -lzma% -man -minimal -spi% -systemd -test" PYTHON_SINGLE_TARGET="python3_9 -python3_10% -python3_7 -python3_8"


Reproducible: Always
Comment 1 ??? 2021-05-25 18:16:14 UTC
I think fixing this requires both the new fwupd-efi package (see here https://bugs.gentoo.org/791307) and a backport of this patch:

https://github.com/fwupd/fwupd/commit/197d3dc3b9acb93be30c4a7f49e8c0ad3f554818

See here for some more information: https://github.com/fwupd/fwupd/issues/3228#issuecomment-848072757
Comment 2 Larry the Git Cow gentoo-dev 2021-06-15 14:59:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93594f0073886e65d2b79090b30ff2832a63e8c1

commit 93594f0073886e65d2b79090b30ff2832a63e8c1
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-06-15 14:59:35 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-06-15 14:59:35 +0000

    profiles: [QA] mask broken sys-apps/fwupd-1.6.x bump
    
    Missing a critical dependency.
    
    Bug: https://bugs.gentoo.org/791835
    Bug: https://bugs.gentoo.org/791307
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2021-06-15 23:04:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d95d516e48537e65b8322c38ae147170884e32

commit 46d95d516e48537e65b8322c38ae147170884e32
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-06-15 22:54:25 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-06-15 22:54:25 +0000

    profiles: unmask sys-apps/fwupd
    
    Problem has been resolved in >=sys-apps/fwupd-1.6.1-r1.
    
    Closes: https://bugs.gentoo.org/791835
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 profiles/package.mask | 6 ------
 1 file changed, 6 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a982662f154a3e128f5e9d661bf3f84ba3bd4a30

commit a982662f154a3e128f5e9d661bf3f84ba3bd4a30
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-06-15 22:42:36 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-06-15 22:53:45 +0000

    sys-apps/fwupd: pull in sys-apps/fwupd-efi
    
    Closes: https://bugs.gentoo.org/791835
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-apps/fwupd/Manifest                            |   1 -
 sys-apps/fwupd/files/fwupd-1.6.0-gusb_deps.patch   |  53 -------
 sys-apps/fwupd/fwupd-1.6.0-r1.ebuild               | 171 ---------------------
 .../{fwupd-1.6.1.ebuild => fwupd-1.6.1-r1.ebuild}  |   2 +-
 4 files changed, 1 insertion(+), 226 deletions(-)