[SOLVED] Error: failed to prepare transaction (installing boost-libs (1.91.0-1) breaks dependencies)

Not sure what’s hoing on here. Seems to have something to do with dwarfs. Ideas?

─❯ yay
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 8 packages to upgrade/install.
8  extra/boost-libs            1.90.0-4   -> 1.91.0-1
7  extra/fluidsynth            2.5.3-2    -> 2.5.4-1
6  extra/imath                 3.2.2-4    -> 3.2.2-5
5  extra/libcmis               0.6.2-8    -> 0.6.2-9
4  extra/libixion              0.20.0-6   -> 0.20.0-7
3  extra/liborcus              0.21.0-5   -> 0.21.0-6
2  extra/libreoffice-fresh     26.2.2-4   -> 26.2.2-5
1  extra/libtorrent-rasterbar  1:2.0.12-2 -> 1:2.0.12-3
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
Sync Explicit (1): libreoffice-fresh-26.2.2-5
Sync Dependency (7): libtorrent-rasterbar-1:2.0.12-3, boost-libs-1.91.0-1, fluidsynth-2.5.4-1, imath-3.2.2-5, libcmis-0.6.2-9, libixion-0.20.0-7, liborcus-0.21.0-6
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 cidercollective is up to date
 chaotic-aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing boost-libs (1.91.0-1) breaks dependency 'libboost_chrono.so=1.90.0-64' required by dwarfs
:: installing boost-libs (1.91.0-1) breaks dependency 'libboost_filesystem.so=1.90.0-64' required by dwarfs
:: installing boost-libs (1.91.0-1) breaks dependency 'libboost_process.so=1.90.0-64' required by dwarfs
:: installing boost-libs (1.91.0-1) breaks dependency 'libboost_program_options.so=1.90.0-64' required by dwarfs
 -> error installing repo packages
─❯

Kick dwarfs out or wait until this AUR package has been updated.

This is the downside of using external repos like cidercollective, chaotic-aur and the likes…

If the AUR PKGBUILD has already been updated, just disable the Chaotic-AUR temporarily in your pacman config and then use your AUR helper to update and then enable the Chaotic-AUR again.

I tried that. Disabled Chaotic AUR and cidercollective. No luck.

I’ll just wait a bit and see if updates happen regarding dwarfs, boost-libs, and/or gearlever.

─❯ sudo pacman -Syuu

[sudo] password for wombat: 
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing boost-libs (1.91.0-1) breaks dependency 'libboost_chrono.so=1.90.0-64' required by dwarfs
:: installing boost-libs (1.91.0-1) breaks dependency 'libboost_filesystem.so=1.90.0-64' required by dwarfs
:: installing boost-libs (1.91.0-1) breaks dependency 'libboost_process.so=1.90.0-64' required by dwarfs
:: installing boost-libs (1.91.0-1) breaks dependency 'libboost_program_options.so=1.90.0-64' required by dwarfs
─❯

SOLVED!

I installed dwarfs-bin which in turn removed dwarfs and then updated without issue.

