You are not logged in.

#1 2026-07-04 00:17:15

Gendalf@Arch
Member
Registered: 2022-09-18
Posts: 11

[SOLVED] Pacman can't proceed with update because of webkit2gtk-5.0

Hi, I'm getting an error message when upgrading

sudo pacman -Syu
 ...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libjpeg-turbo (3.2.0-2) breaks dependency 'libjpeg' required by webkit2gtk-5.0

libjpeg is not installed, looks like it has been replaced with libjpeg-turbo in the last upgrade. But I see webkit2gtk-5.0 still 'Depends On' libjpeg:

pacman -Qi webkit2gtk-5.0
Name            : webkit2gtk-5.0
Version         : 2.38.6-1
Description     : Web content engine for GTK
Architecture    : x86_64
URL             : https://webkitgtk.org
Licenses        : custom
Groups          : None
Provides        : libjavascriptcoregtk-5.0.so=0-64  libwebkit2gtk-5.0.so=0-64
Depends On      : at-spi2-core  atk  bubblewrap  cairo  enchant  fontconfig  freetype2  glib2  gst-plugins-base-libs  gstreamer  gtk4  harfbuzz  harfbuzz-icu  hyphen  icu  libavif  libegl  libgcrypt  libgl
                  libgles  libice  libjpeg  libmanette  libnotify  libpng  libseccomp  libsecret  libsoup3  libsystemd  libtasn1  libwebp  libwpe  libx11  libxcomposite  libxext  libxml2  libxslt  libxt
                  openjpeg2  sqlite  wayland  woff2  wpebackend-fdo  xdg-dbus-proxy  zlib  libWPEBackend-fdo-1.0.so=1-64  libwpe-1.0.so=1-64
Optional Deps   : geoclue: Geolocation support [installed]
                  gst-libav: nonfree media decoding
                  gst-plugins-bad: media decoding
                  gst-plugins-good: media decoding [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 82.58 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Sat 22 Apr 2023 05:12:03 AM NZST
Install Date    : Tue 25 Apr 2023 08:42:04 PM NZST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

By the above the webkit2gtk-5.0 was installed as a dependency for another package but currently is not 'Required By' anything. Is it safe to remove the package? Or is it a meta package and there is some other fix?
The other observation is that the search for 'webkit2gtk' on Arch Package database gives me only webkit2gtk-4.1. https://archlinux.org/packages/?sort=&q … =&flagged=
I have 4.1 installed and it correctly depends on libjpeg-turbo.
Not sure if webkit2gtk-5.0 no longer supported (since it not in the package DB list) as the version is newer than 4.1.

Last edited by Gendalf@Arch (2026-07-04 01:06:04)

Offline

#2 2026-07-04 00:33:56

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,595
Website

Re: [SOLVED] Pacman can't proceed with update because of webkit2gtk-5.0

It is safe to remove. In fact, you should regularly clean up any "orphan" packages.

https://wiki.archlinux.org/title/System … d_packages


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2026-07-04 01:03:12

Gendalf@Arch
Member
Registered: 2022-09-18
Posts: 11

Re: [SOLVED] Pacman can't proceed with update because of webkit2gtk-5.0

Thank you! Removing the package resolved the issue. And, today I learned about the regular clean up of orphan packages, it turns out I have quite a lot of them over the years of using Arch.
I appreciate your help smile

Offline

Board footer

Powered by FluxBB