• [Linux] deepin系统添加PHP仓库源出错Error: could not find a distribution template for Deepin/stable


    aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/stable

    网上的答案是修改系统的版本信息
    /etc/lsb-release

    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=18.04
    DISTRIB_CODENAME=bionic
    DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
    这个答案测试完不管用,还是报错

    直接编辑源文件,把php的仓库源添加进去,当然要看清楚自己的系统版本信息对应上
    /etc/apt/sources.list.d/php.list
    deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main
    # deb-src http://ppa.launchpad.net/ondrej/php/ubuntu bionic main

     

  • 相关阅读:
    OCR中表格识别及WORD生成
    太阳能跟踪系统
    QA300太阳能移动电源
    OCR之表格识别
    2012112
    2012123
    2012121
    2011101
    201191
    2011828
  • 原文地址:https://www.cnblogs.com/taoshihan/p/11665941.html
Copyright © 2020-2023  润新知