View previous topic :: View next topic |
Author |
Message |
mortonP Tux's lil' helper
Joined: 22 Dec 2015 Posts: 84
|
Posted: Thu Jul 22, 2021 6:53 pm Post subject: sys-apps/fwupd minimal build |
|
|
So I have this headless minimal box with a Samsung SSD and I want to update the firmware on that.
OK, fwupd should support that, I already did that once some time ago.
Code: | emerge -av sys-apps/fwupd
The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( elogind minimal systemd )
|
No systemd here.
Also no elogind.
So minimal appears to be the right choice:
Code: | equery u fwupd
* Found these USE flags for sys-apps/fwupd-1.5.9-r1:
+ - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
|
let's try again:
Code: | emerge -av sys-apps/fwupd
Calculating dependencies... done!
[ebuild N ] sys-apps/fwupd-1.5.9-r1::gentoo USE="man minimal -agent -amt -archive -bluetooth -dell -elogind -flashrom -gnutls -gtk-doc -gusb -introspection -nvme -policykit -synaptics -systemd -test -thunderbolt -tpm -uefi" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 3.626 KiB
[nomerge ] x11-libs/pango-1.48.7::gentoo USE="introspection -X -gtk-doc -sysprof -test" ABI_X86="(64) -32 (-x32)"
[nomerge ] media-libs/fontconfig-2.13.1-r2:1.0::gentoo USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild N ] app-eselect/eselect-fontconfig-1.1-r1::gentoo 2 KiB
[ebuild N ] x11-libs/pango-1.48.7::gentoo USE="introspection -X -gtk-doc -sysprof -test" ABI_X86="(64) -32 (-x32)" 2.003 KiB
[ebuild N ] media-libs/fontconfig-2.13.1-r2:1.0::gentoo USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 1.684 KiB
[ebuild N ] dev-python/pygobject-3.40.1-r1:3::gentoo USE="cairo -examples -test" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 544 KiB
[nomerge ] x11-libs/pango-1.48.7::gentoo USE="introspection -X -gtk-doc -sysprof -test" ABI_X86="(64) -32 (-x32)"
[ebuild N ] media-libs/harfbuzz-2.8.1:0/0.9.18::gentoo USE="cairo glib graphite introspection truetype -debug -doc -icu -static-libs -test" ABI_X86="(64) -32 (-x32)" 17.520 KiB
[nomerge ] sys-apps/fwupd-1.5.9-r1::gentoo USE="man minimal -agent -amt -archive -bluetooth -dell -elogind -flashrom -gnutls -gtk-doc -gusb -introspection -nvme -policykit -synaptics -systemd -test -thunderbolt -tpm -uefi" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
[ebuild N ] dev-python/pycairo-1.20.1::gentoo USE="-doc -examples -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 337 KiB
[ebuild N ] x11-libs/cairo-1.16.0-r4::gentoo USE="glib svg -X (-aqua) -debug (-gles2-only) -opengl -static-libs -utils -valgrind" ABI_X86="(64) -32 (-x32)" 41.014 KiB
[ebuild N ] media-libs/freetype-2.10.4:2::gentoo USE="adobe-cff bzip2 cleartype_hinting harfbuzz png -X -bindist -brotli -debug -doc -fontforge (-infinality) -static-libs -utils" ABI_X86="(64) -32 (-x32)" 0 KiB
Total: 9 packages (9 new), Size of downloads: 66.726 KiB
* Error: circular dependencies:
(media-libs/harfbuzz-2.8.1:0/0.9.18::gentoo, ebuild scheduled for merge) depends on
(media-libs/freetype-2.10.4:2/2::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
(media-libs/harfbuzz-2.8.1:0/0.9.18::gentoo, ebuild scheduled for merge) (buildtime)
|
??? ...the minimal flag is not working?
Any ideas? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Thu Jul 22, 2021 7:11 pm Post subject: |
|
|
According to fwupd ebuild minimal means
Code: |
minimal? ( !introspection )
|
All other deps are intact. _________________
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Thu Jul 22, 2021 7:34 pm Post subject: |
|
|
For circular dependency see this post. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
mortonP Tux's lil' helper
Joined: 22 Dec 2015 Posts: 84
|
Posted: Thu Jul 22, 2021 8:32 pm Post subject: |
|
|
alamahant wrote: | According to fwupd ebuild minimal means
Code: |
minimal? ( !introspection )
|
All other deps are intact. |
So, what you are saying is the use flag description is wrong and I should file a bug? |
|
Back to top |
|
|
mortonP Tux's lil' helper
Joined: 22 Dec 2015 Posts: 84
|
Posted: Thu Jul 22, 2021 8:34 pm Post subject: |
|
|
fedeliallalinea wrote: | For circular dependency see this post. |
I saw that - but the font thingies should not be pulled in anyway, so I shouldn't even get to this circular problem? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Thu Jul 22, 2021 9:18 pm Post subject: |
|
|
Try
Code: |
USE="-man minimal" emerge -1av fwupd
|
Does it still pull fonts?
Does it really matter to you if it will pull some fonts? _________________
|
|
Back to top |
|
|
mortonP Tux's lil' helper
Joined: 22 Dec 2015 Posts: 84
|
Posted: Thu Jul 22, 2021 9:30 pm Post subject: |
|
|
alamahant wrote: | Try
Code: |
USE="-man minimal" emerge -1av fwupd
|
Does it still pull fonts?
Does it really matter to you if it will pull some fonts? |
No change.
Well, it's a minimal headless system and extra packages are extra packages :-)
(But yes, I could remove them after the update again... hmm...)
And it does not make sense for a CLI tool to install fonts packages?
Meanwhile I think Samsung SSD are not generally supported yet, only a few select. I do faintly remember doing a Samsung SSD upgrade on a Thinkpad but I'm no longer so sure.... :-/ |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Thu Jul 22, 2021 9:34 pm Post subject: |
|
|
As a test plz try
Code: |
USE="minimal" emerge -pva fwupd
USE="elogind" emerge -pva fwupd
|
and you might see if "minimal" works in any meaninful way or no...
Also "dell" and "uefi" will pull fonts according to the ebuild but yours are switched off...
Strange..... _________________
|
|
Back to top |
|
|
mortonP Tux's lil' helper
Joined: 22 Dec 2015 Posts: 84
|
Posted: Thu Jul 22, 2021 9:46 pm Post subject: |
|
|
alamahant wrote: | As a test plz try
....
and you might see if "minimal" works in any meaninful way or no...
|
Nope, both pull in the extra packages.
Meanwhile I found a workaround how to unpack the iso image and manually extract and run the updater: https://blog.quindorian.org/2021/05/firmware-update-samsung-ssd-in-linux.html/
...and it worked! :-) |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21602
|
Posted: Thu Jul 22, 2021 9:59 pm Post subject: |
|
|
USE=minimal seems to work fine. USE=minimal does not mean no dependencies, only that dependencies are avoided where possible. In this case, if you look at the ebuild, you see that fwupd has a hard DEPEND on pango[introspection]. Pango has an RDEPEND on harfbuzz, and thus you hit this problem.
I cannot say whether it is right that fwupd has a hard DEPEND on pango, but as the tree stands today, it has that. As long as that is there, you will need harfbuzz. You could disable USE=truetype to make harfbuzz not need freetype. |
|
Back to top |
|
|
mortonP Tux's lil' helper
Joined: 22 Dec 2015 Posts: 84
|
Posted: Thu Jul 22, 2021 10:11 pm Post subject: |
|
|
Thank you for confirmation and your time investigating this!
If someone stumbles over this also - the search function will find it :-) |
|
Back to top |
|
|
|