【发布时间】:2022-10-19 21:15:51
【问题描述】:
在 Debian 上通过终端安装 GitHub Desktop 时遇到多个问题。
从https://github.com/shiftkey/desktop/releases 安装GitHubDesktop-linux-3.0.6-linux1.deb 文件后,我在终端中输入以下命令:
wget -qO - https://packagecloud.io/shiftkey/desktop/gpgkey | sudo apt-key add -
出现以下消息:
OK
然后,我输入了这个命令:
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list'
什么都没有发生,相反,它只是转到终端中的新行。
然后我输入了 sudo update 命令:
sudo apt-get update
最后,我输入了安装 GitHub Desktop 的命令:
sudo apt install github-desktop
但随后出现以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package github-desktop
【问题讨论】:
-
我应该打开
GitHubDesktop-linux-3.0.6-linux1.deb文件吗?还是我应该离开它?
标签: debian github-desktop