Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error fetching binhost package info
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
eklebanow
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2019
Posts: 104

PostPosted: Sun Apr 07, 2024 4:57 am    Post subject: error fetching binhost package info Reply with quote

I just upgrade to profile 23

I set binrepos.conf in /etc/portage as follows:
Code:
[binhost]
priority = 9999
sync-uri = https://amd64/binpackages/23.0/x86-64-v3


when I go to update via emerge
Code:
emerge --ask --update --newuse --deep --changed-use --getbinpkg @world
I get following error:
Code:
!!! Error fetching binhost package info from 'https://amd64/binpackages/23.0/x86-64-v3'
!!! <urlopen [Errno -2] Name or service not known>


Why am I getting this error?
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1550

PostPosted: Sun Apr 07, 2024 5:22 am    Post subject: Reply with quote

Code:
sync-uri = https://amd64/binpackages/23.0/x86-64-v3


This is a bogus URL. Go on the wiki page and find the correct one.

Best Regards,
Georgi
Back to top
View user's profile Send private message
amair
n00b
n00b


Joined: 12 Aug 2003
Posts: 61

PostPosted: Sun Apr 07, 2024 5:24 am    Post subject: Reply with quote

Your sync-uri is not valid. You need a server address.

You'd better read https://wiki.gentoo.org/wiki/Binary_package_quickstart and https://www.gentoo.org/downloads/mirrors/, where you can find a valid sync-uri.
Back to top
View user's profile Send private message
eklebanow
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2019
Posts: 104

PostPosted: Sun Apr 07, 2024 1:47 pm    Post subject: Reply with quote

I got the URI bin host directory from here
Are these not valid URI?

https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_table
Back to top
View user's profile Send private message
eschwartz
n00b
n00b


Joined: 29 Oct 2023
Posts: 17

PostPosted: Sun Apr 07, 2024 2:16 pm    Post subject: Reply with quote

eklebanow wrote:
I got the URI bin host directory from here
Are these not valid URI?

https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_table


Directories are not urls, no.

They are the second half of an url, yes. The assumption is if you're using that table and need to *switch* from a 17.1 binhost to a 23.0 binhost, you already have an url and just need to edit the second half of the url to point to the right location on the binhost.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1550

PostPosted: Sun Apr 07, 2024 2:38 pm    Post subject: Reply with quote

eklebanow wrote:
I got the URI bin host directory from here
Are these not valid URI?

https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_table


Unless you have a host in your local network that's accessible by the name amd64 through some name resolution mechanism, which provides a resource for the binpackages/23.0/x86-64-v3 path through https, no it's not a valid URL.

Plus this is not the URL of the binhost repo, it's the path under which the repo is served.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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