← Back to issue list

snapcraft unusable on systems not using apt

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1980536
Type
issue
State
closed
Author
~maciek-borzecki
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without resolution. Snapcraft retained hard apt dependencies, causing crashes on non-Debian systems like Arch Linux. The issue appears abandoned with no fix provided.

Suggested action:

No scores available.

Issue body

I cannot build any snap with snapcraft on Arch, to the point that even snapcraft --help errors out. I think this used to work before, but does not work anymore and snapcraft would spin up a multipass instance or an lxd container (if used with --use-lxd). Here's the backtrace: Traceback (most recent call last): File "/snap/snapcraft/7848/bin/snapcraft", line 5, in <module> from snapcraft.cli import run File "/var/lib/snapd/snap/snapcraft/7848/lib/python3.8/site-packages/snapcraft/cli.py", line 33, in <module> from . import commands File "/var/lib/snapd/snap/snapcraft/7848/lib/python3.8/site-packages/snapcraft/commands/__init__.py", line 25, in <module> from .extensions import ( File "/var/lib/snapd/snap/snapcraft/7848/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/7848/lib/python3.8/site-packages/snapcraft/parts/__init__.py", line 19, in <module> from .parts import PartsLifecycle File "/var/lib/snapd/snap/snapcraft/7848/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/7848/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/7848/lib/python3.8/site-packages/craft_parts/packages/apt_cache.py", line 29, in <module> import apt File "/var/lib/snapd/snap/snapcraft/7848/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 list snapcraft Name Version Rev Tracking Publisher Notes snapcraft 7.0.8.post15+giteddd1888 7848 latest/edge canonical✓ classic

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. Snapcraft retained hard apt dependencies, causing crashes on non-Debian systems like Arch Linux. The issue appears abandoned with no fix provided.
qwen/qwen3.6-35b-a3b Closed without resolution, likely abandoned or superseded. The report details a crash on non-apt systems due to direct apt imports. With zero comments and inactivity after 34 days, no fix was implemented.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. Snapcraft crashed on non-apt systems due to a hard dependency on the apt module. The issue was abandoned with no fix provided.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1981979 snapcraft 7.0.8+ stopped working on non debian systems snapcraft (launchpad) closed Closed without resolution or comments. The reported apt_pkg error blocking snapcraft 7.0.8+ builds on non-Debian systems remains unfixed and the issue appears abandoned.
83%
#1731478 Snap of snapcraft fails to run on Solus and openSUSE snapcraft (launchpad) closed Closed without resolution, likely abandoned. The snapcraft snap fails on Solus and openSUSE due to apt_pkg.init() crashing when /etc/apt/apt.conf.d is absent. Zero comments indicate no fix was provided.
78%
#1981551 snapcraft 7 fails on fedora 36, referencing apt snapcraft (launchpad) closed Closed without resolution. Snapcraft 7.0 crashed on Fedora 36 due to an apt dependency error. Downgrading to v6 worked locally. No fix provided; issue appears abandoned.
78%
#2085813 snapcraft not installable snapcraft (launchpad) closed Abandoned and closed due to a GLIBC_2.38 runtime incompatibility during installation. No resolution or fix was provided.
77%
#1947968 snapcraft missing 22.04 branch snapcraft (launchpad) closed Closed without resolution. The missing ubuntu-22.04 branch for the snapcraft snap caused dpkg installation failures. Likely abandoned or resolved upstream.
77%
#1497453 snapcraft fails if it needs to pull a deb that has an uninstallable version on the system snapcraft (launchpad) closed Abandoned. Closed without documented resolution or fix. The bug caused a TypeError crash when snapcraft attempted to pull a deb package with an incompatible system version during stage setup.
76%
#1663625 No script named 'snapcraft' snapcraft (launchpad) closed A report of snapcraft failing after apt installation was closed without resolution or comments, indicating the matter was abandoned.
75%
#1723965 snapcraft doesn't work snapcraft (launchpad) closed Closed without resolution or comments, indicating abandonment. The reported snap command failure and GL driver errors remain unresolved.
75%
#1988858 snapcraft trying to install extra package causing conflict snapcraft (launchpad) closed Closed without a tracked fix or comments. The author reported a build dependency conflict caused by snapcraft pulling extra packages. The issue appears abandoned or resolved by the author.
75%
#1992213 Snapcraft crashes when the APT unprivileged user owns the host's source list file instead of root snapcraft (launchpad) open Snapcraft crashes when APT source list files have restrictive permissions (owned by _apt user with 0600). Issue is 4 years old with no maintainer response.
74%