You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason my system picked up the beta/candidate version of core22 recently:
$ snap info core22name: core22summary: Snap runtime environmentpublisher: Canonical✓store-url: https://snapcraft.io/core22license: unsetdescription: | Base snaps are a specific type of snap that include libraries and dependencies common to many applications. They provide a consistent and reliable execution environment for the snap packages that use them. The core22 base snap provides a runtime environment based on Ubuntu 22.04 LTS (Jammy Jellyfish). Other Ubuntu environment base snaps include: - Core 18: <https://snapcraft.io/core18> - Core 20: <https://snapcraft.io/core20> - Core 24: <https://snapcraft.io/core24> **Using a base snap** Base snaps are installed automatically when a snap package requires them. Only one of each type of base snap is ever installed. Manually removing a base snap may affect the stability of your system. **Building snaps with core22** Snap developers can use this base in their own snaps by adding the following to the snap's snapcraft.yaml: base: core22 **Additional Information*** For more details, and guidance on using base snaps, see our documentation: <https://snapcraft.io/docs/base-snaps>type: basesnap-id: amcUKQILKXHHTlmSa7NMdnXSx02dNeeTtracking: latest/stablerefresh-date: today at 17:14 NZDTchannels: latest/stable: 20241001 2024-10-26 (1663) 77MB - latest/candidate: 20241029 2024-11-13 (1690) 76MB - latest/beta: 20241029 2024-10-29 (1690) 76MB - latest/edge: 20241114 2024-11-14 (1713) 76MB - fips-updates/stable: 20231019 2023-11-03 (952) 78MB - fips-updates/candidate: ↑ fips-updates/beta: ↑ fips-updates/edge: ↑ fips-preview/stable: 20231019 2023-11-03 (952) 78MB - fips-preview/candidate: ↑ fips-preview/beta: ↑ fips-preview/edge: ↑ fips/stable: – fips/candidate: – fips/beta: – fips/edge: 20231019 2023-11-03 (952) 78MB -installed: 20241029 (1690) 76MB base
Due to this I am no longer able to install snapcraft:
$ sudo snap install --classic snapcrafterror: 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_pkgImportError: /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)-----)
A workaround is to run:
$ sudo snap refresh core22 --revision 1663
One difference between the revisions is that 1690 is missing /snap/core22/current/lib/x86_64-linux-gnu/libapt-pkg.so.6.0. If I had to guess, c58d089 looks like it might be the cause.
Reproduction steps:
Install Ubuntu Server 24.04.1 with default settings.
FWIW, the reason for #254 was a fix to as libapt was not meant to be shipped by core, and the wrong version was being deleted (libapt-pkg5.0 vs libapt-pkg6.0).
For some reason my system picked up the beta/candidate version of
core22
recently:Due to this I am no longer able to install snapcraft:
A workaround is to run:
$ sudo snap refresh core22 --revision 1663
One difference between the revisions is that
1690
is missing/snap/core22/current/lib/x86_64-linux-gnu/libapt-pkg.so.6.0
. If I had to guess, c58d089 looks like it might be the cause.Reproduction steps:
The text was updated successfully, but these errors were encountered: