我有Ubuntu 18.04和python 3.7。
uname -a
Linux username-laptop 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
当我运行时,sudo apt-get update
我收到此错误:
E: The repository 'http://dl.bintray.com/aluxian/deb stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://dl.bintray.com/aluxian/deb dev Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我尝试了这个解决方案,但我也无法打开Software and updates。
我终于可以自己解决问题了。在此之前,我做了
sudo update-alternatives --config python3
并切换到python 3.6
之后,我遵循了同一篇文章的答案(我之前不能这样做,因为软件和更新无法打开)并取消勾选https://dl.bintray.com/aluxian/deb
. 然后sudo apt-get update
问题就解决了!!!可能发现存储库
apt-get
不再存在。使用sudo apt update
,它会告诉你哪些包需要升级。sudo apt upgrade
只需在终端中输入即可升级它们。也更新snap
。Ubuntu 依赖的snap
不仅仅是apt-get
和apt
. 开源软件中的灰色地带。