← Back to issue list

snapcraft not installable

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2085813
Type
issue
State
closed
Author
~xypron
Labels
—
Created
Updated
Closed

Current evaluation

User-reported snapcraft 8.4.4 install failure on Oracular (GLIBC_2.38 missing in core22) was closed as invalid: reporter could not reproduce on a clean 24.10 instance and withdrew the report.

Resolution: closed not a bug

Reason: No code fix was made. The reporter (~xypron) determined the failure was caused by their machine having core22 fips-preview installed and closed the report on 2024-11-06 stating 'In a clean new Oracular instance created with multipass I don't see the issue. Let's close this as invalid.' after ~mr-cal could not reproduce it on a clean 24.10 amd64 system.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Installing snapcraft 8.4.4 2024-10-28 (12961) fails on amd64 Oracular $ sudo snap install snapcraft --classic error: cannot perform the following tasks: - Run configure hook of "snapcraft" snap if present (run hook "configure": ----- Traceback (most recent call last):   File "/snap/snapcraft/12961/snap/hooks/configure", line 7, in <module>     from snapcraft.snap_config import SnapConfig   File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft/__init__.py", line 23, in <module>     import snapcraft.sources # noqa: F401   File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft/sources.py", line 22, in <module>     from snapcraft_legacy.sources import get   File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft_legacy/__init__.py", line 340, in <module>     from snapcraft_legacy.internal import repo # noqa   File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft_legacy/internal/repo/__init__.py", line 27, in <module>     from ._deb import Ubuntu # noqa   File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft_legacy/internal/repo/_deb.py", line 39, in <module>     from .apt_cache import AptCache   File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft_legacy/internal/repo/apt_cache.py", line 25, in <module>     import apt   File "/snap/snapcraft/current/lib/python3.10/site-packages/apt/__init__.py", line 23, in <module>     import apt_pkg ImportError: /snap/core22/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0) -----)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed not a bug User-reported snapcraft 8.4.4 install failure on Oracular (GLIBC_2.38 missing in core22) was closed as invalid: reporter could not reproduce on a clean 24.10 instance and withdrew the report.
stealth/space-bunny-alpha — closed not a bug Reporter's snapcraft 8.4.4 install failure (GLIBC_2.38/libapt-pkg ImportError in configure hook) could not be reproduced on a clean Oracular 24.10 amd64 instance; author self-closed it as invalid on 2024-11-06 with no code change.
stealth/space-bunny-alpha — closed not a bug Reporter could not reproduce the snapcraft 8.4.4 install failure (GLIBC_2.38/libapt-pkg ImportError in the configure hook) on a clean Oracular 24.10 amd64 instance and self-closed it as invalid on 2024-11-06.
stealth/space-bunny-alpha — closed stale Oracular installation failure was closed without a documented fix, resolving PR, commit, or maintainer comment.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The GLIBC_2.38 incompatibility causing snapcraft installation failures on Oracular received no comments or fixes. Likely abandoned or superseded by newer versions addressing the dependency conflict.
qwen/qwen3.6-35b-a3b — — Abandoned and closed due to a GLIBC_2.38 runtime incompatibility during installation. No resolution or fix was provided.
qwen/qwen3.6-35b-a3b — — A report detailing snapcraft installation failure on Oracular due to a GLIBC version mismatch was closed without comment or resolution, indicating abandonment. No fix was provided.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The GLIBC_2.38 dependency mismatch preventing snapcraft installation on Oracular was likely abandoned or superseded by newer releases updating the core22 base and fixing apt_pkg compatibility.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution, likely abandoned or superseded. The GLIBC_2.38 runtime error during the configure hook stemmed from a core22 base mismatch.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1730208 (confidence 55%)

    Prior Snapcraft GLIBC mismatch report on Launchpad, also traced to a non-standard host/runtime base rather than a snapcraft code defect.

Related issues

Issue Project State Summary Similarity
#2099923 Snapcraft builds are failing: install of snap "snapcraft" failed snapcraft (launchpad) open Reported Launchpad Bionic non-i386 builds cannot install Snapcraft 7.x/stable because core20 needs snapd 2.61; the issue remains open, untriaged, and unanswered.
73%