Unable to install Anbox

Hello.
After going to Garuda Gamer (from Garuda Welcome)
Then from the Emulators tab I select Anbox and click Apply

How can I resolve this?

resolving dependencies...
:: There are 2 providers available for anbox-image:
:: Repository chaotic-aur
1) anbox-image-gapps-magisk  2) anbox-image-houdini-rooted

Enter a number (default=1):
looking for conflicting packages...

Packages (6) anbox-git-1:r1358.84f0268-8  anbox-image-gapps-magisk-2018.07.19-17
libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1  lxc-git-lxc.4.0.0.2209-1
sdbus-cpp-1.1.0-2  anbox-support-1.1.0-1

Total Download Size:     0.03 MiB
Total Installed Size:  476.46 MiB

:: Proceed with installation? [Y/n]  
:: Retrieving packages...
libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from g
eo-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from c
dn-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from u
s-ut-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from e
s-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from e
s-2-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from d
e-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from d
e-2-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from d
e-3-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from d
e-4-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from f
r-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from b
r-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from k
r-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from b
g-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from c
a-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from i
n-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from i
n-2-mirror.chaotic.cx : The requested URL returned error: 404
error: failed retrieving file 'libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst' from m
irror.freedif.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
Press enter to exit
System:
Kernel: 5.17.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6d358332-1121-46d2-a2c5-bd235a269b18 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=c06ef7ff-534a-46d8-a0e0-a3052b377e5f loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20X7005AUS v: ThinkPad L15 Gen 2a
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 20X7005AUS serial: <superuser required> UEFI: LENOVO
v: R1KET36W (1.21 ) date: 11/25/2021
Battery:
ID-1: BAT0 charge: 42.8 Wh (96.0%) condition: 44.6/45.7 Wh (97.6%)
volts: 12.3 min: 11.1 model: SMP LNV-5B10W13896 type: Li-poly
serial: <filter> status: not charging cycles: 9
CPU:
Info: model: AMD Ryzen 7 PRO 5850U with Radeon Graphics bits: 64
type: MT MCP arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 2352 high: 4035 min/max: 1600/4505 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 2312 2: 4035
3: 1497 4: 2166 5: 1676 6: 1631 7: 3546 8: 1437 9: 3613 10: 1396 11: 2661
12: 3549 13: 2412 14: 2155 15: 1915 16: 1638 bogomips: 60689
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Cezanne vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
active: DP-2,HDMI-A-1,eDP-1 empty: DP-1 bus-ID: 07:00.0
chip-ID: 1002:1638 class-ID: 0300
Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-2:2
chip-ID: 5986:212b class-ID: 0e02
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3000x2160 s-dpi: 96 s-size: 791x570mm (31.14x22.44")
s-diag: 975mm (38.38")
Monitor-1: DP-2 mapped: DisplayPort-1 pos: primary,top-left
model: Samsung serial: <filter> built: 2009 res: 1920x1080 dpi: 305
gamma: 1.2 size: 160x90mm (6.3x3.54") diag: 184mm (7.2") ratio: 16:9
modes: max: 1920x1080 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: bottom-r model: HP E223
serial: <filter> built: 2017 res: 1080x1920 hz: 60 dpi: 102 gamma: 1.2
size: 268x476mm (10.55x18.74") diag: 546mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-3: eDP-1 mapped: eDP pos: primary,middle-l
model: AU Optronics 0x2e8d built: 2019 res: 1920x1080 hz: 60 dpi: 142
gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
modes: max: 1920x1080 min: 640x480
OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.44 5.17.4-zen1-1-zen)
v: 4.6 Mesa 22.0.2 direct render: Yes
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 07:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
snd_pci_acp6x, snd_sof_amd_renoir
pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
bus-ID: 07:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 07:00.6 chip-ID: 1022:15e3
class-ID: 0403
Device-4: C-Media USB Advanced Audio Device type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-1.3.1:6
chip-ID: 0d8c:0021 class-ID: 0300
Sound Server-1: ALSA v: k5.17.4-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0f0 state: down mac: <filter>
Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
vendor: Lenovo driver: rtw89_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8852 class-ID: 0280
IF: wlp3s0 state: down mac: <filter>
Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
driver: r8152 bus-ID: 6-1.1:3 chip-ID: 0bda:8153 class-ID: 0000
serial: <filter>
IF: enp7s0f4u1u1 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 5-4:3 chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 109.96 GiB (23.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFS512GDE9X081N
size: 476.94 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 41720C20
temp: 44.9 C scheme: GPT
Partition:
ID-1: / raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 26.22 GiB (26.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
maj-min: 259:3
ID-2: /boot/efi raw-size: 1000 MiB size: 998 MiB (99.80%)
used: 580 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 358.77 GiB size: 358.77 GiB (100.00%)
used: 83.74 GiB (23.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p4
maj-min: 259:4
ID-4: /var/log raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 26.22 GiB (26.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
maj-min: 259:3
ID-5: /var/tmp raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 26.22 GiB (26.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
maj-min: 259:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 19.53 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: swap-2 type: zram size: 14.53 GiB used: 2.5 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 55.0 C mobo: N/A gpu: amdgpu temp: 48.0 C
Fan Speeds (RPM): fan-1: 4367
Info:
Processes: 393 Uptime: 3h 56m wakeups: 2 Memory: 14.53 GiB
used: 6.84 GiB (47.1%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 Packages: pacman: 1912 lib: 554 Shell: fish v: 3.4.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Garuda (2.6.2-1):
System install date:     2022-04-06
Last full system update: 2022-04-27
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

I'm not a developer, but I guess anbox-git needs a rebuild (and/or some kind of adjustment).
I see it's trying to download as dependency

libcpufeatures-git-0.7.0+10.r279.d20220414.7fe96b1-1-x86_64.pkg.tar.zst

but in the chaotic repo I seem to see a newer version:

libcpufeatures-git-0.7.0+12.r281.d20220427.0bf4ea0-1-x86_64.pkg.tar.zst

In-fact I see the last build failed here:
https://builds.garudalinux.org/repos/chaotic-aur/logs/anbox-git.log
Am I right @dr460nf1r3 ? :slight_smile:

1 Like

Uhm, the build itself was successful (the same pkgver exists already), to me it looks like the database might be outdated rather than an actual Anbox bug :eyes:
Can you try installing the package manually, to force refreshing it?

sudo pacman -Syu anbox-support
1 Like

Full output is below.
Anbox now appears in the application menu,
however nothing happens after it's clicked.

╰─λ sudo pacman -Syu anbox-support
[sudo] password for unaware:        
:: Synchronizing package databases...
core                                  156.9 KiB  1105 KiB/s 00:00 [------------------------------------] 100%
extra                                1700.6 KiB  8.14 MiB/s 00:00 [------------------------------------] 100%
community                               6.6 MiB  15.6 MiB/s 00:00 [------------------------------------] 100%
multilib                              175.7 KiB  1352 KiB/s 00:00 [------------------------------------] 100%
chaotic-aur                          1736.4 KiB  3.52 MiB/s 00:00 [------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
:: There are 2 providers available for anbox-image:
:: Repository chaotic-aur
1) anbox-image-gapps-magisk  2) anbox-image-houdini-rooted

Enter a number (default=1): 
looking for conflicting packages...

Packages (10) anbox-git-1:r1358.84f0268-8  anbox-image-gapps-magisk-2018.07.19-17  irqbalance-1.8.0-2
libcpufeatures-git-0.7.0+12.r281.d20220427.0bf4ea0-1  linux-zen-5.17.5.zen1-1
linux-zen-headers-5.17.5.zen1-1  lxc-git-lxc.4.0.0.2209-1  mtr-0.95-3  sdbus-cpp-1.1.0-2
anbox-support-1.1.0-1

Total Download Size:   191.02 MiB
Total Installed Size:  785.00 MiB
Net Upgrade Size:      476.51 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
libcpufeatures-git-0.7.0+12.r281...    34.4 KiB   156 KiB/s 00:00 [------------------------------------] 100%
mtr-0.95-3-x86_64                      50.5 KiB   205 KiB/s 00:00 [------------------------------------] 100%
irqbalance-1.8.0-2-x86_64              41.9 KiB   167 KiB/s 00:00 [------------------------------------] 100%
linux-zen-headers-5.17.5.zen1-1-...    26.8 MiB  15.8 MiB/s 00:02 [------------------------------------] 100%
linux-zen-5.17.5.zen1-1-x86_64        164.1 MiB  23.2 MiB/s 00:07 [------------------------------------] 100%
Total (5/5)                           191.0 MiB  26.9 MiB/s 00:07 [------------------------------------] 100%
(10/10) checking keys in keyring                                   [------------------------------------] 100%
(10/10) checking package integrity                                 [------------------------------------] 100%
(10/10) loading package files                                      [------------------------------------] 100%
(10/10) checking for file conflicts                                [------------------------------------] 100%
(10/10) checking available disk space                              [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/4) Performing snapper pre snapshots for the following configurations...
==> root: 102
(2/4) Saving Linux kernel modules...
(3/4) Removing linux initcpios...
(4/4) Remove DKMS modules
==> dkms remove --no-depmod vboxhost/6.1.34_OSE -k 5.17.4-zen1-1-zen
==> depmod 5.17.4-zen1-1-zen
:: Processing package changes...
( 1/10) installing lxc-git                                         [------------------------------------] 100%
Optional dependencies for lxc-git
dnsmasq: lxc-net.service [installed]
lua [installed]
lua-filesystem: lxc-top
lua-alt-getopt: lxc-top
( 2/10) installing anbox-image-gapps-magisk                        [------------------------------------] 100%
( 3/10) installing libcpufeatures-git                              [------------------------------------] 100%
( 4/10) installing sdbus-cpp                                       [------------------------------------] 100%
( 5/10) installing anbox-git                                       [------------------------------------] 100%
( 6/10) installing anbox-support                                   [------------------------------------] 100%
Created symlink /etc/systemd/system/multi-user.target.wants/anbox-container-manager.service → /usr/lib/systemd/system/anbox-container-manager.service.
Created symlink /etc/systemd/system/anbox-container-manager.service.wants/dev-binderfs.mount → /usr/lib/systemd/system/dev-binderfs.mount.
Created symlink /etc/systemd/system/dbus-org.freedesktop.network1.service → /usr/lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-networkd.service → /usr/lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/sockets.target.wants/systemd-networkd.socket → /usr/lib/systemd/system/systemd-networkd.socket.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-network-generator.service → /usr/lib/systemd/system/systemd-network-generator.service.
Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service → /usr/lib/systemd/system/systemd-networkd-wait-online.service.
Created symlink /etc/systemd/user/default.target.wants/anbox-session-manager.service → /usr/lib/systemd/user/anbox-session-manager.service.
Failed to connect to bus: No medium found
( 7/10) upgrading irqbalance                                       [------------------------------------] 100%
( 8/10) upgrading linux-zen                                        [------------------------------------] 100%
( 9/10) upgrading linux-zen-headers                                [------------------------------------] 100%
(10/10) upgrading mtr                                              [------------------------------------] 100%
:: Running post-transaction hooks...
( 1/16) Restoring Linux kernel modules...
++ uname -r
+ KVER=5.17.4-zen1-1-zen
+ test -e /usr/lib/modules/backup/5.17.4-zen1-1-zen
+ rsync -AHXal --ignore-existing /usr/lib/modules/backup/5.17.4-zen1-1-zen /usr/lib/modules/
+ rm -rf /usr/lib/modules/backup
( 2/16) Reloading system manager configuration...
( 3/16) Creating temporary files...
Failed to write file "/sys/module/pcie_aspm/parameters/policy": Operation not permitted
error: command failed to execute correctly
( 4/16) Reloading device manager configuration...
( 5/16) Arming ConditionNeedsUpdate...
( 6/16) Updating module dependencies...
( 7/16) Install DKMS modules
==> dkms install --no-depmod vboxhost/6.1.34_OSE -k 5.17.5-zen1-1-zen
==> depmod 5.17.5-zen1-1-zen
( 8/16) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.17.5-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
-> Running build hook: [grub-btrfs-overlayfs]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 5.17.5-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
-> Running build hook: [grub-btrfs-overlayfs]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> Image generation successful
( 9/16) Refreshing PackageKit...
(10/16) GRUB update after transactions...
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Garuda Linux on /dev/nvme0n1p3
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2022-04-28 06:12:53 | @/.snapshots/102/snapshot          | pre  | pacman -Syu anbox-support   |
Found snapshot: 2022-04-28 01:26:06 | @/.snapshots/101/snapshot          | post | autorandr gpsd              |
Found snapshot: 2022-04-28 01:26:05 | @/.snapshots/100/snapshot          | pre  | pacman -Su                  |
Found snapshot: 2022-04-28 01:24:07 | @/.snapshots/99/snapshot           | post | screen                      |
Found snapshot: 2022-04-28 01:24:06 | @/.snapshots/98/snapshot           | pre  | pacman -Sy screen           |
Found snapshot: 2022-04-28 01:02:28 | @/.snapshots/97/snapshot           | post | alsa-card-profiles android-tools containerd fscrypt gmic gnome-desktop g |
Found snapshot: 2022-04-28 01:02:26 | @/.snapshots/96/snapshot           | pre  | pacman -Su                  |
Found snapshot: 2022-04-28 00:56:47 | @/.snapshots/95/snapshot           | post | pianobar                    |
Found snapshot: 2022-04-28 00:56:46 | @/.snapshots/94/snapshot           | pre  | pacman -S pianobar          |
Found snapshot: 2022-04-27 03:09:21 | @/.snapshots/93/snapshot           | post | bpytop                      |
Found snapshot: 2022-04-27 03:09:21 | @/.snapshots/92/snapshot           | pre  | pacman -Rs bpytop           |
Found snapshot: 2022-04-17 00:31:26 | [email protected]_20221704004021289 | N/A  | N/A                         |
Found 12 snapshot(s)
Unmount /tmp/grub-btrfs.X5D1EQ1r4z .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
(11/16) Foreign/AUR package notification
frozen-bubble 2.2.1beta1-17
kipi-plugins 21.12.3-1
libkipi 21.12.3-1
perl-alien-sdl 1.446-12
perl-sdl 2.548-6
sdl_pango 0.1.2-8
(12/16) Orphaned package notification...
neard 0.18-1
xf86-video-intel 1:2.99.917+916+g31486f40-2
(13/16) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pamac.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
/etc/retroarch.cfg.pacnew
Please check and merge
(14/16) Updating the desktop file MIME type cache...
(15/16) Performing snapper post snapshots for the following configurations...
==> root: 103
(16/16) Syncing all file systems...

Did you reboot?
Maybe you need to give a look at the Arch wiki here:
https://wiki.archlinux.org/title/Anbox
And this (long!) thread:

Most of the things you won't have to do because you already have it installed, however there are a few configurations to do, services to enable, etc....

2 Likes

Anbox-support pretty much contains all of it. @vmiimu did you reboot after completing the installation? This is required for some configs.

1 Like

Yes, I have rebooted.
But still can't launch Anbox

Any other suggestions I can try?

garuda-inxi below in case that helps.

λ garuda-inxi
System:
Kernel: 5.17.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6d358332-1121-46d2-a2c5-bd235a269b18 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=c06ef7ff-534a-46d8-a0e0-a3052b377e5f loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20X7005AUS v: ThinkPad L15 Gen 2a
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 20X7005AUS serial: <superuser required> UEFI: LENOVO
v: R1KET36W (1.21 ) date: 11/25/2021
Battery:
ID-1: BAT0 charge: 42.4 Wh (95.1%) condition: 44.6/45.7 Wh (97.6%)
volts: 12.3 min: 11.1 model: SMP LNV-5B10W13896 type: Li-poly
serial: <filter> status: not charging cycles: 9
CPU:
Info: model: AMD Ryzen 7 PRO 5850U with Radeon Graphics bits: 64
type: MT MCP arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 2164 high: 3507 min/max: 1600/4505 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 1970 2: 3507
3: 2531 4: 2360 5: 1455 6: 2283 7: 3438 8: 2428 9: 2046 10: 3065 11: 1709
12: 1673 13: 1980 14: 1396 15: 1396 16: 1396 bogomips: 60685
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Cezanne vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
active: DP-2,HDMI-A-1,eDP-1 empty: DP-1 bus-ID: 07:00.0
chip-ID: 1002:1638 class-ID: 0300
Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-2:2
chip-ID: 5986:212b class-ID: 0e02
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3000x2160 s-dpi: 96 s-size: 791x570mm (31.14x22.44")
s-diag: 975mm (38.38")
Monitor-1: DP-2 mapped: DisplayPort-1 pos: primary,top-left
model: Samsung serial: <filter> built: 2009 res: 1920x1080 dpi: 305
gamma: 1.2 size: 160x90mm (6.3x3.54") diag: 184mm (7.2") ratio: 16:9
modes: max: 1920x1080 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: bottom-r model: HP E223
serial: <filter> built: 2017 res: 1080x1920 hz: 60 dpi: 102 gamma: 1.2
size: 268x476mm (10.55x18.74") diag: 546mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-3: eDP-1 mapped: eDP pos: primary,middle-l
model: AU Optronics 0x2e8d built: 2019 res: 1920x1080 hz: 60 dpi: 142
gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
modes: max: 1920x1080 min: 640x480
OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.44 5.17.5-zen1-1-zen)
v: 4.6 Mesa 22.0.2 direct render: Yes
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 07:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
snd_pci_acp6x, snd_sof_amd_renoir
pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
bus-ID: 07:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 07:00.6 chip-ID: 1022:15e3
class-ID: 0403
Device-4: C-Media USB Advanced Audio Device type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-1.3.1:6
chip-ID: 0d8c:0021 class-ID: 0300
Sound Server-1: ALSA v: k5.17.5-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0f0 state: down mac: <filter>
Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
vendor: Lenovo driver: rtw89_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8852 class-ID: 0280
IF: wlp3s0 state: down mac: <filter>
Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
driver: r8152 bus-ID: 6-1.1:3 chip-ID: 0bda:8153 class-ID: 0000
serial: <filter>
IF: enp7s0f4u1u1 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
IF-ID-2: docker0 state: down mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 5-4:3 chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 115.98 GiB (24.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFS512GDE9X081N
size: 476.94 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 41720C20
temp: 50.9 C scheme: GPT
Partition:
ID-1: / raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 27.9 GiB (28.6%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
maj-min: 259:3
ID-2: /boot/efi raw-size: 1000 MiB size: 998 MiB (99.80%)
used: 580 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 358.77 GiB size: 358.77 GiB (100.00%)
used: 88.08 GiB (24.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p4
maj-min: 259:4
ID-4: /var/log raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 27.9 GiB (28.6%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
maj-min: 259:3
ID-5: /var/tmp raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 27.9 GiB (28.6%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
maj-min: 259:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 19.53 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: swap-2 type: zram size: 14.53 GiB used: 2.5 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 61.0 C mobo: N/A gpu: amdgpu temp: 52.0 C
Fan Speeds (RPM): fan-1: 4367
Info:
Processes: 393 Uptime: 8h 12m wakeups: 2 Memory: 14.53 GiB
used: 7.02 GiB (48.3%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 Packages: pacman: 1920 lib: 555 Shell: fish v: 3.4.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Garuda (2.6.2-1):
System install date:     2022-04-06
Last full system update: 2022-04-28
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            anbox-container-manager.service systemd-networkd-wait-online.service

This could be related

4 Likes

anything else I could try?

To find out why it failed:

systemctl status anbox-container-manager
2 Likes

Thanks,
output is below

I also tried this but no dice

sudo systemctl enable --now anbox-container-manager.service

systemctl status anbox-container-manager
× anbox-container-manager.service - Anbox Container Manager
Loaded: loaded (/usr/lib/systemd/system/anbox-container-manager.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2022-04-28 15:01:44 PDT; 8h ago
Process: 747 ExecStart=/usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox --container-networ>
Main PID: 747 (code=exited, status=127)
CPU: 5ms

Apr 28 15:01:44 thinkpad systemd[1]: Started Anbox Container Manager.
Apr 28 15:01:44 thinkpad anbox[747]: /usr/bin/anbox: error while loading shared libraries: libprotobuf-lite.so.30: cannot open >
Apr 28 15:01:44 thinkpad systemd[1]: anbox-container-manager.service: Main process exited, code=exited, status=127/n/a
Apr 28 15:01:44 thinkpad systemd[1]: anbox-container-manager.service: Failed with result 'exit-code'.

I think this should be notified to the anbox-git maintainer in the AUR (or a rebuid on our side is enough here?).
protobuf 3.20.1-1 (dependency of anbox-git) now (since 2022-04-25) provides
libprotobuf-lite.so=31-64, libprotobuf.so=31-64, libprotoc.so=31-64

I pushed an update, so @vmiimu you could try a complete system update and reboot to try again :eyes:

3 Likes

Apologies I know I'm not the original thread creator but I couldn't get Anbox working either. I just did a system update and works perfectly now. Thank you dr460nf1r3

Thanks @dr460nf1r3
I ran garuda-update then rebooted before launching Anbox
This time it launched!
However, it takes a little while to come up after "Starting..."
Then I can briefly interact with it before it shuts down and disappears on it's own.
I'm able to relaunch it with the same behavior
I tried launching the default calculator and that worked
However, I was unable to launch a Pandora APK I installed (via adb)
Any suggestions?