Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 702154

Summary: >=sys-apps/portage-2.3.80: "emerge -pf ..." and "emerge -pF ..." try to fetch layout.conf
Product: Portage Development Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: jaak, madombroski, sur3
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=629048
https://bugs.gentoo.org/show_bug.cgi?id=924287
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 377365    
Attachments: emerge_-pf_bash.txt

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-12-06 11:21:23 UTC
Created attachment 598624 [details]
emerge_-pf_bash.txt

See attachment which shows an example with "emerge -pf bash". Same happens with -pF switch combination.
Comment 1 Mike Gilbert gentoo-dev 2019-12-06 15:57:21 UTC
Portage needs information from layout.conf to output the correct URI format depending on how GENTOO_MIRRORS is set.

I think the only alternative would be to emit an error.
Comment 2 Zac Medico gentoo-dev 2019-12-06 18:35:26 UTC
For pretend mode we could increase the TTL of the layout.conf cache.
Comment 3 Michael Dombroski 2020-01-23 23:05:57 UTC
The -pf switch combination worked fine with sys-apps/portage-2.3.69:0.
Fails as described with sys-apps/portage-2.3.79:0 and sys-apps/portage-2.3.84-r1:0.
Comment 4 Zac Medico gentoo-dev 2020-06-12 18:58:13 UTC
*** Bug 722982 has been marked as a duplicate of this bug. ***
Comment 5 Simon 2020-11-09 18:54:51 UTC
This is really annoying as I have a computer not on the Internet on purpose and I need emerge to produce a list of URI, so I can provide the needed distfiles for that computer, but since this layout.conf is needed I get a lot of error messages of not being able to download layout.conf instead of just a list or URI to be downloaded..