Page 1 of 1

auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 19th, '20, 04:45
by brm
Hi all. This may have been covered before. Tried to google this problem but struggled to find a solution. Note the last line which prevents urpmi from working and installing packages.
Any ideas?

Code: Select all
urpmi --auto-update
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_AU.UTF-8",
        LC_ALL = (unset),
        LC_SOURCED = "1",
        LANG = "en_AU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Int64.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xce00080)

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 19th, '20, 06:13
by brm
More info - but a long post .....

Code: Select all
perl -V
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_AU.UTF-8",
        LC_ALL = (unset),
        LC_SOURCED = "1",
        LANG = "en_AU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Summary of my perl5 (revision 5 version 28 subversion 2) configuration:
   
  Platform:
    osname=linux
    osvers=4.14.110-server-1.mga6
    archname=x86_64-linux-thread-multi
    uname='linux rabbit.mageia.org 4.14.110-server-1.mga6 #1 smp wed apr 3 09:53:22 utc 2019 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Doptimize=none -Dccflags=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Dldflags= -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Dccdlflags=-Wl,--enable-new-dtags  -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Dlddlflags=-shared  -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Dshrpdir=/usr/lib64 -DDEBUGGING=-g -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Mageia -Dcf_email=root@localhost -Dprefix=/usr -Dman3dir=/usr/share/man/man3pm -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -Dotherlibdirs=/usr/lib/perl5/5.26.2:/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi:/usr/lib/perl5/5.26.1:/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi:/usr/lib/perl5/5.26.0:/usr/lib/perl5/5.26.0/x86_64-linux-thread-multi:/usr/lib/perl5/5.22.3:/usr/lib/perl5/5.22.3/x86_64-linux-thread-multi:/usr/lib/perl5/5.22.2:/usr/lib/perl5/5.22.2/x86_64-linux-thread-multi:/usr/lib/perl5/5.22.1:/usr/lib/perl5/5.22.1/x86_64-linux-thread-multi:/usr/lib/perl5/5.22.0:/usr/lib/perl5/5.22.0/x86_64-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.26.2:/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.26.1:/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.26.0:/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.22.3:/usr/lib/perl5/vendor_perl/5.22.3/x86_64-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.22.2:/usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.22.1:/usr/lib/perl5/vendor_perl/5.22.1/x86_64-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.22.0:/usr/lib/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi -Dvendorlib=/usr/share/perl5/vendor_perl -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dvendorman3dir=/usr/share/man/man3 -Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-thread-multi -Ud_csh -Duseshrplib -Duseithreads -Di_db -Di_ndbm -Di_gdbm -Dman3ext=3pm -Duse64bitint'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='gcc'
    ccflags ='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    optimize='  -g'
    cppflags='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='8.3.1 20190419'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='gcc'
    ldflags =' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fstack-protector-strong -L/usr/local/lib64'
    libpth=/usr/local/lib /usr/lib /usr/local/lib64 /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64
    libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.29.so
    so=so
    useshrplib=true
    libperl=libperl.so
    gnulibc_version='2.29'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
    cccdlflags='-fPIC'
    lddlflags='-lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/local/lib64 -fstack-protector-strong'


Characteristics of this binary (from libperl):
  Compile-time options:
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_ITHREADS
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
    USE_REENTRANT_API
  Locally applied patches:
    Mageia patches
  Built under linux
  Compiled at Apr 23 2019 19:07:45
  @INC:
    /usr/local/lib64/perl5
    /usr/local/share/perl5
    /usr/lib64/perl5/vendor_perl
    /usr/share/perl5/vendor_perl
    /usr/lib64/perl5
    /usr/share/perl5
    /usr/lib/perl5/5.26.2
    /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi
    /usr/lib/perl5/5.26.1
    /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi
    /usr/lib/perl5/5.26.0
    /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi
    /usr/lib/perl5/5.22.3/x86_64-linux-thread-multi
    /usr/lib/perl5/5.22.3
    /usr/lib/perl5/5.22.3/x86_64-linux-thread-multi
    /usr/lib/perl5/5.22.2
    /usr/lib/perl5/5.22.2/x86_64-linux-thread-multi
    /usr/lib/perl5/5.22.1
    /usr/lib/perl5/5.22.1/x86_64-linux-thread-multi
    /usr/lib/perl5/5.22.0
    /usr/lib/perl5/5.22.0/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.26.2
    /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.26.1
    /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.26.0
    /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.22.3/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.22.3
    /usr/lib/perl5/vendor_perl/5.22.3/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.22.2
    /usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.22.1
    /usr/lib/perl5/vendor_perl/5.22.1/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.22.0
    /usr/lib/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 19th, '20, 10:28
