Routine F43 upgrade fails with errors, unable to rectify

For about the last month, routine upgrades fail with the following error messages:

Running transaction
Transaction failed: Rpm transaction failed.

  • file /usr/share/doc/glib2/NEWS from install of glib2-2.86.3-1.fc43.i686 conflicts with file from package glib2-2.86.2-1.fc43.x86_64
  • file /usr/share/alsa/cards/AACI.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/ATIIXP-MODEM.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/ATIIXP-SPDMA.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/ATIIXP.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/AU8810.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/AU8820.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/AU8830.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/Audigy.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/Audigy2.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/Aureon51.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/Aureon71.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/CA0106.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/CMI8338-SWIEC.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/CMI8338.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/CMI8738-MC6.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/CMI8738-MC8.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/CMI8788.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/CS46xx.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • file /usr/share/alsa/cards/EMU10K1.conf from install of alsa-lib-1.2.15-4.fc43.i686 conflicts with file from package alsa-lib-1.2.14-4.fc43.x86_64
  • etc…

I have tried - -skip-broken, which is now apparently unsupported for use with upgrade.

I understand from what research that appeared relevant that this is a conflict between 64 and 32 bit packages?

I have tried removing the alsa and glib packages, which transaction was refused.

Nothing else I have been able to source online has helped - or even been relevant.

Suggestions?

x86_64 and i686 packages being installed should normally not be a problem but in this case you have two different versions being pulled in for some reason, which then do conflict on innocuous files like the “NEWS” file from glib2 I highlighted here (because the contents will actually be different).

Not sure how you ended up in this situation, but it appears that either the x86_64 and i686 repos are out of sync with each other, or your system suffered some kind of partial upgrade (maybe caused by a dnf crash).

1 Like

Most of those errors show that alsa-lib-1.2.15-4.fc43.i686 is a newer version than alsa-lib-1.2.14-4.fc43.x86_64

SImilarly glib2-2.86.3-1.fc43.i686 is a newer version than glib2-2.86.2-1.fc43.x86_64

I have these installed and all are available from the updates repo.

$ sudo dnf list --available glib2 alsa-lib
Updating and loading repositories:
Repositories loaded.
Available packages
alsa-lib.i686   1.2.15-4.fc43 updates
alsa-lib.x86_64 1.2.15-4.fc43 updates
glib2.i686      2.86.3-1.fc43 updates
glib2.x86_64    2.86.3-1.fc43 updates

Which would appear to mean that the mirror your updates are coming from may be missing the updated x86_64 packages or that your metadata is corrupted.
First try sudo dnf clean all then try sudo dnf upgrade --refresh or sudo dnf distro-sync --refresh. If the mirror is in sync this should work.

1 Like

Fabio,

Yup, that’s what it appears to me also.

Problem is, how do I overcome this?

-- 

Regards,

Greg Sheppard
Mob: 0429 943 886
:australia:

Tried clean all already, also distro-sync

Just tried distro-sync --refresh - that seems to have solved the problem.

Thanks!

-- 

Regards,

Greg Sheppard
Mob: 0429 943 886
:australia:

2 Likes

That seems to indicate that your metadata was not fully in sync and the --refresh option forced it to download new metadata with everything in sync.

1 Like

Someone else had a similar problems and solved it by deleting all the i686 packages: