Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
upgrading from amd64/17.0/no-multilib to 17.1 failed
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
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Sun Apr 18, 2021 6:43 pm    Post subject: upgrading from amd64/17.0/no-multilib to 17.1 failed Reply with quote

hi all,

every time I use emerge, my system tells me that my actual profile is deprecated:

Code:
!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/no-multilib


so I followed the instruction written after this notice.

Code:
# unsymlink-lib --analyze
Analyzing files installed into lib & lib64...

directories that will be moved to /lib/:
        firmware
        gentoo
        grub
        modprobe.d
        netifrc
        rc
        rcscripts
        systemd
        udev
        (+ 0 files)

directories whose contents will be split between /lib/ and /lib64/:

orphan dirs/files (not owned by any package) that will be moved to /lib/:
        cpp
        modules

directories that will be moved to /usr/lib/:
        crda
        gcc
        llvm
        locale
        pm-utils
        portage
        python-exec
        python3.10
        python3.7
        python3.8
        python3.9
        rust
        sysctl.d
        sysusers.d
        tmpfiles.d
        (+ 3 files)

directories whose contents will be split between /usr/lib/ and /usr/lib64/:
        go
        systemd

orphan dirs/files (not owned by any package) that will be moved to /usr/lib/:
        .keep
        asterisk
        cracklib_dict.hwm
        cracklib_dict.pwd
        cracklib_dict.pwi
        hotplug
        libxslt-plugins
        pango
        proftpd
        python2.4
        python2.6
        python3.1
        python3.2
        python3.6
        rustlib

orphan dirs/files (not owned by any package) that will be kept in /usr/lib64/:
        libdb.so

directories that will be moved to /usr/local/lib/:
        (+ 0 files)

directories whose contents will be split between /usr/local/lib/ and /usr/local/lib64/:

orphan dirs/files (not owned by any package) that will be moved to /usr/local/lib/:
        .keep


Warning: no lib32 paths found. This is fine if you are running no-multilib,
otherwise this is suspicious.


The state has been saved and the migration is ready to proceed.
To initiate it, please run:

        /usr/lib/python-exec/python3.8/unsymlink-lib --migrate

Please do not perform any changes to the system at this point.
If you performed any changes, please rerun the analysis.


Code:
# unsymlink-lib --migrate --pretend
Those are the actions that would be performed:
mkdir /lib.new
cp -a --reflink=auto -- /lib32/. /lib/rcscripts /lib/systemd /lib/modprobe.d /lib/rc /lib/netifrc /lib/firmware /lib/udev /lib/cpp /lib/modules /lib/gentoo /lib/grub /lib.new/
mkdir /usr/lib.new
cp -a --reflink=auto -- /usr/lib32/. /usr/lib/sysusers.d /usr/lib/proftpd /usr/lib/cracklib_dict.pwi /usr/lib/pango /usr/lib/asterisk /usr/lib/python3.8 /usr/lib/gcc /usr/lib/sysctl.d /usr/lib/tmpfiles.d /usr/lib/python3.6 /usr/lib/crda /usr/lib/python3.1 /usr/lib/go /usr/lib/python3.9 /usr/lib/python2.4 /usr/lib/pm-utils /usr/lib/.keep /usr/lib/llvm /usr/lib/python3.10 /usr/lib/rust /usr/lib/systemd /usr/lib/locale /usr/lib/rustlib-1.49.0 /usr/lib/python3.2 /usr/lib/cracklib_dict.hwm /usr/lib/rustlib /usr/lib/portage /usr/lib/cracklib_dict.pwd /usr/lib/libpasswdqc.so
/usr/lib/python-exec /usr/lib/libxslt-plugins /usr/lib/python3.7 /usr/lib/python2.6 /usr/lib/hotplug /usr/lib/os-release /usr/lib.new/
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/sync/atomic.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/sync
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress/gzip.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/cipher.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/base32.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/os.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/systemd/system-shutdown/nutshutdown
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/systemd/system-shutdown
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash/crc64.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/x509/pkix.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/x509
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/hmac.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/testing/iotest.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/testing
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/sha512.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http/cookiejar.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/pem.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image/png.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/csv.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/mime/multipart.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/mime
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/ecdsa.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/asn1.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/reflect.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/x509.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/testing/internal/testdeps.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/testing/internal
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http/fcgi.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/container/ring.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/container
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/sha1.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress/bzip2.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/strconv.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/format.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/os/user.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/os
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/xml.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/log.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/ed25519.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image/draw.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress/zlib.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/dsa.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/scanner.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http/httptest.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/ascii85.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image/color.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/errors.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/constant.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/database/sql.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/database
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/sync.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/des.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image/jpeg.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/flag.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/context.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/rpc.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/textproto.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress/flate.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/internal/reflectlite.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/internal
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/unicode/utf16.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/unicode
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/json.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/sha256.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/build.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/strings.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/database/sql/driver.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/database/sql
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/text/scanner.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/text
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/index/suffixarray.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/index
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/gob.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/importer.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/rsa.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/time.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash/fnv.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/mime.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http/cgi.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/path.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/bytes.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http/pprof.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/binary.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/rand.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress/lzw.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/compress
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash/maphash.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http/httputil.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/sort.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image/gif.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/subtle.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/regexp.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/text/template.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/text
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug/plan9obj.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/md5.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/text/template/parse.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/text/template
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/aes.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/runtime/debug.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/runtime
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/tls.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/ast.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug/pe.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/bufio.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/mime/quotedprintable.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/mime
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image/color/palette.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/image/color
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/url.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/runtime/pprof.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/runtime
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/container/list.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/container
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/rpc/jsonrpc.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/rpc
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug/gosym.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash/crc32.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/path/filepath.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/path
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/base64.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/archive/tar.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/archive
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash/adler32.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/os/exec.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/os
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/expvar.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http/httptrace.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/http
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/unicode/utf8.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/unicode
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/os/signal.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/os
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/unicode.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/mail.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/printer.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/hash.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/regexp/syntax.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/regexp
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/token.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/text/tabwriter.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/text
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math/big.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/rc4.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/html.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/archive/zip.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/archive
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/container/heap.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/container
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/log/syslog.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/log
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/html/template.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/html
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding/hex.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/testing/quick.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/testing
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math/rand.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net/smtp.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/net
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/runtime.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/io/ioutil.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/io
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/testing.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug/dwarf.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/syscall.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math/bits.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/parser.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/fmt.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug/elf.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/encoding.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/runtime/trace.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/runtime
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/io.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math/cmplx.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/math
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug/macho.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/debug
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/doc.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto/elliptic.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/crypto
rm /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go/types.gox
rmdir -p --ignore-fail-on-non-empty /usr/lib.new/go/10.2.0/x86_64-pc-linux-gnu/go
mkdir /usr/local/lib.new
cp -a --reflink=auto -- /usr/local/lib32/. /usr/local/lib/.keep /usr/local/lib.new/
ln -s -f -T lib.new /lib
ln -s -f -T lib.new /usr/lib
ln -s -f -T lib.new /usr/local/lib


Code:
# unsymlink-lib --migrate
[/lib32] & /lib -> /lib.new ...
[/usr/lib32] & /usr/lib -> /usr/lib.new ...
cp: '/usr/lib/locale' e '/usr/lib.new/locale' sono lo stesso file [[i]are the same file[/i]]
Non-successful return from cp: 1

An error occurred while creating the "lib.new" directories. Please look
at the backtrace following this message for details. The partially
created "lib.new" directories were left in case they were useful
for determining the cause of the error.

Once you determine the cause of the error and would like to retry,
please use the --force-rollback action to reset your system.


It sounds strange because there is no /usr/lib.new/locale directory before starting the tool.
Can you help me, please?

Ciao,

Lorenzo
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30908
Location: here

PostPosted: Sun Apr 18, 2021 6:58 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Portage & Programming.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Tue Apr 27, 2021 9:17 am    Post subject: Reply with quote

Hello,

is there anybody that can help me please?
ciao,

Lorenzo
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Tue Apr 27, 2021 10:40 pm    Post subject: Re: upgrading from amd64/17.0/no-multilib to 17.1 failed Reply with quote

sacchi wrote:
Code:
# unsymlink-lib --migrate
[/lib32] & /lib -> /lib.new ...
[/usr/lib32] & /usr/lib -> /usr/lib.new ...
cp: '/usr/lib/locale' e '/usr/lib.new/locale' sono lo stesso file [[i]are the same file[/i]]
Non-successful return from cp: 1
[...]


It sounds strange because there is no /usr/lib.new/locale directory before starting the tool.

Is there a /usr/lib.new directory? With some directories in it that unsymlink-lib was able to copy? The command that's probably failing is:

Code:
cp -a --reflink=auto -- /usr/lib32/. /usr/lib/sysusers.d /usr/lib/proftpd /usr/lib/cracklib_dict.pwi /usr/lib/pango /usr/lib/asterisk /usr/lib/python3.8 /usr/lib/gcc /usr/lib/sysctl.d /usr/lib/tmpfiles.d /usr/lib/python3.6 /usr/lib/crda /usr/lib/python3.1 /usr/lib/go /usr/lib/python3.9 /usr/lib/python2.4 /usr/lib/pm-utils /usr/lib/.keep /usr/lib/llvm /usr/lib/python3.10 /usr/lib/rust /usr/lib/systemd /usr/lib/locale /usr/lib/rustlib-1.49.0 /usr/lib/python3.2 /usr/lib/cracklib_dict.hwm /usr/lib/rustlib /usr/lib/portage /usr/lib/cracklib_dict.pwd /usr/lib/libpasswdqc.so
/usr/lib/python-exec /usr/lib/libxslt-plugins /usr/lib/python3.7 /usr/lib/python2.6 /usr/lib/hotplug /usr/lib/os-release /usr/lib.new/

I don't know what is special about /usr/lib/locale on your computer, can you post the output of ls -ld /usr/lib/locale?
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Wed Apr 28, 2021 8:39 am    Post subject: Re: upgrading from amd64/17.0/no-multilib to 17.1 failed Reply with quote

GDH-gentoo wrote:
sacchi wrote:
Code:
# unsymlink-lib --migrate
[/lib32] & /lib -> /lib.new ...
[/usr/lib32] & /usr/lib -> /usr/lib.new ...
cp: '/usr/lib/locale' e '/usr/lib.new/locale' sono lo stesso file [[i]are the same file[/i]]
Non-successful return from cp: 1
[...]


It sounds strange because there is no /usr/lib.new/locale directory before starting the tool.


Is there a /usr/lib.new directory? With some directories in it that unsymlink-lib was able to copy?


Thanks for your support! No, there is no /usr/lib.new directory.

GDH-gentoo wrote:
The command that's probably failing is:

Code:
cp -a --reflink=auto -- /usr/lib32/. /usr/lib/sysusers.d /usr/lib/proftpd /usr/lib/cracklib_dict.pwi /usr/lib/pango /usr/lib/asterisk /usr/lib/python3.8 /usr/lib/gcc /usr/lib/sysctl.d /usr/lib/tmpfiles.d /usr/lib/python3.6 /usr/lib/crda /usr/lib/python3.1 /usr/lib/go /usr/lib/python3.9 /usr/lib/python2.4 /usr/lib/pm-utils /usr/lib/.keep /usr/lib/llvm /usr/lib/python3.10 /usr/lib/rust /usr/lib/systemd /usr/lib/locale /usr/lib/rustlib-1.49.0 /usr/lib/python3.2 /usr/lib/cracklib_dict.hwm /usr/lib/rustlib /usr/lib/portage /usr/lib/cracklib_dict.pwd /usr/lib/libpasswdqc.so
/usr/lib/python-exec /usr/lib/libxslt-plugins /usr/lib/python3.7 /usr/lib/python2.6 /usr/lib/hotplug /usr/lib/os-release /usr/lib.new/

I don't know what is special about /usr/lib/locale on your computer, can you post the output of ls -ld /usr/lib/locale?


Of course!

Code:
# ls -ld /usr/lib/locale
drwxr-xr-x 2 root root 4096 19 apr 15.49 /usr/lib/locale


Do you see something strange?
Thank you,

Lorenzo
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Wed Apr 28, 2021 10:06 pm    Post subject: Re: upgrading from amd64/17.0/no-multilib to 17.1 failed Reply with quote

sacchi wrote:
Thanks for your support! No, there is no /usr/lib.new directory.

To be honest, I did the migration to profile 17.1 in 2019, and unsymlink-lib has been depcleaned long ago from my computer, but I expect unsymlink-lib --migrate to have done some (incomplete) work in your case before the cp command failed. When you got that error, did you do --force-rollback as the error message suggested, or did you leave everything as it was?

Show us the current state of your computer, post the output of ls -l / /usr /usr/local.
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Thu Apr 29, 2021 1:36 pm    Post subject: Re: upgrading from amd64/17.0/no-multilib to 17.1 failed Reply with quote

GDH-gentoo wrote:
sacchi wrote:
Thanks for your support! No, there is no /usr/lib.new directory.

To be honest, I did the migration to profile 17.1 in 2019, and unsymlink-lib has been depcleaned long ago from my computer, but I expect unsymlink-lib --migrate to have done some (incomplete) work in your case before the cp command failed. When you got that error, did you do --force-rollback as the error message suggested, or did you leave everything as it was?


Well, I tried starting the migration maybe in november 2020, when a message about it popped up.
When the tool fails, I run the rollback command in order to let gentoo boots is there was a power outage. The actual state is "rolled back". I'm quite terrified to leave gentoo in the middle of a failed migration.

GDH-gentoo wrote:
Show us the current state of your computer, post the output of ls -l / /usr /usr/local.


Code:
# ls -l / /usr /usr/local
/:
totale 204
drwxr-xr-x   2 root   root       4096 10 feb 21.45 bin
drwxr-xr-x   2 root   root       4096 12 feb  2018 boot
drwxr-xr-x   3 root   root       4096 19 ago  2020 config
drwxr-xr-x  18 root   root      14060 27 apr 11.14 dev
drwxr-xr-x 110 root   root      12288 27 apr 11.14 etc
drwxr-xr-x   9 root   root       4096 16 lug  2019 home
lrwxrwxrwx   1 root   root          5 19 apr 15.48 lib -> lib64
drwxr-xr-x   2 root   root       4096  8 giu  2012 lib32
drwxr-xr-x  16 root   root      12288 19 apr 15.49 lib64
drwx------   2 root   root      16384 24 set  2008 lost+found
drwxr-xr-x   9 root   root       4096 21 ott  2014 mnt
drwxr-xr-x   5 root   root       4096 27 dic  2016 mydyndns
drwxr-xr-x   4 root   root       4096 17 dic 23.20 opt
dr-xr-xr-x 181 root   root          0 27 apr 11.14 proc
drwxr-xr-x  19 root   root       4096  7 lug  2020 raid
drwxr-xr-x  18 root   root       4096 28 apr 15.30 root
drwxr-xr-x  31 root   root       1180 27 apr 11.15 run
drwxr-xr-x   2 root   root      12288 19 apr 15.49 sbin
drwxr-xr-x   2 root   root       4096  5 feb  2019 service
dr-xr-xr-x  11 root   root          0 27 apr 11.14 sys
drwxrwxrwt   6 root   root      94208 29 apr 15.29 tmp
drwxr-xr-x  13 root   root       4096 18 apr 20.21 usr
drwxr-xr-x  13 root   root       4096 10 feb 00.46 var
drwxr-xr-x   3 nobody vboxusers  4096  1 ago  2017 VMs

/usr:
totale 208
drwxr-xr-x   2 root    root    65536 19 apr 15.49 bin
drwxr-xr-x 227 root    root    20480 19 apr 15.49 include
lrwxrwxrwx   1 root    root        5 18 apr 20.21 lib -> lib64
drwxr-xr-x   2 root    root     4096 13 feb  2010 lib32
drwxr-xr-x 102 root    root    77824 19 apr 15.49 lib64
drwxr-xr-x  16 root    root     4096 10 feb 22.10 libexec
drwxr-xr-x  11 root    root     4096 18 apr 20.21 local
drwxr-xr-x 175 portage portage  4096 18 apr 19.53 portage
drwxr-xr-x   2 root    root    12288 19 apr 15.49 sbin
drwxr-xr-x 151 root    root     4096 10 feb 01.57 share
drwxr-xr-x  12 root    root     4096 10 feb 04.37 src
drwxr-xr-x   6 root    root     4096 17 giu  2008 x86_64-pc-linux-gnu

/usr/local:
totale 36
drwxr-xr-x 2 root root 4096  8 feb  2019 bin
drwxr-xr-x 2 root root 4096 12 lug  2019 etc
drwxr-xr-x 2 root root 4096 17 giu  2008 games
lrwxrwxrwx 1 root root    5 18 apr 20.21 lib -> lib64
drwxr-xr-x 2 root root 4096 17 giu  2008 lib32
drwxr-xr-x 2 root root 4096 17 giu  2008 lib64
lrwxrwxrwx 1 root root    9 24 set  2008 man -> share/man
drwxr-xr-x 8 root root 4096 24 set  2013 portage
drwxr-xr-x 2 root root 4096 10 apr  2017 sbin
drwxr-xr-x 4 root root 4096 17 giu  2008 share
drwxr-xr-x 2 root root 4096 17 giu  2008 src


