Code: Select all
type bash
bash is /usr/bin/bash
Code: Select all
equery b /usr/bin/bash
* Searching for /usr/bin/bash ...
Code: Select all
equery belongs /bin/bash
* Searching for /bin/bash ...
app-shells/bash-5.1_p16-r4 (/bin/bash)
Thanks!
Code: Select all
type bash
bash is /usr/bin/bash
Code: Select all
equery b /usr/bin/bash
* Searching for /usr/bin/bash ...
Code: Select all
equery belongs /bin/bash
* Searching for /bin/bash ...
app-shells/bash-5.1_p16-r4 (/bin/bash)

dreadnought wrote:*bump*
I see the exact same behavior after
- switching to default/linux/amd64/23.0/split-usr
- completing all steps from news item, finalizing with emerge --ask --emptytree @world
- running merge-usr
- switching to default/linux/amd64/23.0
I cannot say that's the problem, but you've messed the order. I'm not aware of a merge procedure for 23.Profile upgrade to version 23.0 available wrote:3. If you are currently using systemd in a split-usr configuration, then first
complete the migration to the corresponding merged-usr profile of the
same profile version.
However, this is an OpenRC profile (default/linux/amd64/23.0/split-usr) which #3 says:logrusx wrote:I cannot say that's the problem, but you've messed the order. I'm not aware of a merge procedure for 23.
Code: Select all
If you are currently using openrc, migrate to 23.0 first, keeping your disk
layout. If you want to move from split-usr to merged-usr, do that afterwards.
Code: Select all
# emerge -1 bash
# which bash
/usr/bin/bash
# equery b /usr/bin/bash
* Searching for /usr/bin/bash ...
# equery f bash
* Searching for bash ...
* Contents of app-shells/bash-5.1_p16-r6:
/bin
/bin/bash
On my systemd profile converted from split-usr back in the good old days of 17.1 profile and then updated to 23.0 and reemerged with --emptytree world it doesn't show anything for /usr/bin/bash but it does show app-shells/bash-... for /bin/bash.kilua wrote:Thanks grknight for your quick feedback. As a simple test, I have re-emerged the bash package. Still, I see no change, I mean, neither qfile nor emerge belongs are able to find /usr/bin/bash. Am I missing or misunderstanding something?
Actually it turns out this scenario does not work for me either. I believe this hasn't changed recently and I just haven't run into the situation previously.dreadnought wrote:regardless of the init system...
is there a way to fix equery belongs? re-emerging packages after merge-usr does not seem to fix the portage db path entries:Code: Select all
# emerge -1 bash # which bash /usr/bin/bash # equery b /usr/bin/bash * Searching for /usr/bin/bash ... # equery f bash * Searching for bash ... * Contents of app-shells/bash-5.1_p16-r6: /bin /bin/bash
Neither equery nor the portage db entries are broken, the bash ebuild explicitly only installs /bin/bash, not /usr/bin/bash:dreadnought wrote:regardless of the init system...
is there a way to fix equery belongs? re-emerging packages after merge-usr does not seem to fix the portage db path entries
Code: Select all
dodir /bin
mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
dosym bash /bin/rbash