今天,我成功地升级到Ubuntu20.10。但是,我注意到我使用的Atom文本编辑器在更新之后就不见了。所以,我试着用sudo apt install atom
安装它。这不起作用,并抛出了以下错误:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
atom : Depends: gvfs-bin but it is not installable
E: Unable to correct problems, you have held broken packages.
这是否意味着我升级到20.10太快了,Atom还不支持它呢?我试了几件事,比如
发布于 2020-10-25 06:41:54
Ubuntu在20.10中放弃了包gvfs-bin
包。以后就不加了。它不会得到支持。
原因是这是不可取的。请参阅包说明:
这个包包含不推荐的命令行工具,例如gvfs-copy和gvfs-rename。请使用libglib2.0bin包中的gio(1)工具。
由于Ubuntu存储库中没有atom
包,所以没有理由保留gvfs-bin
。联系上游Atom项目,让他们知道他们的软件有一个过时的依赖,不再是可安装的。
gvfs-bin
包保留在所有支持的版本中,包括20.04之前。考虑保持在20.04,或运行20.04 VM或容器。
或者,您可以尝试下载中软件包并尝试将其安装在较新的系统上。然而,这是不被支持的。如果你遇到问题,你只能靠自己了。我们唯一的建议是卸载错误的版本包。
...or,您可以完全跳过所有的deb依赖关系,而可以跳过只需安装卡箍。
发布于 2020-10-25 07:04:06
也无法在ubuntu20.10上安装atom 1.52.0。即使站点中的deb文件(atom.io)也会失败,因为软件安装存在(未指定的)软件依赖关系错误。以下是目前行之有效的两种方法:
snap install atom --classic
或者访问atom.io,下载并安装使用软件安装的测试版版本(1.53.0-beta0)。
我选择了测试版。
发布于 2020-10-29 05:14:45
这个问题在beta版本中得到了解决。
apt install atom-beta
编辑:在运行上述命令之前,必须将Atom PPA添加到系统中。来自正式指示:
curl -sL https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
然后设置存储库:
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
sudo apt-get update
https://askubuntu.com/questions/1286781
复制相似问题