← Back to issue list

SUSE E:Unable to determine a suitable packaging system type

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1673501
Type
issue
State
closed
Author
~popey
Labels
distros
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 due to inactivity. Snapcraft fails on SUSE by attempting to initialize apt, which is unsupported on RPM-based distributions. The issue was abandoned.

Suggested action:

No scores available.

Issue body

On OpenSUSE Leap I installed snapd from zyga's snappy repo. snap version returns:- snap 2.23.1-3.1 snapd 2.23.1-3.1 series 16 opensuse 42.3 kernel 4.4.49-1-default I installed snapcraft from edge and get this when i snapcraft init. alan@linux-sss1:~/foo> snapcraft init Traceback (most recent call last): File "/snap/snapcraft/3/bin/snapcraft", line 28, in <module> import snapcraft.main File "/snap/snapcraft/3/lib/python3.6/site-packages/snapcraft/__init__.py", line 359, in <module> from snapcraft._baseplugin import BasePlugin # noqa File "/snap/snapcraft/3/lib/python3.6/site-packages/snapcraft/_baseplugin.py", line 21, in <module> from snapcraft.internal import common File "/snap/snapcraft/3/lib/python3.6/site-packages/snapcraft/internal/__init__.py", line 20, in <module> from snapcraft.internal.project_loader import load_config # noqa File "/snap/snapcraft/3/lib/python3.6/site-packages/snapcraft/internal/project_loader.py", line 29, in <module> from snapcraft.internal import ( File "/snap/snapcraft/3/lib/python3.6/site-packages/snapcraft/internal/parts.py", line 29, in <module> from snapcraft.internal import ( File "/snap/snapcraft/3/lib/python3.6/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 40, in <module> from snapcraft.internal import ( File "/snap/snapcraft/3/lib/python3.6/site-packages/snapcraft/internal/repo.py", line 34, in <module> import apt File "/snap/snapcraft/3/lib/python3.6/site-packages/apt/__init__.py", line 35, in <module> apt_pkg.init_system() SystemError: E:Unable to determine a suitable packaging system type

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution due to inactivity. Snapcraft fails on SUSE by attempting to initialize apt, which is unsupported on RPM-based distributions. The issue was abandoned.
qwen/qwen3.6-35b-a3b Closed as invalid. Snapcraft depends on apt, triggering a packaging error on OpenSUSE Leap. The report was rejected due to running the tool on an unsupported distribution.
qwen3.6-35b-a3b-mtp-q6 Closed without comments. Snapcraft crashed on OpenSUSE Leap due to an unsupported apt import, indicating missing SUSE packaging support. No resolution or fix documented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
76%
#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.
70%