# Snap install core fail

**URL:** https://community.letsencrypt.org/t/snap-install-core-fail/219550
**Category:** Help
**Created:** [June 5, 2024, 11:12am UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550 "2024-06-05T11:12:27Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![18227346275](https://avatars.discourse-cdn.com/v4/letter/1/f4b2a3/32.png) [@18227346275](https://community.letsencrypt.org/u/18227346275)
#### Post date: [June 5, 2024, 11:12am UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/1 "2024-06-05T11:12:27Z")

</div>

[root@slave02 /]# snap install core  
error: system does not fully support snapd: cannot read the value of fs.may\_detach\_mounts kernel  
parameter: open /proc/sys/fs/may\_detach\_mounts: no such file or directory

The above is my error message。My Linux version is CentOS Linux release 7.3.1611 (Core) ，Help me, Thanks!

---

<div class="post-metadata">

### Author: ![18227346275](https://avatars.discourse-cdn.com/v4/letter/1/f4b2a3/32.png) [@18227346275](https://community.letsencrypt.org/u/18227346275)
#### Post date: [June 5, 2024, 11:31am UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/2 "2024-06-05T11:31:02Z")

</div>

[root@slave02 /]# cat /etc/os-release  
NAME="CentOS Linux"  
VERSION="7 (Core)"  
ID="centos"  
ID\_LIKE="rhel fedora"  
VERSION\_ID="7"  
PRETTY\_NAME="CentOS Linux 7 (Core)"  
ANSI\_COLOR="0;31"  
CPE\_NAME="cpe:/o:centos:centos:7"  
HOME\_URL="[https://www.centos.org/](https://www.centos.org/)"  
BUG\_REPORT\_URL="[https://bugs.centos.org/](https://bugs.centos.org/)"

CENTOS\_MANTISBT\_PROJECT="CentOS-7"  
CENTOS\_MANTISBT\_PROJECT\_VERSION="7"  
REDHAT\_SUPPORT\_PRODUCT="centos"  
REDHAT\_SUPPORT\_PRODUCT\_VERSION="7"

[root@slave02 /]# snap -version  
error: unknown flag `v'  
[root@slave02 /]# snap --version  
snap 2.63-0.el7  
snapd 2.63-0.el7  
series 16  
centos 7  
kernel 3.10.0-514.el7.x86\_64

---

<div class="post-metadata">

### Author: ![bruncsak](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bruncsak/32/18414_2.png) [@bruncsak](https://community.letsencrypt.org/u/bruncsak)
#### Post date: [June 5, 2024, 12:31pm UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/3 "2024-06-05T12:31:55Z")

</div>

Hello @18227346275 ,

That isn't the appropriate forum for questions related to `snap` installation, but I can still tell you that the CentOS version of 7.3.1611 is quiet old. You should upgrade it.

---

<div class="post-metadata">

### Author: ![petercooperjr](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/petercooperjr/32/84698_2.png) [@petercooperjr](https://community.letsencrypt.org/u/petercooperjr)
#### Post date: [June 5, 2024, 12:36pm UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/4 "2024-06-05T12:36:25Z")

</div>

Yeah, for an OS that old it might work better to use [the pip installation](https://certbot.eff.org/instructions?ws=apache&os=pip). Or, use a different client with minimal dependencies that you can just copy onto the server and run, like [lego](https://go-acme.github.io/lego/) (just go to the [release page](https://github.com/go-acme/lego/releases) and download `lego_v4.17.3_linux_amd64.tar.gz`), or maybe one of the [shell-script based clients](https://letsencrypt.org/docs/client-options/#clients-bash).

Though if your OS isn't getting security updates, then adding a certificate won't magically make it "secure".

---

<div class="post-metadata">

### Author: ![linkp](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/linkp/32/60089_2.png) [@linkp](https://community.letsencrypt.org/u/linkp)
#### Post date: [June 5, 2024, 4:04pm UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/5 "2024-06-05T16:04:22Z")

</div>

> [@petercooperjr](#):
>
> security updates

CentOS 7 receives them for 3 more weeks and 4 days. It may indeed be time to find a replacement OS.

> **[CentOS](https://endoflife.date/centos)**
>
> Check end-of-life, release policy and support schedule for CentOS.

---

<div class="post-metadata">

### Author: ![18227346275](https://avatars.discourse-cdn.com/v4/letter/1/f4b2a3/32.png) [@18227346275](https://community.letsencrypt.org/u/18227346275)
#### Post date: [June 7, 2024, 1:38am UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/7 "2024-06-07T01:38:39Z")

</div>

Thank you ,But my system is centos 7 can I also install with pip

---

<div class="post-metadata">

### Author: ![petercooperjr](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/petercooperjr/32/84698_2.png) [@petercooperjr](https://community.letsencrypt.org/u/petercooperjr)
#### Post date: [June 7, 2024, 1:50am UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/8 "2024-06-07T01:50:54Z")

</div>

I'm not sure; it's been a long time since I've used a CentOS/RHEL 7 system, and I haven't tried installing pip or certbot on it. Like I said, with something that old you're probably best off using lego or acme.sh (at least until you can move to an up-to-date server).

---

<div class="post-metadata">

### Author: ![18227346275](https://avatars.discourse-cdn.com/v4/letter/1/f4b2a3/32.png) [@18227346275](https://community.letsencrypt.org/u/18227346275)
#### Post date: [June 7, 2024, 1:56am UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/9 "2024-06-07T01:56:20Z")

</div>

> [@petercooperjr](#):
>
> acme.sh

thank you ,I'll try acme.sh

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)
#### Post date: [July 12, 2024, 11:56am UTC](https://community.letsencrypt.org/t/snap-install-core-fail/219550/11 "2024-07-12T11:56:15Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