─❯ yay -S dwarfs-bin
AUR Explicit (1): dwarfs-bin-0.15.3-1
:: (1/1) Downloaded PKGBUILD: dwarfs-bin
  1 dwarfs-bin                       (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 dwarfs-bin                       (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: dwarfs-bin 0.15.3-1 (Sat 25 Apr 2026 06:34:24 AM CDT)
==> Retrieving sources...
  -> Downloading dwarfs-0.15.3-Linux-x86_64.tar.xz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
100  3.90M 100  3.90M   0      0 10.56M      0                              0
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source_x86_64 files with sha256sums...
    dwarfs-0.15.3-Linux-x86_64.tar.xz ... Passed
:: (1/1) Parsing SRCINFO: dwarfs-bin
==> Making package: dwarfs-bin 0.15.3-1 (Sat 25 Apr 2026 06:34:32 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found dwarfs-0.15.3-Linux-x86_64.tar.xz
==> Validating source_x86_64 files with sha256sums...
    dwarfs-0.15.3-Linux-x86_64.tar.xz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting dwarfs-0.15.3-Linux-x86_64.tar.xz with bsdtar
==> Sources are ready.
==> Making package: dwarfs-bin 0.15.3-1 (Sat 25 Apr 2026 06:34:43 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Removing static library files...
  -> Purging unwanted files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "dwarfs-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: dwarfs-bin 0.15.3-1 (Sat 25 Apr 2026 06:34:51 AM CDT)
==> Cleaning up...
[sudo] password for wombat: 
loading packages...
resolving dependencies...
looking for conflicting packages...
:: dwarfs-bin-0.15.3-1 and dwarfs-0.15.3-1 are in conflict. Remove dwarfs? [y/N] y

Package (2)  Old Version  New Version  Net Change

dwarfs       0.15.3-1                  -11.23 MiB
dwarfs-bin                0.15.3-1      23.65 MiB

Total Installed Size:  23.65 MiB
Net Upgrade Size:      12.42 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                               [-------------------------------------------] 100%
(1/1) checking package integrity                                             [-------------------------------------------] 100%
(1/1) loading package files                                                  [-------------------------------------------] 100%
(1/1) checking for file conflicts                                            [-------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Scanning packages for security issues...

  ╔╦╗╦═╗╔═╗╦ ╦╦═╗
   ║ ╠╦╝╠═╣║ ║╠╦╝
   ╩ ╩╚═╩ ╩╚═╝╩╚═
  Trust scoring for AUR packages

  Fetching maintainer data for 1 unique maintainers...
  Scanned: 1 package(s)                                                 
  TRUSTED: 1

traur: dwarfs-bin (trust: 100/100)
  Trust: TRUSTED
  No negative signals found.

  All packages look clean.
:: Processing package changes...
(1/1) removing dwarfs                                                        [-------------------------------------------] 100%
(1/1) installing dwarfs-bin                                                  [-------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Updating the MIME type database...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Updating the desktop file MIME type cache...

╭─    ~ ─────────────────────────────────────────────────────────────────────────────────────────  1m 6s  06:35:17 AM 
╰─❯ yay
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 cidercollective is up to date
 chaotic-aur is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 1 package to upgrade/install.
1  extra/boost-libs  1.90.0-4 -> 1.91.0-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
Sync Dependency (1): boost-libs-1.91.0-1
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 cidercollective is up to date
 chaotic-aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1)       Old Version  New Version  Net Change  Download Size

extra/boost-libs  1.90.0-4     1.91.0-1      -1.70 MiB       5.85 MiB

Total Download Size:    5.85 MiB
Total Installed Size:  48.98 MiB
Net Upgrade Size:      -1.70 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 boost-libs-1.91.0-1-x86_64                        5.8 MiB  18.7 MiB/s 00:00 [-------------------------------------------] 100%
(1/1) checking keys in keyring                                               [-------------------------------------------] 100%
(1/1) checking package integrity                                             [-------------------------------------------] 100%
(1/1) loading package files                                                  [-------------------------------------------] 100%
(1/1) checking for file conflicts                                            [-------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Scanning packages for security issues...
:: Processing package changes...
(1/1) upgrading boost-libs                                                   [-------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Checking which packages need to be rebuilt
─❯

You could have removed dwarf, updated your system and re install dwarf again.

The problem is most likely that it need to rebuild after updating.

Nope, dwarfs is a dependancy of gearlever, which I use.

Yes, but it’s tied to the old boost-libs version because that’s what it was built against.

All I can say is that attempting to remove dwarfs did not work because of gearleaver. Regardless, moving to dwarfs-bin solved the problem.

It got around that immediate dependency issue and permitted boost-libs to install.

With that done now, if you wanted to, you should now be able to re-install dwarfs. Unless you’re specifically needing an optimised build (assuming you have /etc/makepkg.conf tuned), using the -bin version is probably going to serve you just as well though and save you these kinds of hassles.