Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730624 - app-shells/gentoo-bashcomp-20190211 : skip the ~ ending files (backup file) in /etc/portage/repos.conf
Summary: app-shells/gentoo-bashcomp-20190211 : skip the ~ ending files (backup file) i...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools Herd Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-03 19:03 UTC by Marco Genasci
Modified: 2021-07-10 02:45 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Genasci 2020-07-03 19:03:43 UTC
New gentoo-bashcomp version loop all files in /etc/portage/repos.conf (old version only *.conf files).
This is a good thing but can be skip backup file (~ ending file)? This can cause an issue, see [1]
A solution is list files ending with a character with '/etc/portage/repos.conf/*[a-zA-Z]'.

[1] https://forums.gentoo.org/viewtopic-t-1115760.html

Reproducible: Always
Comment 1 James Beddek 2020-07-09 09:41:54 UTC
Removing the backup file also solved this issue for me, thanks.

Reference: https://forums.gentoo.org/viewtopic-t-1115990.html
Comment 2 Till Schäfer 2020-07-15 11:26:39 UTC
This leads to completion errors in various tools after deleting a repo with eselect-repository. 

Example: 

$ equery uses <TAB> bash: cd: /var/db/repos/snapd: No such file or directory
bash: cd: /var/db/repos/snapd: No such file or directory