Fixing "Failed to install the following packages. Manual intervention is required:"

well i tried to install waydroid using the “yay” but it says
“Failed to install the following packages. Manual intervention is required:”
well idk what that means but can someone help me to fix this problem?

yay -S waydroid                                                                                        ✔  18s     base  
Sync Make Dependency (2): python-setuptools-1:75.2.0-2, cython-3.0.11-1
AUR Explicit (1): waydroid-1.4.3-1
AUR Dependency (1): python-gbinder-1.1.2-3
:: (1/2) Downloaded PKGBUILD: python-gbinder
:: (2/2) Downloaded PKGBUILD: waydroid
  2 waydroid                                 (Build Files Exist)
  1 python-gbinder                           (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/2): /home/ezey/.cache/yay/waydroid
HEAD is now at d19d582 upgrade to 1.4.3
:: Deleting (2/2): /home/ezey/.cache/yay/python-gbinder
HEAD is now at b68b6da apply pr 12
  2 waydroid                                 (Build Files Exist)
  1 python-gbinder                           (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
==> Making package: waydroid 1.4.3-1 (Sun 02 Feb 2025 04:27:45 PM +0545)
==> Retrieving sources...
  -> Cloning waydroid git repo...
Cloning into bare repository '/home/ezey/.cache/yay/waydroid/waydroid'...
remote: Enumerating objects: 3253, done.
remote: Counting objects: 100% (726/726), done.
remote: Compressing objects: 100% (205/205), done.
remote: Total 3253 (delta 615), reused 526 (delta 521), pack-reused 2527 (from 3)
Receiving objects: 100% (3253/3253), 1.22 MiB | 752.00 KiB/s, done.
Resolving deltas: 100% (2106/2106), done.
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    waydroid ... Passed
==> Making package: python-gbinder 1.1.2-3 (Sun 02 Feb 2025 04:27:51 PM +0545)
==> Retrieving sources...
  -> Cloning python-gbinder git repo...
Cloning into bare repository '/home/ezey/.cache/yay/python-gbinder/python-gbinder'...
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 100 (delta 38), reused 30 (delta 30), pack-reused 49 (from 1)
Receiving objects: 100% (100/100), 45.63 KiB | 531.00 KiB/s, done.
Resolving deltas: 100% (45/45), done.
  -> Found pr12.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    python-gbinder ... Passed
    pr12.patch ... Passed
:: Remove make dependencies after install? [y/N] n
:: (1/2) Parsing SRCINFO: waydroid
:: (2/2) Parsing SRCINFO: python-gbinder
resolving dependencies...
looking for conflicting packages...

Packages (9) python-autocommand-2.2.2-6  python-jaraco.collections-5.0.1-1  python-jaraco.context-5.3.0-1  python-jaraco.functools-4.0.2-1
             python-jaraco.text-4.0.0-1  python-more-itertools-10.3.0-1  python-platformdirs-4.3.6-1  cython-3.0.11-1
             python-setuptools-1:75.2.0-2

Total Installed Size:  27.34 MiB

:: Proceed with installation? [Y/n] y
(9/9) checking keys in keyring                                                      [################################################] 100%
(9/9) checking package integrity                                                    [################################################] 100%
(9/9) loading package files                                                         [################################################] 100%
(9/9) checking for file conflicts                                                   [################################################] 100%
(9/9) checking available disk space                                                 [################################################] 100%
:: Processing package changes...
(1/9) installing cython                                                             [################################################] 100%
(2/9) installing python-more-itertools                                              [################################################] 100%
(3/9) installing python-jaraco.functools                                            [################################################] 100%
(4/9) installing python-jaraco.context                                              [################################################] 100%
(5/9) installing python-autocommand                                                 [################################################] 100%
(6/9) installing python-jaraco.text                                                 [################################################] 100%
Optional dependencies for python-jaraco.text
    python-inflect: for show-newlines script
(7/9) installing python-jaraco.collections                                          [################################################] 100%
(8/9) installing python-platformdirs                                                [################################################] 100%
(9/9) installing python-setuptools                                                  [################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Making package: python-gbinder 1.1.2-3 (Sun 02 Feb 2025 04:28:05 PM +0545)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating python-gbinder git repo...
  -> Found pr12.patch
==> Validating source files with sha512sums...
    python-gbinder ... Passed
    pr12.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of python-gbinder git repo...
Cloning into 'python-gbinder'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file setup.py
==> Starting pkgver()...
==> Sources are ready.
==> Making package: python-gbinder 1.1.2-3 (Sun 02 Feb 2025 04:28:12 PM +0545)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
Traceback (most recent call last):
  File "/home/ezey/.cache/yay/python-gbinder/src/python-gbinder/setup.py", line 27, in <module>
    from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'
==> ERROR: A failure occurred in build().
    Aborting...
 -> Failed to install layer, rolling up to next layer.error:error making: python-gbinder - exit status 4
==> Making package: waydroid 1.4.3-1 (Sun 02 Feb 2025 04:28:13 PM +0545)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> python-gbinder
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: waydroid-exit status 8
==> Making package: python-gbinder 1.1.2-3 (Sun 02 Feb 2025 04:28:15 PM +0545)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating python-gbinder git repo...
  -> Found pr12.patch
==> Validating source files with sha512sums...
    python-gbinder ... Passed
    pr12.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of python-gbinder git repo...
Cloning into 'python-gbinder'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file setup.py
==> Starting pkgver()...
==> Sources are ready.
==> Making package: python-gbinder 1.1.2-3 (Sun 02 Feb 2025 04:28:21 PM +0545)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
  File "/home/ezey/.cache/yay/python-gbinder/src/python-gbinder/setup.py", line 27, in <module>
    from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-gbinder-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
waydroid - exit status 8
python-gbinder - exit status 4

You need to resolve all dependencies manually including cascading e.g. to build python-gbinder you need cython.

In this case you are missing cython

sudo pacman -Syu cython

yeah i had cython, when i tried to install again, it said

warning: cython-3.0.11-1 is up to date -- reinstalling

any other dependencies i need to install? cause i have no idea
and installation still didnt work, it said

 Making package: waydroid 1.4.3-1 (Sun 02 Feb 2025 04:58:52 PM +0545)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> python-gbinder
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: waydroid-exit status 8
 -> Failed to install the following packages. Manual intervention is required:
python-gbinder - exit status 4
waydroid - exit status 8

You are aware how Manjaro branches may interfere with AUR?
You are aware AUR is available but unsupported?

You are required to switch to unstable branch if you want to make sure custom scripts from AUR build correctly.

Please see → [Need-To-Know] About Manjaro and AUR
And see → Switching Branches - Manjaro

well how does that exactly helps in getting what i want tho…?

Switching to unstable branch and building waydroid using pamac - will get what you want.

sudo pacman-mirrors --api --set-branch unstable
sudo pacman -Syu base-devel --needed
pamac build waydroid

If that doesn’t do it, you have other issues.

2 Likes

uh well it says this now

Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Error: target not found: waydroid

It is a known issue with pamac.

See → Failing to read AUR data · Issue #6 · manjaro/pamac-cli · GitHub

You may be able to work around it

pamac update --force-refresh --aur --dry-run

Or

pamac update --force-refresh --aur

Or

sudo pamac update --force-refresh --aur