View previous topic :: View next topic |
Author |
Message |
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 529
|
Posted: Tue Jul 23, 2024 6:53 am Post subject: [solved] Why I aren't I getting binaries? |
|
|
Hi folks
I'm trying to understand why I'm not getting binary packages when I do `emerge`, even when binaries seem to exist in the Gentoo binary repository, and I've set my system up (I think) to use them.
For example, I tried:
Code: | emerge --getbinpkgonly --ask media-video/ffmpeg
|
and was told
Code: | emerge: there are no binary packages to satisfy "media-video/ffmpeg" | .
I believe everything is set up for binary packages and, in fact, some things do get installed as binaries. But the really huge packages don't.
I looked in (what I take to be) the Gentoo binhost mirror that I'm set up to use:
Code: | https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64/media-video/ffmpeg/ |
and I see a bunch of files with names like:
Code: | ffmpeg-6.1.1-r8-3.gpkg.tar |
I have the .ebuild file that (I think) matches this version:
Code: | /var/db/repos/gentoo/media-video/ffmpeg/ffmpeg-6.1.1-r8.ebuild |
If I don't use `--getbinpkgonly` then `emerge` builds from source.
How can I figure out why `emerge` won't install the binary?
BR, Lars.
Last edited by lars_the_bear on Tue Jul 23, 2024 10:51 am; edited 1 time in total |
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 529
|
Posted: Tue Jul 23, 2024 7:50 am Post subject: |
|
|
OK, I've figured it out. I have two files in `/etc/portage/binrepos.conf` -- one for the official Gentoo binhost, and one for my private binhost. But it seems that Portage will only use one at a time. At least, that's what I see when I run `emerge --info`. In order to use the official Gentoo binhost, I have to remove the configuration for my own.
Is this expected behaviour? How can I use multiple binhosts?
BR, Lars. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2734 Location: Here and Away Again
|
Posted: Tue Jul 23, 2024 8:36 am Post subject: |
|
|
How exactly are the repositories defined?
Per 'man portage':
Code: | priority
Specifies priority of given repository. When a package exists in multiple repositories, those with higher priority are preferred. |
_________________ Kindest of regardses. |
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 529
|
Posted: Tue Jul 23, 2024 8:56 am Post subject: |
|
|
Chiitoo wrote: | How exactly are the repositories defined?
|
OK, I've figured it out. When I set this up, I copied the Gentoo binhost definition in the documentation twice -- once for the Gentoo binhost and once again for my own. I used the name `[gentoobinhost]` for both. So the one that was read last was the one that got used.
I didn't know that 'gentoobinhost' was the name of something -- I thought it was just a section key, like we had in Windows .ini files. To be fair, having re-read the documentation more thoroughly, I can see that the thing in the brackets is a name. I just didn't spot this the first time around.
I still can't install the binary, because I have `USE=-pulseaudio`. But at least I understand why.
BR, Lars. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|