Fails on Archlinux: Unable to determine a suitable packaging system type
Metadata
Current evaluation
Snapcraft 7.1.1 fixed the Arch/Manjaro startup failure and was reported working on the stable channel in August 2022.
Resolution: closed resolved
Reason: The issue was closed after maintainer Sergiusens confirmed on 2022-08-04 that version 7.1.1 on stable fixed it. Release PR snapcraft#3861 merged the 7.1.1 release as commit 4481326d6.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Given that there is an install instruction page https://snapcraft.io/install/snapcraft/arch
I would expect the snapcraft snap to work, but it immediately fails:
/snap/bin/snapcraft --help
Traceback (most recent call last):
File "/snap/snapcraft/7923/bin/snapcraft", line 5, in <module>
from snapcraft.cli import run
File "/var/lib/snapd/snap/snapcraft/7923/lib/python3.8/site-packages/snapcraft/cli.py", line 33, in <module>
from . import commands
File "/var/lib/snapd/snap/snapcraft/7923/lib/python3.8/site-packages/snapcraft/commands/__init__.py", line 25, in <module>
from .extensions import (
File "/var/lib/snapd/snap/snapcraft/7923/lib/python3.8/site-packages/snapcraft/commands/extensions.py", line 30, in <module>
from snapcraft.parts.lifecycle import get_snap_project, process_yaml
File "/var/lib/snapd/snap/snapcraft/7923/lib/python3.8/site-packages/snapcraft/parts/__init__.py", line 19, in <module>
from .parts import PartsLifecycle
File "/var/lib/snapd/snap/snapcraft/7923/lib/python3.8/site-packages/snapcraft/parts/parts.py", line 26, in <module>
from craft_parts.packages import Repository, deb
File "/var/lib/snapd/snap/snapcraft/7923/lib/python3.8/site-packages/craft_parts/packages/deb.py", line 44, in <module>
from .apt_cache import AptCache
File "/var/lib/snapd/snap/snapcraft/7923/lib/python3.8/site-packages/craft_parts/packages/apt_cache.py", line 29, in <module>
import apt
File "/var/lib/snapd/snap/snapcraft/7923/lib/python3.8/site-packages/apt/__init__.py", line 36, in <module>
apt_pkg.init_system()
apt_pkg.Error: E:Unable to determine a suitable packaging system type
snap info reports
installed: 7.0.11 (7923) 65MB classic
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft 7.1.1 fixed the Arch/Manjaro startup failure and was reported working on the stable channel in August 2022. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in Snapcraft 7.1.1: the Arch Linux packaging-system detection failure was reported resolved when version 7.1.1 reached the stable channel. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale after 26 days of inactivity; no resolving PR, commit, or maintainer response was recorded for Snapcraft 7.0.11 on Arch Linux. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned due to inactivity. Snapcraft crashes on Arch Linux because it hardcodes APT dependencies, triggering an apt_pkg initialization failure. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as rejected. Arch Linux lacks Debian's apt package manager required by craft_parts, causing initialization failure. No resolution or workaround implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft crashes on Arch Linux due to hard dependencies on Debian's apt package manager. The report was abandoned as the tool is fundamentally incompatible with non-Debian distributions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. Snapcraft crashes on Arch Linux due to an apt_pkg dependency error, as the tool relies on Debian packaging tools incompatible with Arch. No comments or fixes were provided. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcraft#3861
(confidence 90%)
Merged the 7.1.1 release in commit 4481326d6; 7.1.1 was subsequently confirmed as fixing the failure.
Related issues
No related issues found above the similarity threshold.