| Summary: | bash completion outputs annoying messages after disabling an overlay | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Zhichu Chen <zhichuchen> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | jstein, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=730624 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Zhichu Chen
2020-05-11 03:36:15 UTC
I do not understand this ticket please get support on [1-4] and reopen the ticket if you found out which package is broken. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://forums.gentoo.org/ [3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html [4] https://www.gentoo.org/support/ it's debatable which package is broken, but I'll submit the following facts: app-shells/bash-completion-2.10::gentoo defines _parsereposconf which contains this line: for f in /usr/share/portage/config/repos.conf /etc/portage/repos.conf /etc/portage/repos.conf/*; and app-eselect/eselect-repository-7::gentoo creates /etc/portage/repos.conf/eselect-repo.conf~ when 'eselect repository remove reponame' is run. /etc/portage/repos.conf/* includes /etc/portage/repos.conf/eselect-repo.conf~ which now contains a reference to a removed repository, which spits sadness to the screen, as described in the original report. is it a bug in bash-completion for being too loose in what kinds of files it looks at? is there a definition of what file names are eligible to be read from repos.conf? is it a bug in eselect-repository or one of its friends that the backup gets made at all? hopefully someone can re-examine the report. trivially reproduced, nothing specific to this repo, just used for example: 1) eselect repository enable guru 2) eselect repository disable guru 3) emerge -pvO [tab] actual results: bash: cd: /var/db/repos/guru: No such file or directory workaround: rm /etc/portage/repos.conf/eselect-repo.conf~ |