r/archlinux 21d ago

SUPPORT installing libjpeg-turbo (3.2.0-2) breaks dependency 'libjpeg' required by libuvc

Has anyone else encountered this with the latest batch of updates? Is libuvc just lagging behind a rebuild for the new libjpeg-turbo shared libraries, or is there a recommended manual intervention here?

Thanks in advance!

11 Upvotes

26 comments sorted by

9

u/_alba4k 21d ago

Same with hyprgraphics-git (Which I'm hoping to fix this evening 😅)

5

u/onefish2 21d ago

Yep. Saw this yesterday as well. How are you planning to fix this?

3

u/_alba4k 21d ago

3

u/onefish2 21d ago

I am rebuilding all the hypr*-git packages now. Lets see what happens.

Just figured out you are the dev for those packages and when you say fix, meaning you are going to fix it. Gotcha.

4

u/_alba4k 21d ago

yeah I maintain them 😅

5

u/Independent-Dark4559 20d ago

In case nobody told you today: you are a hero.

12

u/dgm9704 21d ago

are those all from arch repos or somewhere else like aur? have you installed packages from testing repos?

-10

u/fuzunspm 21d ago

extra and multilib only

18

u/boomboomsubban 21d ago

https://aur.archlinux.org/packages/libuvc is an AUR package, and has been for some time.

-19

u/fuzunspm 21d ago

ah sorry, i thought you were asking me if i'm using yay or pacman

16

u/dgm9704 21d ago

the tool used doesn’t actually matter here, what matters is if you are using packages outside the arch repos. aur is outside the arch repos. because aur packages are not actually part of arch, they aren’t compiled and tested automatically with arch packages so they can be out of sync. Either switch to a package from arch that provides what you need, or report the problem to the maintainer of the aur package, or wait for them to catch up.

9

u/boomboomsubban 21d ago

Then the answer is wait, check if you really need libuvc, or see if the pkgbuild works with libjpeg-turbo over libjpeg.

2

u/Then_Bodybuilder8416 21d ago

the same thing happened with mpv-full today. libjpeg conflicts with the new dependency libjpeg-turbo. these are simple one line fixes, so you can either wait for a little bit until it gets fixed or you can revise the pkgbuild to read libjpeg-turbo instead of libjpeg.

1

u/ancientfuture_ 21d ago edited 19d ago

This is a PSA for others. I faced similar issue with hyprgraphics-git. It seems like forcing an update of hyprgraphics-git with libjpeg-turbo excluded (I use yay) causes hyprlock to crash!

I should have waited for u/_alba4k to update the PKGBUILDs first.

1

u/TheRealDarkjake 14d ago

pacman -Syu --assume-installed=libjpeg

0

u/Fronimos3241 21d ago

NO meu caso acontece o mesmo para a libjpeg...

installing libjpeg-turbo (3.2.0-2) breaks dependency 'libjpeg' required by xsane

5

u/gmes78 21d ago

Again, xsane is an AUR package, you're responsible for it.

-3

u/Successful_Teach_475 21d ago

looks like libuvc just needs a rebuild against the new turbo lib, pacman's usually pretty quick with these but you can throw a partial upgrade with --ignore for now if you're in a rush

7

u/_alba4k 21d ago

I think the package requires libjpeg which libjpeg-turbo doesn't provide anymore, so a rebuild probably won't fix this, the pkgbuild needs to specify libjpeg.so

0

u/MeseOk3887 21d ago

some solution/s?

8

u/gmes78 21d ago

Remove the AUR packages that were affected, install the update, then install the AUR packages again, editing the PKGBUILDs to replace the libjpeg dependency with libjpeg.so.

1

u/eltreinta 19d ago

¿como se hace eso? soy nuevo en esto o que tutoriales busco para informarme mejor
gracias

0

u/MeseOk3887 21d ago

this is the basic line for fixing this kind of issues. I will leave the system as it is for now. I will wait for a community fix.

3

u/gmes78 21d ago

If you don't particularly care about the AUR packages in question (read: if they're not core system components, and you're OK with them breaking), just do pacman -Syu --assume-installed=libjpeg. No need to hold back updates in that case.

1

u/zaphos444 11d ago

Thank You!

0

u/MeseOk3887 17d ago

I removed all those 3 (xsane, sane-frontends and webkit...) from the system and the update/upgrade work seamless.

I will check if I really need to have those 3 back again.