cctsurf Tux's lil' helper
Joined: 12 Oct 2006 Posts: 123
|
Posted: Mon Mar 25, 2024 6:40 pm Post subject: Solved Profile 23 upgrade /usr/bin/env: 'bash': No such file |
|
|
I'm posting this because I got myself in a pretty big hole with the profile 23 upgrade. I found my way out of it, but maybe someone else gets down this hole and I can help them out.
So, I made a severe mistake. I didn't read the news message about the new profiles because I was on a local profile and didn't receive it. So, now I really fubared my computer.
I noted that people were talking about the new profiles on reddit and I was excited about the new profiles. So I decided to upgrade. I saw that people were having some difficulties, but having upgraded profiles repeatedly over the past 20 years, I didn't think much of it...my bad.
I recompiled the toolchain...no problem
then I did an emerge -eav system... and I had big problems.
It had to do with the split-usr vs. merged-usr aspect of the upgrade.
when I attempted to emerge anything, I get a couple of errors, one seems to have to do with not knowing where commands are located (ie. PORTAGE_BZIP2_COMMAND), I can overcome that by adding the location before the command...) but the following had me stumped:
Code: |
emerge -1av dev-build/libtool
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.59 s (backtrack: 0/20).
[ebuild R ] dev-build/libtool-2.4.7-r3:2::gentoo USE="-vanilla" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-build/libtool-2.4.7-r3::gentoo
/usr/bin/env: ‘bash’: No such file or directory
* The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
* does not exist: '/var/tmp/portage/dev-build/libtool-2.4.7-r3'
>>> Failed to emerge dev-build/libtool-2.4.7-r3
* Messages for package dev-build/libtool-2.4.7-r3 |
I found my answer in https://forums.gentoo.org/viewtopic-p-8817858.html
I was able to add PATH="/bin:/sbin" to /etc/env.d/99local-tmp as a temporary hack and now I'm following the news article... It seems to be working.
I hope this doesn't help someone... but if it does...I'l be ok with that too... |
|