← Back to issue list

Snapcraft dpkg-query error on multiarch OS

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1698888
Type
issue
State
open
Author
~pcercuei
Labels
Created
Updated
Closed

Current evaluation

Snapcraft fails on multiarch OS with both i686 and x86_64 libc6 installed, as dpkg -L libc6 returns an ambiguous package name error. 9-year-old issue with no maintainer interaction; the dpkg -L call still exists in craft-parts.

Suggested action: needs triage

Reason: The issue is unlabelled with zero maintainer interaction over 9 years, but the underlying dpkg -L call still exists in craft-parts (deb.py:307), so it is not clearly irrelevant. A maintainer needs to assess whether the bug is still reproducible in the current architecture before deciding to fix or close.

Impact: 40 Quick Win: 20.0 Staleness: 95 Complexity: 50 Confidence: 65 Support Request: 10

Issue body

When building on a OS with multiarch enabled, and with the i686 and x86_64 versions of libc6 installed, Snapcraft will issue the following error: dpkg-query: error: --listfiles needs a valid package name but 'libc6' is not: ambiguous package name 'libc6' with more than one installed instance Use --help for help about querying packages. Command '['dpkg', '-L', 'libc6']' returned non-zero exit status 2

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 20.0
Staleness: 95
Complexity: 50
Confidence: 65
Support Request: 10
needs triage Snapcraft fails on multiarch OS with both i686 and x86_64 libc6 installed, as dpkg -L libc6 returns an ambiguous package name error. 9-year-old issue with no maintainer interaction; the dpkg -L call still exists in craft-parts.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 85
Support Request: 10
close stale Snapcraft fails with an ambiguous dpkg-query error when libc6 is installed for both i686 and x86_64 architectures on multiarch systems. The issue has seen no maintainer interaction or comments since opening.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 0
close stale Unaddressed bug report from 9 years ago about a dpkg-query ambiguity error on multiarch OS. Zero maintainer interaction, labels, or comments. Likely obsolete due to significant changes in Snapcraft's build system.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 92
Support Request: 10
close stale Report of dpkg-query failing due to ambiguous multiarch libc6 packages during Snapcraft builds. Unaddressed for nearly 9 years with no maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 30
Confidence: 90
Support Request: 5
close stale Snapcraft fails on multiarch systems with both i686 and x86_64 libc6 installed, triggering an ambiguous dpkg-query error. The report is open with zero comments and no labels, requiring triage and assignment to resolve the package resolution logic.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.