【问题标题】:Giving error in ubuntu while installing kite autocomple software安装风筝自动完成软件时在 ubuntu 中出现错误
【发布时间】:2020-12-06 13:13:43
【问题描述】:

在 ubuntu 中安装风筝时出现此错误

sunbeam@rishi:~--> bash -c "$(wget -q -O - https://linux.kite.com/dls/linux/current)"

This script will install Kite!

We hope you enjoy! If you run into any issues, please report them at https://github.com/kiteco/issue-tracker.

- The Kite Team

Press enter to continue...

Checking to see if all dependencies are installed....

Did not find libXScrnSaver on your system. We can install it now or you can install and re-run this script
Install it now? (you might be asked for your sudo password) [Y/n] y
[sudo] password for sunbeam: 
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>

我在使用 ubuntu 时如何解决此错误,并且我尝试了 stackoverflow 中的其他一些方法,但它仍然给出错误

【问题讨论】:

    标签: python linux ubuntu kite


    【解决方案1】:

    https://www.dropbox.com/s/lcdheyto0hqln77/kite-installer.sh?dl=0下载kite-installer.sh

    然后从kite-installer.sh中删除以下粗体行

    if command -v yum >/dev/null 2>&1; then
            if ! yum list installed libXScrnSaver &> /dev/null; then
                echo "Did not find libXScrnSaver on your system. We can install it now or you can install and re-run this script"
                read -r -e -p "Install it now? (you might be asked for your sudo password) [Y/n] " INSTALL
                INSTALL=${INSTALL:-Y}
                if [[ $INSTALL == "Y" || $INSTALL == "y" ]]; then
                    sudo yum install -y -q libXScrnSaver
                else
                    echo "Please run 'sudo yum install libXScrnSaver' and rerun this script! Exiting now."
                    exit 15
                fi
    fi
    

    然后如下更正下一行

    elif command -v zypper >/dev/null 2>&1; then **---->into---->** if command -v zypper >/dev/null 2>&1; then
    

    现在保存文件 在终端窗口中运行以下命令(打开保存kite-installer.sh的终端窗口)

    chmod +x kite-installer.sh
    ./kite-installer.sh
    

    【讨论】:

    • 欢迎来到 SO Vairava!您能否更详细地解释您的答案,即为什么需要 zypper 命令,以及此 Dropbox 代码是由何处编写的?
    【解决方案2】:

    显然这是一个已知问题;详细信息/建议的解决方案:https://help.kite.com/article/106-linux-install-issues

    找不到 libXScrnSaver 您可能还会看到一条消息告诉您那里 没有启用的回购。这个问题可以通过运行 以下终端命令:

    sudo apt-get install -y libxss1
    wget -O kite-installer https://linux.kite.com/dls/linux/current
    bash kite-installer --download
    bash kite-installer --install
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-05-15
      • 2018-08-05
      • 2023-02-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-10-16
      • 2019-03-01
      相关资源
      最近更新 更多