Thank you,

Lorenzo
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Fri Apr 30, 2021 1:50 am    Post subject: Reply with quote

That looks OK for profile 17.0, it seems that the rollback worked. Why don't you try unsymlink-lib --migrate again? If it fails, post the output of ls -l / /lib.new /usr /usr/lib.new before rolling back. Let's see how much work it can do before the error.
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Sun May 02, 2021 9:05 pm    Post subject: Reply with quote

GDH-gentoo wrote:
That looks OK for profile 17.0, it seems that the rollback worked. Why don't you try unsymlink-lib --migrate again? If it fails, post the output of ls -l / /lib.new /usr /usr/lib.new before rolling back. Let's see how much work it can do before the error.


Ok. Just run --migrate. It fails as usual.

Code:
# /usr/lib/python-exec/python3.8/unsymlink-lib --migrate
[/lib32] & /lib -> /lib.new ...
[/usr/lib32] & /usr/lib -> /usr/lib.new ...
cp: '/usr/lib/locale' e '/usr/lib.new/locale' sono lo stesso file (are the same file)
Non-successful return from cp: 1

An error occurred while creating the "lib.new" directories. Please look
at the backtrace following this message for details. The partially
created "lib.new" directories were left in case they were useful
for determining the cause of the error.

Once you determine the cause of the error and would like to retry,
please use the --force-rollback action to reset your system.


Issued the command you requested:

Code:

# ls -l / /lib.new /usr /usr/lib.new
/:
totale 208
drwxr-xr-x   2 root   root       4096 10 feb 21.45 bin
drwxr-xr-x   2 root   root       4096 12 feb  2018 boot
drwxr-xr-x   3 root   root       4096 19 ago  2020 config
drwxr-xr-x  18 root   root      14060 27 apr 11.14 dev
drwxr-xr-x 110 root   root      12288 27 apr 11.14 etc
drwxr-xr-x   9 root   root       4096 16 lug  2019 home
lrwxrwxrwx   1 root   root          5 19 apr 15.48 lib -> lib64
drwxr-xr-x   2 root   root       4096  8 giu  2012 lib32
drwxr-xr-x  16 root   root      12288 19 apr 15.49 lib64
drwxr-xr-x  12 root   root       4096  2 mag 22.57 lib.new
drwx------   2 root   root      16384 24 set  2008 lost+found
drwxr-xr-x   9 root   root       4096 21 ott  2014 mnt
drwxr-xr-x   5 root   root       4096 27 dic  2016 mydyndns
drwxr-xr-x   4 root   root       4096 17 dic 23.20 opt
dr-xr-xr-x 174 root   root          0 27 apr 11.14 proc
drwxr-xr-x  19 root   root       4096  7 lug  2020 raid
drwxr-xr-x  18 root   root       4096  2 mag 22.56 root
drwxr-xr-x  31 root   root       1180 27 apr 11.15 run
drwxr-xr-x   2 root   root      12288 19 apr 15.49 sbin
drwxr-xr-x   2 root   root       4096  5 feb  2019 service
dr-xr-xr-x  11 root   root          0 27 apr 11.14 sys
drwxrwxrwt   6 root   root      94208  2 mag 22.54 tmp
drwxr-xr-x  14 root   root       4096  2 mag 22.57 usr
drwxr-xr-x  13 root   root       4096 10 feb 00.46 var
drwxr-xr-x   3 nobody vboxusers  4096  1 ago  2017 VMs

/lib.new:
totale 40
lrwxrwxrwx  1 root root   32 18 apr 23.27 cpp -> /usr/bin/x86_64-pc-linux-gnu-cpp
drwxr-xr-x  2 root root 4096 10 feb 00.40 firmware
drwxr-xr-x  2 root root 4096 16 dic 16.29 gentoo
drwxr-xr-x  3 root root 4096 23 dic  2017 grub
drwxr-xr-x  2 root root 4096 10 feb 04.51 modprobe.d
drwxr-xr-x 24 root root 4096 10 set  2020 modules
drwxr-xr-x  4 root root 4096 10 feb 04.40 netifrc
drwxr-xr-x  8 root root 4096 10 feb 04.40 rc
drwxr-xr-x  3 root root 4096 18 gen  2020 rcscripts
drwxr-xr-x  6 root root 4096 10 feb 20.25 systemd
drwxr-xr-x  4 root root 4096 10 feb 20.25 udev

