Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install with classic confinement #1348

Closed
matthew-hagemann opened this issue Aug 24, 2023 · 1 comment
Closed

Can't install with classic confinement #1348

matthew-hagemann opened this issue Aug 24, 2023 · 1 comment

Comments

@matthew-hagemann
Copy link
Collaborator

matthew-hagemann commented Aug 24, 2023

I tried installing Eclipse through the store. No UI update when I click install, but got an error indicating that it requires classic confinement:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: SnapdException(kind: snap-needs-classic, message: snap "eclipse" requires classic confinement)
#0      _SnapdErrorResponse.result (package:snapd/src/snapd_client.dart:1164)
#1      SnapdClient._postAsync (package:snapd/src/snapd_client.dart:1564)
<asynchronous suspension>
#2      SnapdClient.install (package:snapd/src/snapd_client.dart:1442)
<asynchronous suspension>
#3      SnapModel._snapAction (package:app_store/src/snapd/snap_model.dart:138)
<asynchronous suspension>

Same story if I try install Emacs, which also requires classic confinement:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: SnapdException(kind: snap-needs-classic, message: snap "emacs" requires classic confinement)
#0      _SnapdErrorResponse.result (package:snapd/src/snapd_client.dart:1164)
#1      SnapdClient._postAsync (package:snapd/src/snapd_client.dart:1564)
<asynchronous suspension>
#2      SnapdClient.install (package:snapd/src/snapd_client.dart:1442)
<asynchronous suspension>
#3      SnapModel._snapAction (package:app_store/src/snapd/snap_model.dart:138)
<asynchronous suspension>

Trying to install either of these snaps through the cli does require the --classic flag:

> sudo snap install emacs
error: This revision of snap "emacs" was published using classic confinement and thus may perform
       arbitrary system changes outside of the security sandbox that snaps are usually confined to,
       which may put your system at risk.

       If you understand and want to proceed repeat the command including --classic.
@d-loose
Copy link
Member

d-loose commented Sep 5, 2023

Fixed, see #1352 (comment)

@d-loose d-loose closed this as completed Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants