Ask Your Question
1

Conflicts trying to upgrade

asked 2018-05-11 18:10:00 -0600

toddandmargo gravatar image

Hi All,

How do I go about fixing this? I got two FC27 servers I am trying to upgrade doing the same thing (same errors):

# dnf system-upgrade download --refresh --releasever=28 --allowerasing --best

Many thanks, -T

Error: Transaction check error:
  file /usr/lib64/libjavascriptcoregtk-4.0.so.18 from install of webkit2gtk3-jsc-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-jsc-2.20.2-1.fc27.x86_64
  file /usr/bin/WebKitWebDriver from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/lib64/girepository-1.0/WebKit2-4.0.typelib from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/lib64/libwebkit2gtk-4.0.so.37 from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/lib64/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/libexec/webkit2gtk-4.0/MiniBrowser from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/libexec/webkit2gtk-4.0/WebKitNetworkProcess from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/libexec/webkit2gtk-4.0/WebKitPluginProcess from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/libexec/webkit2gtk-4.0/WebKitStorageProcess from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/libexec/webkit2gtk-4.0/WebKitWebProcess from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/libexec/webkit2gtk-4.0/jsc from install of webkit2gtk3-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-2.20.2-1.fc27.x86_64
  file /usr/libexec/webkit2gtk-4.0/WebKitPluginProcess2 from install of webkit2gtk3-plugin-process-gtk2-2.20.1-1.fc28.x86_64 conflicts with file from package webkitgtk4-plugin-process-gtk2-2.20.2-1.fc27.x86_64
edit retag flag offensive close merge delete

Comments

did you do sudo dnf upgrade --refresh first to make sure your software was all up to date? if so, then you may need to uninstall the software shown that conflicts, and wait for them to release new versions.

steveebey73742 gravatar imagesteveebey73742 ( 2018-05-11 19:06:07 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2018-05-12 00:14:58 -0600

villykruse gravatar image

updated 2018-05-12 01:27:58 -0600

Your version of webkigtgk4 is too new, that is, newer than the replacement from fc28, Therefore dnf will not do the "right thing", and keep webkigtgk4. You need to downgrade the webkit4 packages so dnf can see the webkit2gtk3 packages as newer replacements for the webkigtgk4 packages.

dnf downgrade webkitgtk4 webkitgtk4-jsc webkitgtk4-plugin-process-gtk2

Update:

fc28 just got new versions of webkit2gtk3 so the issue may have been fixed, and no action needed.

edit flag offensive delete link more

Comments

Yippee! Worked!

toddandmargo gravatar imagetoddandmargo ( 2018-05-12 01:31:58 -0600 )edit
0

answered 2018-05-11 19:08:45 -0600

ed209 gravatar image

In general, when one meets such messages before upgrade the best practice is to take note of conflicting packages, erase them, upgrade and reinstall those packages afterwards.

edit flag offensive delete link more

Comments

that would remove 85 packages!

toddandmargo gravatar imagetoddandmargo ( 2018-05-11 19:35:08 -0600 )edit

That's precisely the reason why you have to take note. Once you have a file with packages names, you can reinstall the whole list in no time with e.g. dnf install $(cat list.txt)

ed209 gravatar imageed209 ( 2018-05-12 10:35:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-05-11 18:10:00 -0600

Seen: 332 times

Last updated: May 12