Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
upgrade older system / weird things [closed]
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
s|mon
Apprentice
Apprentice


Joined: 04 Jul 2004
Posts: 209
Location: Bayern [de]

PostPosted: Tue Apr 02, 2024 1:59 pm    Post subject: upgrade older system / weird things [closed] Reply with quote

trying to update an older system i just use to attach backup disks i ran into weird behaviour.
Emerge seemed to be stuck after some jobs where finished and did not start next ones.
I did ctrl-c and restarted a few times. Now it was in a situation where it showed

mount: /lib64/libmount.so.1: version `MOUNT_2_39' not found (required by mount)
and also emerge failed with such a error on preparing build process.
Quote:


_python3_11 readline su suid unicode
 * FEATURES: network-sandbox sandbox userpriv usersandbox
mount: /lib64/libmount.so.1: version `MOUNT_2_39' not found (required by mount)
Unable to mark /proc slave: 1
 * The ebuild phase 'pretend' has exited unexpectedly.


i then checked and found that there was libmount.so.1 linked within /llib64 based on while a newer version was already in /usr/lib64

i unlinked the version on /lib64 now manually and then i could invoke mount and emerge again and reemerged sys-apps:util-linux-2.39.3-r5 successfully also with full emerge log being writen.

now digging into portage logs i see this
l -tr /var/log/portage/sys-apps\:util-linux-2.3*
-rw-rw---- 1 portage portage 394 Apr 2 08:30 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-063021.log
-rw-rw---- 1 portage portage 394 Apr 2 08:31 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-063132.log
-rw-rw---- 1 portage portage 394 Apr 2 09:46 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-074604.log
-rw-rw---- 1 portage portage 394 Apr 2 12:03 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-100344.log
-rw-rw---- 1 portage portage 394 Apr 2 12:04 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-100431.log
-rw-rw---- 1 portage portage 394 Apr 2 13:09 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-110924.log
-rw-rw---- 1 portage portage 394 Apr 2 13:10 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-111012.log
-rw-rw---- 1 portage portage 394 Apr 2 13:17 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-111701.log
-rw-rw---- 1 portage portage 394 Apr 2 13:17 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-111748.log
-rw-rw---- 1 portage portage 394 Apr 2 13:30 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-113002.log
-rw-rw---- 1 portage portage 394 Apr 2 14:10 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-121015.log
-rw-rw---- 1 portage portage 394 Apr 2 14:11 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-121103.log
-rw-rw---- 1 portage portage 394 Apr 2 14:54 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-125449.log
-rw-rw---- 1 portage portage 394 Apr 2 14:55 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-125509.log
-rw-rw---- 1 portage portage 394 Apr 2 14:57 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-125703.log
-rw-rw---- 1 portage portage 394 Apr 2 14:57 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-125721.log
-rw-rw---- 1 portage portage 987K Apr 2 15:23 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-125746.log
-rw-rw---- 1 portage portage 394 Apr 2 15:37 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-133725.log
-rw-rw---- 1 portage portage 27K Apr 2 15:39 /var/log/portage/sys-apps:util-linux-2.38.1-r3:20240402-133946.log
-rw-rw---- 1 portage portage 1013K Apr 2 15:39 /var/log/portage/sys-apps:util-linux-2.39.3-r5:20240402-133726.log
[quote]
so it seemed to have failed multiple times today - not sure why tbh.
if i look at the small ones there is no obvious hint what went wrong
Also for other packages such empy logs appear.

Quote:

 * Package: sys-apps/util-linux-2.39.3-r5:0
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE: abi_x86_64 amd64 cramfs elibc_glibc hardlink kernel_linux logger ncurses nls pam python_targets_python3_11 readline su suid unicode
 * FEATURES: network-sandbox sandbox userpriv usersandbox


Not sure now where issues are lying and if i should just try to update as good as possible or start with emerge -e @system or anything else

Did i miss an important step/news item (system is still on 17.1 not switch to newer profile, usr was always on same disk)


Last edited by s|mon on Thu Apr 04, 2024 6:08 am; edited 1 time in total
Back to top
View user's profile Send private message
bstaletic
Apprentice
Apprentice


Joined: 05 Apr 2014
Posts: 253

PostPosted: Tue Apr 02, 2024 2:20 pm    Post subject: Reply with quote

[quote=s|mon]i unlinked the version on /lib64 now manually and then i could invoke mount and emerge again and reemerged sys-apps:util-linux-2.39.3-r5 successfully also with full emerge log being writen. [/quote]

So you don't have a problem any more?

What does the following command say?

Code:
qcheck util-linux


If that says all is good, you can just remove old logs.
Back to top
View user's profile Send private message
s|mon
Apprentice
Apprentice


Joined: 04 Jul 2004
Posts: 209
Location: Bayern [de]

PostPosted: Tue Apr 02, 2024 2:26 pm    Post subject: Reply with quote

Checking sys-apps/util-linux ...
* 556 out of 556 files are good


Quote:
So you don't have a problem any more?

it seems so, i am just unsure what was the cause in the first place and if there are more things coming based on some unresolved error - not that i make the errors worse if just try to continue
Back to top
View user's profile Send private message
bstaletic
Apprentice
Apprentice


Joined: 05 Apr 2014
Posts: 253

PostPosted: Tue Apr 02, 2024 2:30 pm    Post subject: Reply with quote

If there were an error, that would be logged in /var/tmp/portage/sys-apps/util-linux/temp/build.log.

But now that you have successfully merged util-linux, I don't think you will find anything.
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