Page 1 of 1

{SOLVED }update problems

PostPosted: Aug 15th, '22, 12:28
by nwtmg
Hi,

Running 5.15.55-desktop-2.mga8. Issued dnf update and downloaded packages. Getting error at end.

Code: Select all
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/lib64/liblensfun.so.0.3.2 from install of lensfun-0.3.2-20.el7.x86_64 conflicts with file from package lib64lensfun1-0.3.2-13.mga8.x86_64
  file /usr/lib64/libcompface.so.1.0.0 from install of compface-1.5.2-20.el7.x86_64 conflicts with file from package lib64compface1-1.5.2-18.mga8.x86_64
  file /usr/lib64/libanthy.so.0.1.0 from install of anthy-9100h-26.el7.x86_64 conflicts with file from package lib64anthy0-9100h-25.20110409.16.mga8.x86_64
  file /usr/lib64/libanthydic.so.0.1.0 from install of anthy-9100h-26.el7.x86_64 conflicts with file from package lib64anthy0-9100h-25.20110409.16.mga8.x86_64
  file /usr/lib64/libanthyinput.so.0.0.0 from install of anthy-9100h-26.el7.x86_64 conflicts with file from package lib64anthy0-9100h-25.20110409.16.mga8.x86_64


Update not occuring. Tries the following dnf update --allowerasing, , dnf update --skip-broken . Nothing is working. Thanks in advance.

Re: update problems

PostPosted: Aug 15th, '22, 12:48
by sturmvogel
You installed (CentOS) 3rd party packages from an unknown source. You should know yourself how and why you did this. You can see this at the naming of the packages:
Code: Select all
anthy-9100h-26.el7.x86_64

This CentOS (el17) packages are not provided or maintained by Mageia and they are incompatible with the packages provided by Mageia. Dnf tries to install the official Mageia versions but is not able to, because you have higher versions (not supplied by Mageia) installed. So you borked your system.

Remove this third party packages, clean your system and retry your update.

[SOLVED ]Re: update problems

PostPosted: Aug 15th, '22, 13:09
by nwtmg
No idea what those packages were. One of them pertained to claws mail. Since I do not use it. It was removed. Problem fixed. Thanks.

Re: update problems

PostPosted: Aug 15th, '22, 13:15
by sturmvogel
If you install claws-mail from Mageia repositories it only pulls Mageia dependencys. So you must have installed the CentOS packages by hand.

Please don't forget to mark this topic solved by editing the title of your first post and adding [Solved] to it. Thanks ahead.

Re: {SOLVED }update problems

PostPosted: Aug 15th, '22, 13:20
by nwtmg
I would have no idea how to install that package by hand. Especially not from centos.

Re: {SOLVED }update problems

PostPosted: Aug 15th, '22, 13:30
by sturmvogel
"By hand" can also mean that you added external repositories via dnf. As the CentOS package versions (for lensfun, compface, anthy) where higher than the ones from Mageia, the CentOS versions got installed.

So you should check the contents of /etc/yum.repos.d for any external repositories.

Re: {SOLVED }update problems

PostPosted: Aug 15th, '22, 13:43
by nwtmg
contents of /etc/yum.repos.d

Code: Select all
epel.repo          google-earth-pro.repo  mageia-i586.repo          mageia-nonfree-x86_64.repo         mageia-tainted-i586.repo    mageia-tainted-x86_64-source.repo  mageia-x86_64-source.repo
epel-testing.repo  Kolab:16.repo          mageia-nonfree-i586.repo  mageia-nonfree-x86_64-source.repo  mageia-tainted-x86_64.repo  mageia-x86_64.repo                 skype-stable.repo


Checked the Kolab and located thiis
Code: Select all
http://obs.kolabsys.com/repositories/Kolab:/16/RHEL_7/


Looked at the url. I must have downloaded something some time ago.

Re: {SOLVED }update problems

PostPosted: Aug 15th, '22, 13:47
by sturmvogel
Code: Select all
epel.repo
epel-testing.repo
Kolab:16.repo

This are repos which don't belong on a Mageia system.

Re: {SOLVED }update problems

PostPosted: Aug 15th, '22, 14:12
by nwtmg
now gone. Thanks.