Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge sys-apps/util-linux-2.33-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1311
Location: Tri-Cities, WA USA

PostPosted: Sat Jun 01, 2019 12:04 am    Post subject: Failed to emerge sys-apps/util-linux-2.33-r1 Reply with quote

Not very smart of me. But I wanted to reinstall util-linux using 6.1-r3 : 0
So I deleted it . emerge -C until-linux

NVS (Not very smart)

Please throw me a bone on how to reinstall it.

System rescue ?


Code:

 # emerge  util-linux       
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/util-linux-2.33-r1::gentoo
[Errno 2] No such file or directory: 'mount': 'mount':
   /bin/bash -c /usr/lib/portage/python3.6/ebuild.sh clean
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/portage/process.py", line 380, in spawn
    unshare_flags, cgroup)
  File "/usr/lib64/python3.6/site-packages/portage/process.py", line 611, in _exec
    '--make-slave', '/proc'])
  File "/usr/lib64/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'mount': 'mount'
 * The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
 * does not exist: '/var/tmp/portage/sys-apps/util-linux-2.33-r1'

>>> Failed to emerge sys-apps/util-linux-2.33-r1

 * Messages for package sys-apps/util-linux-2.33-r1:

_________________
Without diversity there can be no evolution:)


Last edited by cwc on Sat Jun 01, 2019 5:00 am; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Jun 01, 2019 12:22 am    Post subject: Reply with quote

What happens if you run:
Code:
FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --oneshot sys-apps/util-linux
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1311
Location: Tri-Cities, WA USA

PostPosted: Sat Jun 01, 2019 1:45 am    Post subject: Reply with quote

mike155 wrote:
What happens if you run:
Code:
FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --oneshot sys-apps/util-linux


Solved the problem. Thank you.

Now how did you know to add :
FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox"

and can I use:
FEATURES=" '
to stop the following:
Code:
!!! existing preserved libs:
>>> package: sys-libs/ncurses-6.1-r2
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /bin/bash (app-shells/bash-4.4_p23-r1)
 *      used by /bin/dmesg (sys-apps/util-linux-2.33-r1)
 *      used by /bin/more (sys-apps/util-linux-2.33-r1)
 *      used by 16 other files
Use emerge @preserved-rebuild to rebuild packages using these librarie



I search for FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" and found this:

https://devmanual.gentoo.org/general-concepts/features/
but I have no idea what the following are:
-ipc-sandbox
-network-sandbox
-pid-sandbox

Thanks again
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Jun 01, 2019 2:14 am    Post subject: Reply with quote

Try 'man make.conf'. :)
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 488

PostPosted: Sat Jun 01, 2019 5:05 am    Post subject: Reply with quote

cwc wrote:

and can I use:
FEATURES=" '
to stop the following:
Code:
!!! existing preserved libs:
>>> package: sys-libs/ncurses-6.1-r2
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /bin/bash (app-shells/bash-4.4_p23-r1)
 *      used by /bin/dmesg (sys-apps/util-linux-2.33-r1)
 *      used by /bin/more (sys-apps/util-linux-2.33-r1)
 *      used by 16 other files
Use emerge @preserved-rebuild to rebuild packages using these librarie



Thanks again

If you want to have portage remove the old library thats keeping bash dmesg, and many other VERY IMPORTANT things working, technically yes, but you REALLY should use
Code:
emerge @preserved-rebuild
to rebuild them to use the latest version of sys-libs/ncurses thats installed (that is still installed, right? ncurses is quite important)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum