close

[Solved] cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap

Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to make a soft link But I am facing an error that cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap in linux. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap Error Occurs ?

I am trying to create a soft link But I am facing the following error.

cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap

How To Solve cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap Error ?

  1. How To Solve cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap Error ?

    To Solve cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap Error Here You can solve this error without making a simbolic link. So that first you have to make a simbolic link to work. Here is how. sudo ln -s /var/lib/snapd/snap /snap

  2. cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap

    To Solve cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap Error Here You can solve this error without making a simbolic link. So that first you have to make a simbolic link to work. Here is how. sudo ln -s /var/lib/snapd/snap /snap

Solution 1

Here You can solve this error without making a simbolic link. So that first you have to make a simbolic link to work. Here is how.

sudo ln -s /var/lib/snapd/snap /snap

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

4 thoughts on “[Solved] cannot install “code”: classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap”

Leave a Comment