Problem installing libjpeg-turbo

I have the same issue when I try to use Pamac to update my Manjaro with the July 11 2026 update I get a popup saying:

Failed to Prepare Transaction
could not satisfy dependencies:

  • installing libjpeg-turbo (3.2.0-2) breaks dependency ‘libjpeg’ required by webkit2gtk-5.0
  • if possible, remove webkit2gtk-5.0 and retry

I cannot understand what they are talking about in that AUR page.

I have used these commands and (I think) I removed webkit2gtk-5.0:

pacman -Qtd
cd /var/cache/pacman/pkg/
ls -al webkit2gtk-2.50*
sudo rm webkit2gtk-2.50*
ls -al webkit2gtk-2.50*
pactree -r webkit2gtk
pactree -r webkit2gtk
sudo pacman -R webkit2gtk
pacman -Qtd
cd /var/cache/pacman/pkg/
ls -al webkit2gtk-2.50*
pacman -Qi webkit2gtk-5.0

But after removing the package when I do this:
pacman -Qtd
webkit2gtk-5.0 2.38.6-1 <---- still shows up in the list.

But when I do this:
$ pactree -r webkit2gtk
error: package ‘webkit2gtk’ not found

Can someone please help me? I think I need to remove webkit2gtk-5.0 but I don’t know how to.

Thanks,

Flex


Mod edit:- Please note that all code, commands or command output should be presented as pre-formatted text as per forum guidelines. Remedied for you, this time. No charge.


[Mini-HowTo] Present code or command output

Note: Grave accent (or, backtick) characters are used. :eyes:

For inline code or to show a single command:

  • please follow this simple example: code here.

For multi-line command output:

  • place text beween two rows of three (```) backtick characters to form a scrollable text box, or …
  • use the </> button in the Compose window to achieve the same result.

The empty row between these rows of backtick characters is where to paste any multi-line command output (such as inxi).

An example of a pre-formatted text enclosure:

What is a Quark?

A. In Physics, an elementary particle and fundamental constituent of matter. 
B. A character from the Star Trek: "Deep Space Nine" television series.
C. A soft, creamy, usually unsalted cheese traditional to central Europe.

if possible, remove webkit2gtk-5.0 and retry

Try removing webkit2gtk as the warning suggests:

sudo pacman -Rns webkit2gtk

Then try performing the update again:

sudo pacman -Syu

Turns out I was using the wrong command to remove the webkit package.

In the end i had to run both of these commands and then the update went through.

sudo pacman -Rns webkit2gtk-5.0
sudo pacman -Rns transcode

Nothing was depending on the transcode package as revealed using:

pactree -r transcode

And the webkit2gtk-5.0 package was an orphan package on my system as revealed with this command:
pacman -Qtd

Note that not all orphans are strictly such.

If there happens to be a stand-alone package that neither has dependencies, nor is dependent on any other package, it will still be detected as an orphan.

This is just to highlight the importance of checking the list of orphans returned, just in case a package is actually needed.

Always check first;

pacman -Qdtq

and any you wish to keep, mark as explicitly installed;

sudo pacman -D --asexplicit <package-name>

before removing the listed orphans:

sudo pacman -Rns $(pacman -Qdtq)

webkit2gtk and webkit2gtk-5.0 is not the same. The 5.0 was removed from arch for having a security vulnerability.

General advice: do not use aur extensively on stable branch of manjaro and before you really learn the arch ecosystem. For troublefree computing - install only from the repos. Or flatpaks, appimages. With aur packages you really should know what is what. And yo don’t.