Summary: | Request support at repro.config dosent work | ||
---|---|---|---|
Product: | Portage Development | Reporter: | alfred <haas206> |
Component: | Core - Configuration | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | grknight |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
alfred
2019-05-01 13:01:49 UTC
(In reply to alfred from comment #0) > !!! Error while reading repo config file: File contains no section headers. > file: '/etc/portage/repos.conf/repo.conf', line: 12 > 'REPOS_CONF="SYSCONFDIR/portage/repos.conf"\n' > > # configuration for eselect-repo > # (sourced by bash, so keep the values bash-compatible) You are, or some process is, copying /etc/eselect/repository.conf to /etc/portage/repos.conf/repo.conf. Don't do that. It is not valid. They use different syntax so as i got it no its not possible to config in this way i to lock for a noter way to config repos.conf Is eselect-repository not good enough for some reason? I've just tried it for the first time, and it seems to work reasonably well:
> # eselect repository list | head
> Available repositories:
> [1] 0bs1d1an
> [2] 0x4d4c
> [3] 4nykey
> [4] abendbrot
> [5] ace
> [6] activehome
> [7] ago
> [8] ag-ops
> [9] ahyangyi-overlay
>
> # eselect repository enable 0bs1d1an
> Adding 0bs1d1an to /etc/portage/repos.conf/eselect-repo.conf ...
> 1 repositories enabled
> # cat /etc/portage/repos.conf/eselect-repo.conf
> # created by eselect-repo
>
> [0bs1d1an]
> location = /var/db/repos/0bs1d1an
> sync-type = git
> sync-uri = https://github.com/gentoo-mirror/0bs1d1an.git
> # eselect repository disable 0bs1d1an
> Updating repos.conf ...
> 1 repositories disabled
> # cat /etc/portage/repos.conf/eselect-repo.conf
> # created by eselect-repo
Iwas to fixed to solve it that i dint think befor sorry and thanks for the help at this case actually i do not know a lot what is in this info. If you know how or why /etc/eselect/repository.conf got copied to /etc/portage/repos.conf/repo.conf, then please let us know. Hello thanks for your solution but I'm not quite sure how you come to this because the main problem is that there is no header in the programming I think I should try an older compiler because this example, I believe it will be a bit older what I did not think about it but I needed some distance from the whole I'll let you know if I solve it. I should say that I'm not very familiar with programming actually any plan of it. Oh yes I am not sure if the example is displayed correctly. Since I have seen it on the phone now and the rhombus signs are no longer in the right place. And i would need some structure Info. http://wiki.gentoo.org/wiki/Eselect/Repository |