Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
upgrade from 17.0 to 17.1 concern
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 937
Location: USA

PostPosted: Thu Jun 06, 2019 5:17 pm    Post subject: upgrade from 17.0 to 17.1 concern Reply with quote

Earlier today, I upgraded from [25] default/linux/amd64/17.0/systemd (stable) to [40] default/linux/amd64/17.1/systemd (stable) *.

1. Sync and upgrade your system to the newest package versions
to reduce the risk of issues.
-- ran emerge -quDN world

2. If you are still running a 13.0 profile, select gcc 6.4.0 or later
as the system compiler, source /etc/profile and reinstall libtool:

# gcc-config -l
[1] x86_64-pc-linux-gnu-5.5.0 *
[2] x86_64-pc-linux-gnu-8.3.0
# gcc-config 2
# . /etc/profile
# emerge -1v libtool
-- upgraded from 17.0

3. Install the tool:

# emerge -1v app-portage/unsymlink-lib
-- done

4. Run 'unsymlink-lib --analyze' and check the output for obvious
mistakes. If you need to perform any changes to the system, remember
to run 'unsymlink-lib --analyze' again afterwards.
-- done

5. This is a very good time to make a backup.
-- done

6. Run 'unsymlink-lib --migrate'. You can add '--pretend' first to see
what is going to happen.
-- done

7. Reboot your system. Check if important programs work.
In particular, verify that e.g. 'emerge --info' works (but do not
install anything). If you hit any serious problems, you can use
'unsymlink-lib --rollback' to revert the changes and return to
step 4.
-- done

8. Run 'unsymlink-lib --finish'. You can add '--pretend' first to see
what is going to happen but note that you're going to see a very long
list of files to remove.
-- done

9. Switch the profile, e.g.:

# eselect profile set default/linux/amd64/17.1/desktop
-- done, but switched to [40] default/linux/amd64/17.1/systemd (stable) *

10. Rebuild the toolchain:

# emerge -1v sys-devel/gcc:8.3.0
[ repeat for other slots you will be using ]
[ if you are upgrading from 13.0 profile, also: ]
# emerge -1v sys-devel/binutils
# emerge -1v sys-libs/glibc
-- done

11. If you are using a multilib profile, rebuild all 32-bit packages.
This can be done using:

# emerge -1v /lib32 /usr/lib32
-- done

Alternatively, if you are switching from one of the 13.0 profiles
you can rebuild all packages as detailed in the 17.0 news item:

# emerge -ev @world
-- does not apply

12. Once the last 32-bit package is rebuilt, your package manager
should remove the orphaned /lib32 and /usr/lib32 symlinks. If that
does not happen, remove them manually:

# rm /lib32 /usr/lib32

--are those folders supposed to be empty? Because this is what I got left

on /
Code:
12845057 drwxr-xr-x   9 root root 4.0K Jun  6 11:56 lib/
    6487 lrwxrwxrwx   1 root root    3 Jun  6 10:39 lib32 -> lib/
29491201 drwxr-xr-x   5 root root  12K Jun  6 11:56 lib64/

under /usr/
Code:

19398657 drwxr-xr-x  13 root root 4.0K Jun  6 11:58 ./
       2 drwxr-xr-x  24 root root 4.0K Jun  6 10:39 ../
19415871 drwxr-xr-x   3 root root  36K Jun  6 11:57 bin/
19415444 drwxr-xr-x 163 root root  20K Jun  6 11:56 include/
19412831 drwxr-xr-x  25 root root 4.0K Jun  6 11:57 lib/
19398658 drwxr-xr-x  56 root root  36K Jun  6 11:57 lib64/

_________________
cya
    ©®0t
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24023
Location: here

PostPosted: Thu Jun 06, 2019 6:44 pm    Post subject: Reply with quote

The only problem is that you have yet the /lib32 symlink, also in my two systems this symlink is left.
You can remove it manually with rm /lib32
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 937
Location: USA

PostPosted: Thu Jun 06, 2019 7:59 pm    Post subject: Reply with quote

fedeliallalinea wrote:
The only problem is that you have yet the /lib32 symlink, also in my two systems this symlink is left.
You can remove it manually with rm /lib32
Alright... done. Let's reboot and see what happens :)
_________________
cya
    ©®0t
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Fri Jun 07, 2019 5:06 pm    Post subject: Reply with quote

I'm having a related issue. I'm using gcc-9.1.0-r1 and have ABI_X86="64 32" set in /etc/make.conf. My system is (I think) totally up to date. According to the instructions I should be able to remove the symlinks /lib32 and /usr/lib32. If I do that and emerge -1 db it fails, but it works if I put the symlinks back in. For now they will stay there, but leave the a concern that something is not quite right. Note my profile is now default/linux/amd64/17.1/desktop.
Fred
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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