我做了什么:
$ sudo add-apt-repository ppa:elementary-os/stable
$ sudo apt update
Ubuntu 18.04.3 Mate 尝试安装 Pantheon-Files 但出现错误:
$ sudo apt-get install -f pantheon-files
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
pantheon-files : Depends: libcloudproviders0 (>= 0.3.0) but it is not going to be installed
Recommends: contractor but it is not going to be installed
Recommends: tumbler-plugins-extra but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
已经尝试过其他方法,如 snap 或 flatpak 或 appimage,但没有成功。
答案1
首先你需要使用以下命令启用 Universe 存储库
sudo add-apt-repository universe
然后你可以手动下载并安装较新版本图书馆
cd ~/Downloads
wget http://mirrors.kernel.org/ubuntu/pool/universe/libc/libcloudproviders/libcloudproviders0_0.3.0-1_amd64.deb
sudo apt install ./libcloudproviders0_0.3.0-1_amd64.deb
然后使用以下命令安装 pantheon-files
sudo apt-get install pantheon-files