Update-problem libjpeg/libjpeg-turbo

beim update mit pacman -Syu erscheint seit mehreren tagen nur diese fehlermeldung:

Nach in Konflikt stehenden Paketen wird gesucht …
Fehler: Vorgang konnte nicht vorbereitet werden (Kann Abhängigkeiten nicht erfüllen)
:: Installation von libjpeg-turbo (3.2.0-2) verletzt Abhängigkeit »libjpeg«, benötigt von xsane

google-ergebnisse sind für mich nicht nachvollziehbar, da zu komplex; hat jemand eine einfache möglichkeit, damit fertig zu werden?

Same here. I’ve been ignoring it so I can update everything else for the last few days…

Bei mir genauso. Ich habe es erst einmal ignoriert, damit ich in den letzten Tagen alles andere aktualisieren konnte…

Only a minor adjustment to the PKGBUILD necessary.

To fix it yourself, download the package and edit it. This will download it:

yay -G xsane

Enter that directory and use the sed command below to replace any mention of 'libjpeg' with 'libjpeg-turbo':

cd xsane
sed -i "s/'libjpeg'/'libjpeg-turbo'/g" PKGBUILD

Now build and install it:

makepkg -sri

After installing, you can delete the xsane directory that created, and its contents.


Deutsch

Es ist lediglich eine geringfügige Anpassung an die `PKGBUILD` erforderlich.

Um das Problem selbst zu beheben, laden Sie das Paket herunter und bearbeiten Sie es. Hier können Sie es herunterladen:

yay -G xsane

Wechseln Sie in dieses Verzeichnis und verwenden Sie den folgenden sed-Befehl, um alle Vorkommen von 'libjpeg' durch 'libjpeg-turbo' zu ersetzen:

cd xsane
sed -i "s/'libjpeg'/'libjpeg-turbo'/g" PKGBUILD

Erstellen und installieren Sie das Paket nun:

makepkg -sri

Nach der Installation können Sie das dabei erstellte Verzeichnis xsane sowie dessen Inhalt löschen.

I ran into this issue the other day except it was a dependency of something else not xsane


I removed the libuvc package and then updated without issue. So The same solution may not work for all instances of this particular error and you should pay attention to what is being told to you at the command line.

That’s a good point. I’ve now modified my sed command to be more general, so it should work on any package to change 'libjpeg' to 'libjpeg-turbo'.

thanx a lot, hat funktioniert

Thx for that! :+1:

I simply changed from xsane to gscan2pdf to solve it and deleted xsane before.

Thx a bunch mate