snapcraft 7 fails on fedora 36, referencing apt
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
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.
Suggested action: —
No scores available.
Issue body
somewhen, my snapcraft stopped working - i guess that happened when latest/stable switched to snapcraft 7.0
My system:
Fedora Linux 36 (Workstation Edition)
$ snap info snapcraft
name: snapcraft
...
tracking: latest/stable
...
installed: 7.0.11 (7923) 65MB classic
$ snapcraft --version
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
# after refresh to channel=6.x/stable
$ snapcraft --version
snapcraft, version 6.1
i also tried with latest/edge channel, which did the same as latest/stable
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. Snapcraft 7 crashed on Fedora 36 due to an unmet apt dependency. With zero comments and no follow-up, the report was closed without resolution, likely due to upstream cross-distro compatibility limitations. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. Reported snapcraft 7 crashing on Fedora 36 due to an apt dependency error. Zero comments and no activity indicate the issue was abandoned. Downgrading to version 6 resolved the problem for the author. |
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. | |
| #1980536 snapcraft unusable on systems not using apt | snapcraft (launchpad) | closed | 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. | |
| #1731478 Snap of snapcraft fails to run on Solus and openSUSE | snapcraft (launchpad) | closed | Closed without resolution. Hard dependency on Debian apt_pkg caused runtime failures on non-Debian distros. The report was abandoned after seven days with zero comments or patches. | |
| #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. | |
| #5420 Snapcraft 7 fails to launch a LXD container based on host apt sources entries | snapcraft | closed | Closed as a duplicate of #4408. Snapcraft 7 fails to parse PGP fingerprints in host apt sources when launching LXD containers, triggering an apt_pkg.Error. Resolution is tracked in the referenced duplicate. |