View previous topic :: View next topic |
Author |
Message |
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2381 Location: Kentucky
|
Posted: Wed Apr 17, 2024 10:47 pm Post subject: Failed to install app-alternatives/awk-4 - SOLVED |
|
|
Installing a new system. Did the emerge-webrsync followed by emerge --sync, then did the actual emerge to update the system installed by the stage file. I used the openrc desktop multilib stage file:
Code: | stage3-amd64-desktop-openrc-20240414T161904Z.tar.xz |
When doing the actual emerge:
Code: | emerge --update --newuse --deep --with-bdeps=y @world |
I got the following:
Code: |
(chroot) livecd / # emerge --update --newuse --deep --with-bdeps=y @world
Calculating dependencies... done!
Dependency resolution took 7.05 s (backtrack: 0/20).
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-devel/gettext-0.22.4
>>> Running pre-merge checks for sys-devel/gcc-13.2.1_p20240210
>>> Running pre-merge checks for sys-libs/glibc-2.38-r11
>>> Running pre-merge checks for app-crypt/libb2-0.98.1-r3
>>> Running pre-merge checks for media-libs/mesa-24.0.4
>>> Emerging (1 of 29) app-alternatives/awk-4::gentoo
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-alternatives/awk-4/work
>>> Preparing source in /var/tmp/portage/app-alternatives/awk-4/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-alternatives/awk-4/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-alternatives/awk-4/work ...
>>> Source compiled.
>>> Test phase [not enabled]: app-alternatives/awk-4
>>> Install app-alternatives/awk-4 into /var/tmp/portage/app-alternatives/awk-4/image
>>> Completed installing app-alternatives/awk-4 into /var/tmp/portage/app-alternatives/awk-4/image
* Final size of build directory: 0 KiB
* Final size of installed tree: 4 KiB
>>> Installing (1 of 29) app-alternatives/awk-4::gentoo
* Package 'app-alternatives/awk-4' has internal collisions between non-
* identical files (located in separate directories in the installation
* image (${D}) corresponding to merged directories in the target
* filesystem (${ROOT})):
*
* /usr/bin/awk
* /bin/awk
* /usr/bin/awk
* Differences: size, content
*
* Package 'app-alternatives/awk-4' NOT merged due to internal collisions
* between non-identical files. If necessary, refer to your elog messages
* for the whole content of the above message.
>>> Completed (1 of 29) app-alternatives/awk-4::gentoo
>>> Failed to install app-alternatives/awk-4, Log file:
>>> '/var/tmp/portage/app-alternatives/awk-4/temp/build.log'
* Messages for package app-alternatives/awk-4:
* Package 'app-alternatives/awk-4' has internal collisions between non-
* identical files (located in separate directories in the installation
* image (${D}) corresponding to merged directories in the target
* filesystem (${ROOT})):
*
* /usr/bin/awk
* /bin/awk
* /usr/bin/awk
* Differences: size, content
*
* Package 'app-alternatives/awk-4' NOT merged due to internal collisions
* between non-identical files. If necessary, refer to your elog messages
* for the whole content of the above message.
* GNU info directory index is up-to-date.
* After world updates, it is important to remove obsolete packages with
* emerge --depclean. Refer to `man emerge` for more information.
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-9' coro=<ForkProcess._proc_join() running at /usr/lib/python3.11/site-packages/portage/util/_async/ForkProcess.py:224> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[_EbuildFetcherProcess._proc_join_done(<Process name...code=-SIGTERM>)()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-13' coro=<ForkProcess._main() running at /usr/lib/python3.11/site-packages/portage/util/_async/ForkProcess.py:134> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.11/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[SpawnProcess._main_exit()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-12' coro=<PipeLogger._io_loop() running at /usr/lib/python3.11/site-packages/portage/util/_async/PipeLogger.py:98> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-11' coro=<BuildLogger._main() running at /usr/lib/python3.11/site-packages/portage/util/_async/BuildLogger.py:129> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.11/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[BuildLogger._main_exit()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-10' coro=<PipeLogger._io_loop() running at /usr/lib/python3.11/site-packages/portage/util/_async/PipeLogger.py:98> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
(chroot) livecd / #
|
What is with this app-alternatives thing anyway? And what is awk-4? What happened to good old fashioned awk (used to be called gawk)?
And what is all this "[ERROR] Task was destroyed but it is pending!" stuff?
And most importantly, what do I do about this?
This was a by-the-book installation, and it blew up in what looks to me like a weird way. _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character.
Last edited by Moriah on Thu Apr 18, 2024 11:57 am; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1912
|
Posted: Wed Apr 17, 2024 11:20 pm Post subject: |
|
|
Moriah wrote: | Installing a new system. Did the emerge-webrsync followed by emerge --sync, then did the actual emerge to update the system installed by the stage file. I used the openrc desktop multilib stage file:
Code: | stage3-amd64-desktop-openrc-20240414T161904Z.tar.xz |
|
With these recent downloads, ensure the profile is 23.0 and not split-usr. Unless the stage3 for OpenRC says split-usr, then it is built as merged-usr. |
|
Back to top |
|
|
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2381 Location: Kentucky
|
Posted: Thu Apr 18, 2024 1:18 am Post subject: |
|
|
So, since this is a fresh install of a new system on an otherwise older machine, with no user files on it yet, should I just backup the install process and set the profile to 23, then continue the installation?
Or should I wait for a new stage file to be released and use that? _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3005 Location: Edge of marsh USA
|
Posted: Thu Apr 18, 2024 2:40 am Post subject: |
|
|
Should be OK if you change your profile to one that matches the stage3 that was used. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2381 Location: Kentucky
|
Posted: Thu Apr 18, 2024 11:55 am Post subject: |
|
|
Thanks. I set the profile to #23 and it emerged without error.
There are too many profiles: 76 of them! There used to be just a handful of them. Why the sudden explosion of profiles? The instructions in the handbook should be updated to make it easier to determine which profile should be chosen. Initially, I just looked down the list until I saw "desktop" without the gnome, etc. and chose that, which is what I have always done. That turned out to be a "17" version, whereas I needed a "23" version. What is this all about? _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1693 Location: South America
|
Posted: Thu Apr 18, 2024 2:20 pm Post subject: |
|
|
Moriah wrote: | Why the sudden explosion of profiles? |
We are in a profile transition period (17 -> 23). Those last for a year. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3005 Location: Edge of marsh USA
|
Posted: Thu Apr 18, 2024 2:54 pm Post subject: |
|
|
Moriah, there are many new permutations compared to the "good old days." Now there are, openrc/systemd, split-usr/not-split-usr, not to menion multilib/sololib, non-desktop/desktop/gnome/plasma; and that's just for one arch. Add in changing defaults in profiles changing between 17/17.1 and 23.0, it's a messy stew. You are not alone. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2381 Location: Kentucky
|
Posted: Thu Apr 18, 2024 6:10 pm Post subject: |
|
|
BTW What is this split-usr/not-split-usr thing?
Is that really split /usr vs not split /usr, where you need initramfs to mount /usr because it is a different filesystem from / ?
Why does that rate a different profile? Its just another mount command in the init script of your initramfs. _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1693 Location: South America
|
Posted: Thu Apr 18, 2024 6:15 pm Post subject: |
|
|
Moriah wrote: | BTW What is this split-usr/not-split-usr thing?
Is that really split /usr vs not split /usr, where you need initramfs to mount /usr because it is a different filesystem from / ? |
No. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3005 Location: Edge of marsh USA
|
Posted: Thu Apr 18, 2024 6:43 pm Post subject: |
|
|
No, but, here is a reference that may contribute to your understanding. It's somewhat incomplete, but it appears that inertia is moving us all towards merged-usr filesystem organization at some indefinite time in the future.
Here is the wiki link: https://wiki.gentoo.org/wiki/Merge-usr
For the time being, I'm dragging my feet as long as I can and maintaining the split-usr filesystem organization. Much has been written in the forums and a decent internet search should lead plenty of additional references and discussions. Many that I have found reveals a deep misunderstanding of the topic. That partly explains why the 17 to 23 profile migration has been rough going for some users. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2381 Location: Kentucky
|
Posted: Thu Apr 18, 2024 8:20 pm Post subject: |
|
|
So it looks to me like since I did a fresh install with profile 23, that everything is up to date according to the merge-usr approach. The symlinks are there in / as shown:
Code: |
livecd / # ls -la /
total 612084
drwxr-xr-x 16 root root 272 Apr 14 13:09 .
drwxr-xr-x 16 root root 272 Apr 14 13:09 ..
lrwxrwxrwx 1 root root 7 Apr 14 13:09 bin -> usr/bin
drwxr-xr-x 2 root root 6 Apr 14 13:09 boot
drwxr-xr-x 15 root root 3740 Apr 15 22:51 dev
drwxr-xr-x 42 root root 4096 Apr 18 09:32 etc
drwxr-xr-x 2 root root 6 Apr 14 13:09 home
lrwxrwxrwx 1 root root 7 Apr 14 13:09 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Apr 14 13:09 lib64 -> usr/lib64
drwxr-xr-x 2 root root 6 Apr 14 13:09 media
drwxr-xr-x 2 root root 6 Apr 14 13:09 mnt
drwxr-xr-x 3 root root 29 Apr 14 13:36 opt
dr-xr-xr-x 211 root root 0 Apr 16 18:14 proc
drwx------ 3 root root 34 Apr 18 09:28 root
drwxr-xr-x 17 root root 540 Apr 15 22:49 run
lrwxrwxrwx 1 root root 7 Apr 14 13:09 sbin -> usr/bin
-rw-r--r-- 1 root root 626769576 Apr 14 13:43 stage3-amd64-desktop-openrc-20240414T161904Z.tar.xz
dr-xr-xr-x 13 root root 0 Apr 15 22:46 sys
drwxrwxrwt 2 root root 6 Apr 18 09:32 tmp
drwxr-xr-x 12 root root 162 Apr 16 18:16 usr
drwxr-xr-x 8 root root 98 Apr 18 09:24 var
livecd / #
|
Am I correct in this assumption? _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1693 Location: South America
|
Posted: Thu Apr 18, 2024 8:57 pm Post subject: |
|
|
Yes, that's a merged-/usr filesystem layout if that's what you are asking. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
|