/usr:
totale 212
drwxr-xr-x   2 root    root    65536 19 apr 15.49 bin
drwxr-xr-x 227 root    root    20480 19 apr 15.49 include
lrwxrwxrwx   1 root    root        5 18 apr 20.21 lib -> lib64
drwxr-xr-x   2 root    root     4096 13 feb  2010 lib32
drwxr-xr-x 102 root    root    77824 19 apr 15.49 lib64
drwxr-xr-x  16 root    root     4096 10 feb 22.10 libexec
drwxr-xr-x  28 root    root     4096  2 mag 22.57 lib.new
drwxr-xr-x  11 root    root     4096 18 apr 20.21 local
drwxr-xr-x 175 portage portage  4096 18 apr 19.53 portage
drwxr-xr-x   2 root    root    12288 19 apr 15.49 sbin
drwxr-xr-x 151 root    root     4096 10 feb 01.57 share
drwxr-xr-x  12 root    root     4096 10 feb 04.37 src
drwxr-xr-x   6 root    root     4096 17 giu  2008 x86_64-pc-linux-gnu

/usr/lib.new:
totale 384
drwxr-xr-x  3 root root   4096  2 ott  2008 asterisk
-rw-r--r--  1 root root   1024 17 dic 14.28 cracklib_dict.hwm
-rw-r--r--  1 root root 245161 17 dic 14.28 cracklib_dict.pwd
-rw-r--r--  1 root root  12896 17 dic 14.28 cracklib_dict.pwi
drwxr-xr-x  2 root root   4096 10 feb 00.40 crda
drwxr-xr-x  3 root root   4096 17 giu  2008 gcc
drwxr-xr-x 11 root root   4096 18 apr 23.27 go
drwxr-xr-x  2 root root   4096 25 dic  2009 hotplug
lrwxrwxrwx  1 root root     32 10 feb 20.27 libpasswdqc.so -> ../../usr/lib64/libpasswdqc.so.0
drwxr-xr-x  2 root root   4096  4 mag  2010 libxslt-plugins
drwxr-xr-x  4 root root   4096  8 nov 21.40 llvm
lrwxrwxrwx  1 root root     17 24 set  2008 locale -> /usr/lib64/locale
-rw-r--r--  1 root root    190 10 feb  2020 os-release
drwxr-xr-x  3 root root   4096 13 dic  2013 pango
drwxr-xr-x  3 root root   4096 30 gen  2012 pm-utils
drwxr-xr-x  4 root root   4096 17 dic 20.44 portage
drwxr-xr-x  2 root root   4096 12 set  2019 proftpd
drwxr-xr-x  2 root root   4096 19 ott  2008 python2.4
drwxr-xr-x 18 root root  20480 11 apr  2011 python2.6
*drwxr-xr-x  3 root root   4096  6 gen  2013 python3.1
drwxr-xr-x 34 root root   4096 10 feb 05.15 python3.10
drwxr-xr-x  3 root root   4096 28 mar  2015 python3.2
drwxr-xr-x  3 root root   4096 13 mag  2020 python3.6
drwxr-xr-x 33 root root   4096 10 feb 04.50 python3.7
drwxr-xr-x 33 root root   4096 10 feb 04.44 python3.8
drwxr-xr-x 34 root root   4096 10 feb 04.55 python3.9
drwxr-xr-x  8 root root   4096 18 feb 14.50 python-exec
drwxr-xr-x  3 root root   4096 15 feb 00.04 rust
lrwxrwxrwx  1 root root     23 15 feb 00.04 rustlib -> /usr/lib/rustlib-1.49.0
lrwxrwxrwx  1 root root     23 15 feb 00.03 rustlib-1.49.0 -> rust/1.49.0/lib/rustlib
drwxr-xr-x  2 root root   4096 23 ago  2020 sysctl.d
drwxr-xr-x  6 root root   4096 21 feb  2018 systemd
drwxr-xr-x  2 root root   4096 10 feb 00.46 sysusers.d
drwxr-xr-x  2 root root   4096 18 apr 20.05 tmpfiles.d


Thanks a lot for your support!

Lorenzo
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Mon May 03, 2021 9:13 pm    Post subject: Reply with quote

sacchi wrote:
Code:
# ls -l / /lib.new /usr /usr/lib.new
[...]
/usr/lib.new:
[...]
lrwxrwxrwx  1 root root     17 24 set  2008 locale -> /usr/lib64/locale

This should not happen, /usr/lib.new/locale should be a directory, not a symbolic link. I'm not sure why this is happening. Before rolling back, you could try this (as root), which should be the equivalent to what unsymlink-lib --migrate does, to see if you still get a symlink:
Code:
# rm /usr/lib.new/locale
# cp -a --reflink=auto -- /usr/lib/locale /usr/lib.new/
# ls -ld /usr/lib.new/locale
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Thu May 06, 2021 7:44 am    Post subject: Reply with quote

GDH-gentoo wrote:
sacchi wrote:
Code:
# ls -l / /lib.new /usr /usr/lib.new
[...]
/usr/lib.new:
[...]
lrwxrwxrwx  1 root root     17 24 set  2008 locale -> /usr/lib64/locale

This should not happen, /usr/lib.new/locale should be a directory, not a symbolic link. I'm not sure why this is happening. Before rolling back, you could try this (as root), which should be the equivalent to what unsymlink-lib --migrate does, to see if you still get a symlink:
Code:
# rm /usr/lib.new/locale
# cp -a --reflink=auto -- /usr/lib/locale /usr/lib.new/
# ls -ld /usr/lib.new/locale


The cp command created a directory

Code:
# rm /usr/lib.new/locale
# cp -a --reflink=auto -- /usr/lib/locale /usr/lib.new/
# ls -ld /usr/lib.new/locale
drwxr-xr-x 2 root root 4096 19 apr 15.49 /usr/lib.new/locale


Thanks for your support!

Lorenzo
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Thu May 06, 2021 8:13 am    Post subject: Reply with quote

GDH-gentoo wrote:
This should not happen, /usr/lib.new/locale should be a directory, not a symbolic link. [..]

Hi,
found something interesting.
This command causes the issue:
Code:
cp -a --reflink=auto -- /usr/lib32/. /usr/lib/cracklib_dict.pwi /usr/lib/python3.2 /usr/lib/libpasswdqc.so /usr/lib/python3.10 /usr/lib/sysctl.d /usr/lib/systemd /usr/lib/portage /usr/lib/libxslt-plugins /usr/lib/python3.7 /usr/lib/hotplug /usr/lib/python3.8 /usr/lib/python3.6 /usr/lib/rust /usr/lib/asterisk /usr/lib/sysusers.d /usr/lib/pm-utils /usr/lib/python3.9 /usr/lib/tmpfiles.d /usr/lib/python2.6 /usr/lib/os-release /usr/lib/cracklib_dict.pwd /usr/lib/llvm /usr/lib/crda /usr/lib/python3.1 /usr/lib/go /usr/lib/gcc /usr/lib/pango /usr/lib/python2.4 /usr/lib/rustlib-1.49.0 /usr/lib/cracklib_dict.hwm /usr/lib/rustlib /usr/lib/proftpd /usr/lib/python-exec  /usr/lib/locale /usr/lib/.keep /usr/lib.new/

If I remove the first source directory, /usr/lib.new/locale is created as a directory
Code:
cp -a --reflink=auto --  /usr/lib/cracklib_dict.pwi /usr/lib/python3.2 /usr/lib/libpasswdqc.so /usr/lib/python3.10 /usr/lib/sysctl.d /usr/lib/systemd /usr/lib/portage /usr/lib/libxslt-plugins /usr/lib/python3.7 /usr/lib/hotplug /usr/lib/python3.8 /usr/lib/python3.6 /usr/lib/rust /usr/lib/asterisk /usr/lib/sysusers.d /usr/lib/pm-utils /usr/lib/python3.9 /usr/lib/tmpfiles.d /usr/lib/python2.6 /usr/lib/os-release /usr/lib/cracklib_dict.pwd /usr/lib/llvm /usr/lib/crda /usr/lib/python3.1 /usr/lib/go /usr/lib/gcc /usr/lib/pango /usr/lib/python2.4 /usr/lib/rustlib-1.49.0 /usr/lib/cracklib_dict.hwm /usr/lib/rustlib /usr/lib/proftpd /usr/lib/python-exec  /usr/lib/locale /usr/lib/.keep /usr/lib.new/

To sum up, this command fails:
Code:
cp -a --reflink=auto -- /usr/lib32/. /usr/lib/locale  /usr/lib.new/

This is the content of /usr/lib32 directory:
Code:
/usr/lib32 # ls -ls
totale 0
0 lrwxrwxrwx 1 root root 17 24 set  2008 locale -> /usr/lib64/locale

So the problem is that /usr/lib32 contains a locale link which is copied inside /usr/lib.new; at this point /usr/lib/locale cannot be copied because the target directory already contains a locale.
How can I sort out the problem, please?
Thank you,
Lorenzo
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Fri May 07, 2021 1:14 am    Post subject: Reply with quote

sacchi wrote:
This is the content of /usr/lib32 directory:
Code:
/usr/lib32 # ls -ls
totale 0
0 lrwxrwxrwx 1 root root 17 24 set  2008 locale -> /usr/lib64/locale

[...]
How can I sort out the problem, please?

I no longer have a /usr/lib32, so I can't check, but I think that that symbolic link should not be there even for multilib profiles. You have a no-multilib one, so /lib32 and /usr/lib32 should probably be empty. Do you know where that /usr/lib32/locale symlink came from? Is /lib32 empty?

I suppose you could try rolling back, then removing that symbolic link, and then doing unsymlink-lib --migrate again.
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Fri May 07, 2021 7:56 am    Post subject: Reply with quote

GDH-gentoo wrote:
sacchi wrote:
This is the content of /usr/lib32 directory:
Code:
/usr/lib32 # ls -ls
totale 0
0 lrwxrwxrwx 1 root root 17 24 set  2008 locale -> /usr/lib64/locale

[...]
How can I sort out the problem, please?

I no longer have a /usr/lib32, so I can't check, but I think that that symbolic link should not be there even for multilib profiles. You have a no-multilib one, so /lib32 and /usr/lib32 should probably be empty. Do you know where that /usr/lib32/locale symlink came from? Is /lib32 empty?


Code:
# ls -lsa /lib32

totale 8
4 drwxr-xr-x  2 root root 4096  8 giu  2012 .
4 drwxr-xr-x 25 root root 4096  6 mag 10.05 ..
0 -rw-r--r--  1 root root    0 17 giu  2008 .keep


GDH-gentoo wrote:
I suppose you could try rolling back, then removing that symbolic link, and then doing unsymlink-lib --migrate again.


Ok, I'll try.
Thank you!!!

Lorenzo
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Tue Jun 01, 2021 3:00 pm    Post subject: Reply with quote

Just tried, the script ends with no error.
This evening I'll try rebooting. Finger crossed!

GDH-gentoo, THANK YOU!
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Wed Jun 02, 2021 8:10 pm    Post subject: Reply with quote

the system rebooted with no error! thank you!

L
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Wed Jun 02, 2021 10:13 pm    Post subject: Reply with quote

My systems reported succes and I switched 17.0 to 17.1 (both desktop) on both machines. but I had problems with crashes and freezes. So i did emerge -e @world and that solved the problems.
Took FOREVER on the bullbozer server. Four hours each to emerge gcc. One machine had 8.x 9.x and 10.0 Half a day just emerging gcc.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


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

PostPosted: Wed Jun 02, 2021 11:15 pm    Post subject: Reply with quote

Tony0945 wrote:
Took FOREVER on the bullbozer server.

Bulldozer? That's one of those AMD processors from 2012 or 2013, right?

I just read an interview with Jim Keller, who joined AMD at that time and who finally managed to get AMD on track for the ZEN architecture. He describes that time at AMD in the following way:
Quote:
The funny thing was, we knew we were kind of at the end of the road - our customers weren’t buying our products, and the stuff on the roadmap wasn’t any good. I didn’t have to convince people very much about that. There were a few people who said ‘you don’t understand Jim, we have an opportunity to make 5%’. But we were off by 2X, and we couldn’t catch up [going down that route].
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Jun 03, 2021 5:02 am    Post subject: Reply with quote

bdver4 actually an APU on the FM+ (or is it FM2+ ?) socket. Around 2017 IIRC. Great for 24 hour operation, consuming 30 watts at the wall socket when idle. But terrible at compiling. My Phenom II (that's the date range you are thinking of, 2011/2012) is actually slightly faster.
Considering moving the server to 3600G when they are available. Looks they are two or three times faster.
My 2700X was half an hour to recompile each version of GCC. In a few days I should be able to quote the 3900X.
But laptops don't have these types of CPU.

Yes, the server socket is a dead end and I knew it was a dead end, but it was cheap, reliable and low power. Don't need a high power GPU on a server.

Phenom II 3 hours, 53 minutes and 10 seconds.
A8-7600 4 hours, 3 minutes and 20 seconds
2700X 32 minutes and 8 seconds

So half a day just to emerge all three gcc versions on the older computers.
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