Docker-desktop blocking updates with qemu conflicts

Today I started having this problem (I update my laptop every day, basically, from the stable channel) where docker-desktop where it wants to update qemu, but the options provided (qemu-git and qemu-headless-git) conflict with qemu-desktop which is installed and maybe used by docker-desktop until now? Here’s the full output (without rebuilding the packages as I’ve tried that a couple of times to see if it helped):

$ yay -Syua

:: Searching AUR for updates...
:: There are 2 providers available for qemu>=8.0.4:
:: Repository AUR
    1) qemu-git 2) qemu-headless-git 

Enter a number (default=1): 
==> 
 -> Packages not in AUR: libsidplay  systemd-fsck-silent  webkit2gtk-5.0
:: 1 dependency will also be installed for this operation.
   aur/qemu-git   -> 20:8.1.0.r83.g50e7a40af3-1

:: 1 package to upgrade/install.
1  aur/docker-desktop  4.22.0-2 -> 4.22.1-3
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Dependency (1): qemu-git-20:8.1.0.r83.g50e7a40af3-1
AUR Explicit (1): docker-desktop-4.22.1-3
:: PKGBUILD up to date, skipping download: docker-desktop
:: PKGBUILD up to date, skipping download: qemu-git
  2 qemu-git                                 (Build Files Exist)
  1 docker-desktop                           (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  2 docker-desktop                           (Installed) (Build Files Exist)
  1 qemu-git                                 (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: docker-desktop 4.22.1-3 (Fri 25 Aug 2023 08:43:16 PM WEST)
==> Retrieving sources...
  -> Found docker-desktop-4.22.1-x86_64.pkg.tar.zst
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
    docker-desktop-4.22.1-x86_64.pkg.tar.zst ... Passed
==> Making package: qemu-git 20:8.1.0.r83.g50e7a40af3-1 (Fri 25 Aug 2023 08:43:22 PM WEST)
==> Retrieving sources...
  -> Updating qemu git repo...
  -> Found qemu-guest-agent.service
  -> Found 65-kvm.rules
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    qemu ... Skipped
    qemu-guest-agent.service ... Passed
    65-kvm.rules ... Passed
:: (1/2) Parsing SRCINFO: docker-desktop
:: (2/2) Parsing SRCINFO: qemu-git
==> Making package: qemu-git 20:8.1.0.r83.g50e7a40af3-1 (Fri 25 Aug 2023 08:43:29 PM WEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating qemu git repo...
  -> Found qemu-guest-agent.service
  -> Found 65-kvm.rules
==> Validating source files with sha256sums...
    qemu ... Skipped
    qemu-guest-agent.service ... Passed
    65-kvm.rules ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of qemu git repo...
Cloning into 'qemu'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Sources are ready.
 -> qemu-git-20:8.1.0.r83.g50e7a40af3-1 already made -- skipping build
==> Making package: qemu-git 20:8.1.0.r83.g50e7a40af3-1 (Fri 25 Aug 2023 08:43:43 PM WEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Sources are ready.
loading packages...
resolving dependencies...
looking for conflicting packages...
:: qemu-git and qemu-desktop are in conflict (qemu). Remove qemu-desktop? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: qemu-git and qemu-desktop are in conflict
 -> Failed to install layer, rolling up to next layer.error:error installing: [/home/bruno/.cache/yay/qemu-git/qemu-git-20:8.1.0.r83.g50e7a40af3-1-x86_64.pkg.tar.zst] - exit status 1
==> Making package: qemu-git 20:8.1.0.r83.g50e7a40af3-1 (Fri 25 Aug 2023 08:44:08 PM WEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating qemu git repo...
  -> Found qemu-guest-agent.service
  -> Found 65-kvm.rules
==> Validating source files with sha256sums...
    qemu ... Skipped
    qemu-guest-agent.service ... Passed
    65-kvm.rules ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of qemu git repo...
Cloning into 'qemu'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Sources are ready.
 -> qemu-git-20:8.1.0.r83.g50e7a40af3-1 already made -- skipping build
==> Making package: qemu-git 20:8.1.0.r83.g50e7a40af3-1 (Fri 25 Aug 2023 08:44:24 PM WEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Sources are ready.
==> Making package: docker-desktop 4.22.1-3 (Fri 25 Aug 2023 08:44:25 PM WEST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> qemu>=8.0.4
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: docker-desktop-exit status 8
loading packages...
resolving dependencies...
looking for conflicting packages...
:: qemu-git and qemu-desktop are in conflict (qemu). Remove qemu-desktop? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing qemu-desktop breaks dependency 'qemu>=5.2.0' required by docker-desktop
:: removing qemu-desktop breaks dependency 'qemu-desktop' required by gnome-boxes
 -> error installing: [/home/bruno/.cache/yay/qemu-git/qemu-git-20:8.1.0.r83.g50e7a40af3-1-x86_64.pkg.tar.zst] - exit status 1
error installing: [/home/bruno/.cache/yay/qemu-git/qemu-git-20:8.1.0.r83.g50e7a40af3-1-x86_64.pkg.tar.zst] - exit status 1

It also doesn’t matter if I try to remove qemu-desktop or not (not removing won’t go through, and removing doesn’t work because docker-desktop and gnome-boxes depends on it). Additionally, choosing qemu-git or qemu-headless-git yields the same result.

The only relevant reference I’ve seen online is Qemu-base & Qemu-desktop conflicting dependencies - Unsupported Software (AUR & Other) - Garuda Linux Forum which is old and not really applicable here, I think. I also found nothing on GitHub - docker/desktop-linux: Bug reports for Docker Desktop for Linux

Docker Desktop works, it’s just not updating, which is annoying.

Any help will be appreciated, thanks!

Wait with update until qemu in repositories will be 8.0.4+ (you can also switch to testing or unstable branch for faster updates) or use Podman Desktop :wink:

4 Likes

Ohhhhhhhhhhhhhhhhh! Now I feel dumb, thanks! I saw qemu:8.1.0 being installed, but didn’t realize the problem was qemu-desktop didn’t “support it” yet. Welp, carry on!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.