![如何在 Ubuntu 17.04 上安装 pantheon-files?](https://linux22.com/image/1148651/%E5%A6%82%E4%BD%95%E5%9C%A8%20Ubuntu%2017.04%20%E4%B8%8A%E5%AE%89%E8%A3%85%20pantheon-files%EF%BC%9F.png)
我尝试使用这个 ppa:
sudo apt-add-repository ppa:elementary-os/daily
sudo apt-get update
但它说“无法找到包 pantheon-files”
grep "^deb " /etc/apt/sources.list
deb http://cz.archive.ubuntu.com/ubuntu/ zesty main restricted
deb http://cz.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
deb http://cz.archive.ubuntu.com/ubuntu/ zesty universe
deb http://cz.archive.ubuntu.com/ubuntu/ zesty-updates universe
deb http://cz.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://security.ubuntu.com/ubuntu zesty-security universe
deb http://security.ubuntu.com/ubuntu zesty-security multiverse
和
apt policy pantheon-files
N: Unable to locate package pantheon-files
答案1
没有 17.04 版本。唯一的方法是:
编辑 elementary os ppa 的源列表:
sudo nano /etc/apt/sources.list.d/elementary-os-ubuntu-daily-zesty.list
将“zesty”或 ubuntu 版本名称更改为“xenial”,如下所示:
deb http://ppa.launchpad.net/elementary-os/daily/ubuntu xenial main
# deb-src http://ppa.launchpad.net/elementary-os/daily/ubuntu xenial main
后:
sudo apt-get update
sudo apt-get install pantheon-files
答案2
首先添加存储库(你已经做了)
sudo add-apt-repository ppa:elementary-os/daily
添加存储库时始终执行
sudo apt-get update
和
sudo apt-get dist-upgrade
进而
sudo apt-get install pantheon-files
应该这样做