by ictiosis
Manage localization for your system → https://doc.mageia.org/mcc/5/en/content ... drake.html

Code: Select all
$ localedrake

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 19th, '20, 10:47
by brm
Yes, saw this, but cannot seem to get anything to work at the moment.

Code: Select all
$ localedrake
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_AU.UTF-8",
        LC_ALL = (unset),
        LC_SOURCED = "1",
        LANG = "en_AU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
CairoGObject.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xce00080)

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 19th, '20, 11:26
by doktor5000
The locale warnings can be ignored, they don't cause any issues.

You may want to add some context information. Is this a regular update, or did you perform some kind of upgrade from a different Mageia release beforehand ?

For the "loadable library and perl binaries are mismatched" error, you may want to have a look at viewtopic.php?t=13165&p=77135

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 19th, '20, 13:06
by brm
doktor5000 wrote:The locale warnings can be ignored, they don't cause any issues.

You may want to add some context information. Is this a regular update, or did you perform some kind of upgrade from a different Mageia release beforehand ?

For the "loadable library and perl binaries are mismatched" error, you may want to have a look at viewtopic.php?t=13165&p=77135


Thanks for your comments. This system has the dnf package manager installed. Following your link I tried these suggestions.

systemctl stop dnf-makecache && systemctl disable dnf-makecache && systemctl mask dnf-makecache

and

systemctl stop dnf-makecache.timer && systemctl mask dnf-makecache.timer && systemctl daemon-reload

result is

Failed to dump process list, ignoring: Unit dnf-makecache.service is masked.
● dnf-makecache.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)

Unfortunately I still have no package manager - Cannot urpme dnf .... so not sure where to go with this. I believe the system was upgraded last year.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 19th, '20, 14:55
by doktor5000
brm wrote:Unfortunately I still have no package manager - Cannot urpme dnf .... so not sure where to go with this. I believe the system was upgraded last year.

What do you mean you have no package manager ?

Also, as you didn't really answer that - so this system was upgraded last year from Mageia 6 to 7, correct? And did it work OK afterwards, or why are you only reporting this now - what changed recently ?

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 19th, '20, 23:42
by brm
Yes it was upgraded from Mageia 6 to 7. Yes dnf has not worked for some time. Mageia is on a box that is not used full time. It runs my CAD system when I need it, thus the delay in tackling this problem. It would be nice to fix this, however if not, I will run the box as it stands until the next major update.

Currently anything I try to do with urpm does not work, and dnf is masked.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 20th, '20, 16:34
by doktor5000
You may need to manually upgrade some of the packages. Let's see what you have currently, please post the output of

Code: Select all
rpm -q rpm perl perl-URPM perl-Math-Int64 urpmi

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 21st, '20, 11:56
by brm
Hmmm - does not look good

Code: Select all
rpm -q rpm perl perl-URPM perl-Math-Int64 urpmi
rpm-4.13.1-3.3.mga6
perl-5.22.3-3.2.mga6
perl-5.28.2-1.mga7
perl-URPM-5.12.2-1.mga6
perl-Math-Int64-0.540.0-2.mga6
urpmi-8.110.2-1.mga6

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 21st, '20, 16:42
by doktor5000
You would have to manually update the remaining package in one transaction, and remove the duplicate perl-5.22.3-3.2.mga6 package.

Code: Select all
rpm -Uvh http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/rpm-4.14.2.1-12.mga7.i586.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/librpm8-4.14.2.1-12.mga7.i586.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/perl-URPM-5.21-1.mga7.i586.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/perl-Math-Int64-0.540.0-10.mga7.i586.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/urpmi-8.118-1.mga7.noarch.rpm


Although you might need to extend that list manually until you have all the packages for the transaction.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 22nd, '20, 07:21
by brm
Thanks. I am still trying to understand the i586 bit. Do I need it? Do I have i586 programs on this computer? Here is the results of the command. I am happy to continue with this - just need steering in the right direction.

Code: Select all
# rpm -Uvh http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/rpm-4.14.2.1-12.mga7.i586.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/librpm8-4.14.2.1-12.mga7.i586.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/perl-URPM-5.21-1.mga7.i586.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/perl-Math-Int64-0.540.0-10.mga7.i586.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/urpmi-8.118-1.mga7.noarch.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/rpm-4.14.2.1-12.mga7.i586.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/librpm8-4.14.2.1-12.mga7.i586.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/perl-URPM-5.21-1.mga7.i586.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/perl-Math-Int64-0.540.0-10.mga7.i586.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/i586/media/core/release/urpmi-8.118-1.mga7.noarch.rpm
error: Failed dependencies:
        libacl.so.1 is needed by rpm-1:4.14.2.1-12.mga7.i586
        libarchive.so.13 is needed by rpm-1:4.14.2.1-12.mga7.i586
        libcap.so.2 is needed by rpm-1:4.14.2.1-12.mga7.i586
        libcrypto.so.1.1 is needed by rpm-1:4.14.2.1-12.mga7.i586
        libdb-5.3.so is needed by rpm-1:4.14.2.1-12.mga7.i586
        libdb5.3 >= 5.3.28-17 is needed by rpm-1:4.14.2.1-12.mga7.i586
        liblua.so.5.3 is needed by rpm-1:4.14.2.1-12.mga7.i586
        libpopt.so.0 is needed by rpm-1:4.14.2.1-12.mga7.i586
        libpopt.so.0(LIBPOPT_0) is needed by rpm-1:4.14.2.1-12.mga7.i586
        libzstd.so.1 is needed by rpm-1:4.14.2.1-12.mga7.i586
        libacl.so.1 is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libacl.so.1(ACL_1.0) is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libcap.so.2 is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libcrypto.so.1.1 is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libcrypto.so.1.1(OPENSSL_1_1_0) is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libdb-5.3.so is needed by librpm8-1:4.14.2.1-12.mga7.i586
        liblua.so.5.3 is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libpopt.so.0 is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libpopt.so.0(LIBPOPT_0) is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libzstd.so.1 is needed by librpm8-1:4.14.2.1-12.mga7.i586
        libperl.so.5.28 is needed by perl-URPM-5.21-1.mga7.i586
        librpmbuild.so.8 is needed by perl-URPM-5.21-1.mga7.i586
        libperl.so.5.28 is needed by perl-Math-Int64-0.540.0-10.mga7.i586
        perl-Filesys-Df < 0.920.0-22.mga7 conflicts with urpmi-8.118-1.mga7.noarch
        perl-Math-Int64 < 0.540.0-4.mga7 conflicts with urpmi-8.118-1.mga7.noarch
        perl-Term-ReadKey < 2.370.0-2.mga7 conflicts with urpmi-8.118-1.mga7.noarch
        perl-base < 2:5.26.0-8.mga7 conflicts with urpmi-8.118-1.mga7.noarch


===================================================================

This is the result of changing to x86 platform

Code: Select all
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/x86_64/media/core/release/rpm-4.14.2.1-12.mga7.x86_64.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/x86_64/media/core/release/lib64rpm8-4.14.2.1-12.mga7.x86_64.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/x86_64/media/core/release/perl-URPM-5.21-1.mga7.x86_64.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/x86_64/media/core/release/perl-Math-Int64-0.540.0-10.mga7.x86_64.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7.1/x86_64/media/core/release/urpmi-8.118-1.mga7.noarch.rpm
error: Failed dependencies:
        rpm = 1:4.13.1-3.3.mga6 is needed by (installed) python2-rpm-1:4.13.1-3.3.mga6.x86_64
        rpm = 1:4.13.1-3.3.mga6 is needed by (installed) python3-rpm-1:4.13.1-3.3.mga6.x86_64
        perl-Filesys-Df < 0.920.0-22.mga7 conflicts with urpmi-8.118-1.mga7.noarch
        perl-Term-ReadKey < 2.370.0-2.mga7 conflicts with urpmi-8.118-1.mga7.noarch
        perl-base < 2:5.26.0-8.mga7 conflicts with urpmi-8.118-1.mga7.noarch

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 22nd, '20, 08:31
by isadora
Please place command-output between [CODE]-tags, to improve readability.
After editing quite some number of your messages, i request you reading following:

ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 22nd, '20, 09:18
by brm
Ok, understood.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 22nd, '20, 17:09
by doktor5000
brm wrote:Thanks. I am still trying to understand the i586 bit. Do I need it? Do I have i586 programs on this computer?

