«If make.conf is a directory, then all the files in that directory will be sorted in lexical order by file name and summed together as if it were a single file.» - https://devmanual.gentoo.org/eclass-reference/make.conf/index.html # mirrorselect -s 1 * Using url: https://api.gentoo.org/mirrors/distfiles.xml * Downloading a list of mirrors... Got 196 mirrors. * Using netselect to choose the top 1 mirrors...Done. * Modifying /etc/portage/make.conf with new mirrors... Writing new /etc/portage/make.conf Traceback (most recent call last): File "/usr/lib/python-exec/python3.8/mirrorselect", line 61, in <module> MirrorSelect().main(sys.argv) File "/usr/lib/python3.8/site-packages/mirrorselect/main.py", line 383, in main self.change_config(fsmirrors + urls, options.output, File "/usr/lib/python3.8/site-packages/mirrorselect/main.py", line 122, in change_config write_make_conf(self.output, config_path, var, mirror_string) File "/usr/lib/python3.8/site-packages/mirrorselect/configs.py", line 111, in write_make_conf config = open(config_path, 'w') IsADirectoryError: [Errno 21] Is a directory: '/etc/portage/make.conf' I need this to have several GENTOO_MIRRORS lines - one per overlay, like this: GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/" GENTOO_MIRRORS="${GENTOO_MIRRORS} mirror://einflay"
see also https://bugs.gentoo.org/790506
Please give a list of files in your make.conf directory and which file contains the GENTOO_MIRRORS variable.