While upgrading the package today I realized that of the older version one directory till remains :
tfoerste@n22 ~ $ ls -ld /usr/share/binutils-data/i686-pc-linux-gnu/*/info/dir
-rw-r--r-- 1 root root 1908 Nov 23 2005 /usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info/dir
-rw-r--r-- 1 root root 1908 Jun 25 2007 /usr/share/binutils-data/i686-pc-linux-gnu/2.17/info/dir
-rw-r--r-- 1 root root 1991 Jan 28 09:01 /usr/share/binutils-data/i686-pc-linux-gnu/2.18/info/dir
-rw-r--r-- 1 root root 2884 Jun 8 17:25 /usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/info/dir
can you please run `equery belongs ...` or `qfile ...` on these files and post the output, maybe they belong to some other ...
I can confirm this with /usr/share/binutils-data/x86_64-pc-linux-gnu/2.20/info/dir etc. And they don't belong to anything.
This gives nothing :
tfoerste@n22 ~ $ ls /usr/share/binutils-data/i686-pc-linux-gnu/*/info/dir | xargs -n 1 qfile
althought at least this is installed:
tfoerste@n22 ~ $ equery l binutils
* Searching for binutils ...
[IP-] [ ] sys-devel/binutils-2.20.1-r1:0
binutils has nothing to do with the creation/management of that file
*** Bug 377153 has been marked as a duplicate of this bug. ***
The INFOPATH settings come from /etc/env.d/05bintils, which is probably generated by binutils-config. When we're unmerging directories, we can check if they are in INFOPATH and if the "dir" file is the only remaining contents, and in that case we can remove it so that the parent will be unmerged.
This is fixed in git:
i'm not sure about that. sounds a bit sketchy. since binutils-config already has an --uninstall option to clean up the stuff it generated, seems like it'd make sense to just add this to the list.
I've made it tread any directory named "info" as a candidate:
that i can live with ;)
This is fixed in 22.214.171.124 and 2.2.0_alpha51.