When using an overlay on a prefix with following settings prefix: alias = gentoo overlay: master = gentoo I can't run repoman because I get massive errors: alpha" doesn't have a valid profile listed in profiles.desc. You need to either "cvs update" your profiles dir or follow this up with the alpha team. "amd64" doesn't have a valid profile listed in profiles.desc. You need to either "cvs update" your profiles dir or follow this up with the amd64 team. "amd64-fbsd" doesn't have a valid profile listed in profiles.desc. You need to either "cvs update" your profiles dir or follow this up with the amd64-fbsd team. "amd64-linux" doesn't have a valid profile listed in profiles.desc. You need to either "cvs update" your profiles dir or follow this up with the amd64-linux team. and so on .... The only way to fix it is setting the overlay to "masters = gentoo gentoo_prefix" but this will annoy the regular users. But principally this should be working or am I wrong?
(In reply to Justin Lecher from comment #0) > But principally this should be working or am I wrong? It's not necessarily safe to for repoman to respect aliases, since that could lead to differing results depending on the user's local configuration, and the intention is for repoman to give reproducible results regardless of the user's configuration. I guess we can come up with some sort of compromise that will allow repoman to use aliases, but something like that probably should not be enabled by default, since we'd like to have the results be as reproducible as possible with default settings.
(In reply to Justin Lecher from comment #0) > The only way to fix it is setting the overlay to "masters = gentoo > gentoo_prefix" but this will annoy the regular users. If you omit the masters setting from layout.conf, then repoman will automatically use PORTDIR as the default master repo.
(In reply to Zac Medico from comment #2) > (In reply to Justin Lecher from comment #0) > > The only way to fix it is setting the overlay to "masters = gentoo > > gentoo_prefix" but this will annoy the regular users. > > If you omit the masters setting from layout.conf, then repoman will > automatically use PORTDIR as the default master repo. Okay that works. Thanks.
Fix: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commitdiff;h=4c4f95b81294b8ef7673938ce3e6c95f0d814dfc You should properly set force, aliases and masters attributes in /etc/portage/repos.conf.
This is fixed in 2.1.13 and 2.2.0_alpha189. Something like this in /etc/portage/repos.conf should do what you want: [gentoo_prefix] force = aliases