Skip to content

snap install problem #1965

Closed
oras-project/oras-www
#557

Description

@TerryHowe

I don't know if this can be fixed:

# snap install oras
error: This revision of snap "oras" 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.

Activity

  1. FeynmanZhou commented on Feb 4, 2026

    @FeynmanZhou
    Member

    @TerryHowe oras snap package was submitted by an volunteer but it lacks of maintenance in the package manager. This installation has been removed from the doc https://oras.land/docs/installation.

    We can mark this as a good first issue and see if anyone want to update the package manager. WDYT?

  2. abhishekgit03 commented on Mar 8, 2026

    @abhishekgit03

    @FeynmanZhou I spent some time looking into the Snap packaging for ORAS.

    The repository already contains the Snap configuration (snapcraft.yaml) and a release-snap GitHub workflow, but it appears the workflow hasn’t been used yet and the Snap Store version (v1.2.2) is behind the current ORAS release.

    I tested the packaging locally using snapcraft, was able to build and install the snap successfully, and verified that oras version works from the installed snap.

    I’m planning to open a PR to improve the Snap packaging configuration and restore the Snap installation instructions in the docs so the package can be maintained again from this repository. After that, the existing release-snap workflow could be used to build and publish future releases to the Snap Store.

  3. FeynmanZhou commented on Mar 18, 2026

    @FeynmanZhou
    Member

    @abhishekgit03 Thanks. You can go ahead and open a PR to update the Snap package configuration.

  4. added a commit that references this issue on Mar 20, 2026
    e30d489
  5. TerryHowe commented on Mar 20, 2026

    @TerryHowe
    MemberAuthor

    Generally, oras needs classic confinement because it is a general purpose CLI that access network and file components. Specifying --classic lets the user acknowledge that and the CLI can do what it needs to do to be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions