← Back to issue list

snapcraft trying to install extra package causing conflict

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1988858
Type
issue
State
closed
Author
~ondrak
Labels
craft-1328
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 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.

Suggested action:

No scores available.

Issue body

snapcraft: 7.1.3 Ubuntu: 20.04 snapcraft.yaml name: my-snap-name base: core20 version: '0.1' summary: Test description: Test grade: stable confinement: strict parts: my-part: plugin: nil build-packages: - dracut - dracut-core Snapcraft will try to install following packages: binutils binutils-aarch64-linux-gnu binutils-common dmraid dracut dracut-core kpartx-boot libbinutils libctf-nobfd0 libctf0 libdmraid1.0.0.rc16 libdpkg-perl libfile-fcntllock-perl pkg-config This leads to conflict: he following packages have unmet dependencies: kpartx-boot : Depends: initramfs-tools but it is not going to be installed But apt-get install will try to install: binutils binutils-aarch64-linux-gnu binutils-common dracut dracut-core libbinutils libctf-nobfd0 libctf0 libdpkg-perl libfile-fcntllock-perl pkg-config Snapcraft seems to be adding dmraid and kpartx-boot which is causing the conflict. Interestingly dropping dracut from build-packages does fix the problem.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen/qwen3.6-35b-a3b Abandoned. Snapcraft incorrectly resolves build dependencies, pulling in conflicting packages like dmraid and kpartx-boot alongside dracut, causing apt failures. The bug remains unfixed.
qwen3.6-35b-a3b-mtp-q6 Closed without a fix. Snapcraft incorrectly pulled dmraid and kpartx-boot when building with dracut, causing unmet dependency conflicts. The issue received no comments and appears abandoned.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.