• okass 在版块 Linux平台 中发起了话题 Mint下安装Snap错误解决方案 3年前

    Linux mint下安装snap提示错误的解决方案

    原因: Mint官方团队屏蔽了snap

     

    1.Delete the nosnap.pref file in the directory /etc/apt/preferences.d by running the command:

    sudo rm /etc/apt/preferences.d/nosnap.pref

    2.Comment the three lines of code in the same file.

    Package: snapd
    Pin: release a=*
    Pin-Priority: -10

    动态

     

    3. Now, install snapd:

    sudo apt install snapd

     

    Then, any snap apps:

    sudo snap install <app-name>

    There is also another method as well to install snap packages without interfering with nosnap.pref file. That is, installing app using version number:

    sudo apt install <app-name> snapd=VERSION

WirelessLink
Logo