Sorry, my bad - you're correct, you would need to replace that with x86_64.

brm wrote:This is the result of changing to x86 platform

Code: Select all
error: Failed dependencies:
        rpm = 1:4.13.1-3.3.mga6 is needed by (installed) python2-rpm-1:4.13.1-3.3.mga6.x86_64
        rpm = 1:4.13.1-3.3.mga6 is needed by (installed) python3-rpm-1:4.13.1-3.3.mga6.x86_64
        perl-Filesys-Df < 0.920.0-22.mga7 conflicts with urpmi-8.118-1.mga7.noarch
        perl-Term-ReadKey < 2.370.0-2.mga7 conflicts with urpmi-8.118-1.mga7.noarch
        perl-base < 2:5.26.0-8.mga7 conflicts with urpmi-8.118-1.mga7.noarch


So those packages are which would be needed for the transaction. Newer (mga7) python2-rpm, python3-rpm, perl-Filesys-Df, perl-Term-ReadKey and perl-base.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 22nd, '20, 22:47
by jiml8
I encountered the same problem you are encountering, described here:
viewtopic.php?f=7&t=13165

Ultimately, I uninstalled dnf completely. That helped. Did not solve the problem, but helped.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 22nd, '20, 23:23
by brm
Thanks, when I have exhausted the attempted upgrades - I will fall back to this

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 25th, '20, 13:29
by brm
Hi all. Removing the dnf package has not resolved my problem. From their, I used rpm to attempt an upgrade of perl to a newer mageia 7 version. However I could not satisfy a dependency as perl-base was uninstallable. I was able to install zypper package manager and attempted to use this to upgrade perl. But this too suffered the same result as previous. I also manually downloaded packages and created a local repo. But this did not alter things. What do you think about installing Mageia 7.1? When I look at my list of installed packages, I can see many mageia 6 software versions still installed. What about downloading the latest Mageia 7.1 image and doing a new install. I will back up my home directory and get a fresh start by reinstalling with the latest packages. Any observations/comments appreciated.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 25th, '20, 14:53
by doktor5000
It should still be possible to simply download the free DVD, and do an "upgrade" installation. It should be able to complete the upgrade.

Otherwise, you can always do a fresh installation, but keep your separate /home filesystem, although you'll lose other customizations that are not stored below your /home folder.

Also, wanted to say that earlier: dnf uninstallation would not solve any dependency problem, it was just the cause of a totally different issue, which was mixed into the other thread, next to the "loadable library and perl binaries are mismatched" issues.
And you should probably not attempt to uninstall perl-base, you should simply rpm -Uvh all the required packages. Did you try that and could you post the output/error you got from that?
Only one other guy posted something like that, although he didn't mention all involved packages - the "had to repair perl5 update state" bullet from viewtopic.php?p=77241#p77241

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 26th, '20, 00:28
by brm
Thanks for the link and feedback. I want to try some suggestions from this user e.g. rpmdb --rebuilddb before I proceed to reinstall.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 30th, '20, 09:33
by brm
Just to conclude . . . . Mageia 7.1 is now installed on this machine. This thread is resolved.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 30th, '20, 10:07
by isadora
Would you please mark this topic [SOLVED]?
You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead. :)

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: Apr 30th, '20, 23:57
by jiml8
How did you do it?

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: May 13th, '20, 06:14
by brm
isadora wrote:Would you please mark this topic [SOLVED]?
You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead. :)


Not sure about this. Anyone looking for a solution to "Perl binaries mismatch" will find this topic - but I opted to update, thus not really finding a solution.

Re: auto-update hamstrung by perl binaries mismatch

PostPosted: May 13th, '20, 17:31
by doktor5000
Well, you mentioned it's resolved - but not what you actually did to achieve that.