Arch Linux Qube problem

Hello

I installed Arch Linux qube and i trying to update. I encountered problem below.

Updating archlinux
Progress reporting not supported.
Refreshing package info
:: Synchronizing package databases…
error: restricting filesystem access failed because Landlock is not supported by the kernel!
error: switching to sandbox user ‘alpm’ failed!
error: failed to synchronize all databases (failed to retrieve some files)
Installed packages:
None
Updated packages:
None
Removed packages:
None

That looks like pacman’s newer download sandbox, not a normal mirror problem. It is trying to use Landlock and the alpm sandbox user, and the kernel in that qube does not expose Landlock.

For a quick test, check /etc/pacman.conf in the Arch template for DownloadUser / DisableSandbox. If adding DisableSandbox makes pacman -Syu work, then the template update path is OK and the issue is just pacman’s sandbox expectation under Qubes. I’d only leave that as a workaround after noting it in the template, since it weakens pacman’s download isolation.

This showed on Qubes OS Update. It does not said which version of Arch.

pacman -Syu --disable-sandbox ?

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

1 Like

I able to find the version is 4.3.0.

Did you try pacman -Syu --disable-sandbox ?

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

This is latest updated from Qubes OS Update.

Updating archlinux
Progress reporting not supported.
Refreshing package info
:: Synchronizing package databases…
qubes-r4.3-current downloading…
core downloading…
extra downloading…
multilib downloading…
:: Starting full system upgrade…
:: Replace geocode-glib-2 with extra/geocode-glib? [Y/n]
resolving dependencies…
looking for conflicting packages…
:: geocode-glib-3.26.4-6 and geocode-glib-common-3.26.4-5 are in conflict. Remove geocode-glib-common? [y/N]
:: geocode-glib-3.26.4-6 and geocode-glib-common-3.26.4-5 are in conflict (geocode-glib-common<=3.26.4-5)
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
Installed packages:
None
Updated packages:
None
Removed packages:
None

I am still new at this.

This is latest updated from Qubes OS Update.

Updating archlinux
Progress reporting not supported.
Refreshing package info
:: Synchronizing package databases…
qubes-r4.3-current downloading…
core downloading…
extra downloading…
multilib downloading…
:: Starting full system upgrade…
:: Replace geocode-glib-2 with extra/geocode-glib? [Y/n]
resolving dependencies…
looking for conflicting packages…
:: geocode-glib-3.26.4-6 and geocode-glib-common-3.26.4-5 are in conflict. Remove geocode-glib-common? [y/N]
:: geocode-glib-3.26.4-6 and geocode-glib-common-3.26.4-5 are in conflict (geocode-glib-common<=3.26.4-5)
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
Installed packages:
None
Updated packages:
None
Removed packages:
None

Well, in which Terminal, and how?

I will do the re-installation to see what will happen.