You are not logged in.

#1 2026-07-02 11:13:01

klein
Member
Registered: 2022-10-18
Posts: 11

[SOLVED] update issue libjpeg-turbo

good morning
having a small problem with updating, arch.

the morning update come up with this:

pacman -Syu 
:: Synchronizing package databases...
 core                            126.5 KiB   133 KiB/s 00:01 [--------------------------------] 100%
 extra                             8.3 MiB  1537 KiB/s 00:06 [--------------------------------] 100%
 multilib                        127.5 KiB   130 KiB/s 00:01 [--------------------------------] 100%
 chaotic-aur                     661.5 KiB  50.4 KiB/s 00:13 [--------------------------------] 100%
 arcolinux_repo                   49.5 KiB   105 KiB/s 00:00 [--------------------------------] 100%
 arcolinux_repo_3party           150.1 KiB   243 KiB/s 00:01 [--------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libjpeg' required by gtk4-git
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 gtk4-git

i tried reinstalling gtk4-git

subo pacman -S gtk4-git

i tryed to remove libjpeg

sudo pacman -R libjpeg 
error: target not found: libjpeg

so i'm stuck at this point? is there any thing i cam do?

i

Last edited by klein (2026-07-02 14:48:52)

Offline

#2 2026-07-02 11:35:03

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,177

Re: [SOLVED] update issue libjpeg-turbo

The virtual libjpeg was removed on purpose , see Remove the provision for libjpeg

Change libjpeg to libjpeg.so or libjpeg-turbo in the PKGBUILD.
Also add a comment about this on the gtk4-git aur page.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2026-07-02 12:40:58

mpan
Member
Registered: 2012-08-01
Posts: 1,612
Website

Re: [SOLVED] update issue libjpeg-turbo

After changing that in your PKGBUILDs, you need to rebuild and install them. In some affected cases a rebuild may be required simply because the so version has changed.

If you rely on somebody else’s PKGBUILDs (e.g. over AUR) and don’t want to keep your own PKBUILD separate from theirs (for whatever reason), you may temporarily make pacman think libjpeg dependency is satisfied with: `--assume-installed=libjpeg`. This will not help with packages that require a rebuild, This is also a temporary circumvention only(!) — to let the official packages be updated ASAP, while fixing the foreign ones is in progress.

That may also be needed if you don’t build in clean chroot and wish to avoid rebuilding packages twice: once merely to satisfy dependencies, once for the updated libjpeg-turbo.

Last edited by mpan (2026-07-02 12:41:20)

Offline

#4 2026-07-02 14:48:08

klein
Member
Registered: 2022-10-18
Posts: 11

Re: [SOLVED] update issue libjpeg-turbo

i fixed it by :
octopi
removed gtk4-git
installed gtk4

it looks to me this has already been reported in 2026.
the gtk4 makes firefox look a lot better.

Offline

#5 2026-07-02 19:58:57

tekstryder
Member
Registered: 2013-02-14
Posts: 574

Re: [SOLVED] update issue libjpeg-turbo

klein wrote:

the gtk4 makes firefox look a lot better.

Firefox uses GTK3, so no.

https://bugzilla.mozilla.org/show_bug.cgi?id=1701123

Unless you actually compiled FF from this branch.

https://github.com/credzba/firefox-gtk4-dev

Offline

#6 2026-07-03 08:43:15

larsinthewoods
Member
Registered: 2026-07-03
Posts: 1

Re: [SOLVED] update issue libjpeg-turbo

I had this exact error today. I solved it by replacing electron27 with electron27-bin from the AUR. After that regular updates worked. No editing of files needed.

Offline

#7 2026-07-03 16:33:31

Potomac
Member
Registered: 2011-12-25
Posts: 552

Re: [SOLVED] update issue libjpeg-turbo

I have similar errors, but others packages are also affected :

error: failed to prepare transaction (could not satisfy dependencies)
:: installing libjpeg-turbo (3.2.0-2) breaks dependency 'libjpeg' required by electron19
:: installing libjpeg-turbo (3.2.0-2) breaks dependency 'libjpeg' required by electron27
:: installing libtiff (4.7.2-1) breaks dependency 'libtiff=4.7.1' required by lib32-libtiff
:: installing libjpeg-turbo (3.2.0-2) breaks dependency 'libjpeg' required by ntk-git
:: installing libjpeg-turbo (3.2.0-2) breaks dependency 'libjpeg' required by xsane

Which package can replace xsane ?

Last edited by Potomac (2026-07-03 16:38:53)

Offline

#8 2026-07-03 16:44:20

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

Re: [SOLVED] update issue libjpeg-turbo

Mod note: Moving to AUR Issues.


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

#9 2026-07-03 20:28:47

mpan
Member
Registered: 2012-08-01
Posts: 1,612
Website

Re: [SOLVED] update issue libjpeg-turbo

Potomac, you don’t have to replace anything. Not due to the issue discussed in this thread, at least.

The packages declare a wrong dependency. That is all! All affected packages did work with libjpeg-turbo for years and, unless API backward compatibility is broken, are going to continue working with libjpeg-turbo for the foreseeable future. It’s an issue in package’s description. You can just rebuild the package with `depends` array corrected to indicate libjpeg-turbo instead of libjpeg.

If you delegate maintaining PKGBUILDs to somebody else (e.g. some AUR user) ping them about the need to make that update. In the meantime you may use my advice above as a temporary remedy where a rebuild due to so version change isn’t needed. Where needed, you’d have to rebuild anyway. With or without the libjpeg dependency situation.

Offline

#10 2026-07-04 13:57:02

RAMChYLD
Member
Registered: 2022-11-12
Posts: 10

Re: [SOLVED] update issue libjpeg-turbo

Having the same issue with xfig-git (yes, I'm an old fart). Suddenly refuses to build because it cannot find libjpeg.

Looks like I'm going to have to bring this up at the AUR.

Last edited by RAMChYLD (2026-07-04 14:03:03)

Offline

#11 Yesterday 14:38:51

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,361

Re: [SOLVED] update issue libjpeg-turbo

RAMChYLD wrote:

Having the same issue with xfig-git (yes, I'm an old fart). Suddenly refuses to build because it cannot find libjpeg.

Looks like I'm going to have to bring this up at the AUR.

Just change the PKGBUILD and

makepkg
sudo pacman -U ******

Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#12 Yesterday 18:39:44

killertofus
Member
Registered: 2025-02-10
Posts: 194

Re: [SOLVED] update issue libjpeg-turbo

arco is not Arch and is not supported here.

https://bbs.archlinux.org/misc.php?action=rules


I Have Linux Perl Can i Download Gnome???

Offline

#13 Yesterday 20:24:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,665

Re: [SOLVED] update issue libjpeg-turbo

killertofus wrote:

arco is not Arch and is not supported here.

Good catch.  But, as this is "solved" by the OP I could just close it.  But, there seem to be a couple Arch users still fighting the same issue, so I'll let this stay open -- for now.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#14 Today 07:47:24

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,177

Re: [SOLVED] update issue libjpeg-turbo

Keep in mind that the arch repos are listed above chaotic and arcolinux repos, so OP can still be running archlinux.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB