sudo add-apt-repository ppa:alexmurray/indicator-sensors
sudo apt-get update
sudo apt-get install indicator-sensors
user@hostname:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:5 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
Ign:7 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial Release
Ign:8 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 Packages
Ign:9 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en_US
Ign:12 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en
Ign:13 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main DEP-11 64x64 Icons
Ign:8 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 Packages
Ign:9 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en_US
Ign:12 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en
Ign:13 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main DEP-11 64x64 Icons
Ign:8 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 Packages
Ign:9 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en_US
Ign:12 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en
Ign:13 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main DEP-11 64x64 Icons
Ign:8 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 Packages
Ign:9 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en_US
Ign:12 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en
Ign:13 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main DEP-11 64x64 Icons
Ign:8 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 Packages
Ign:9 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en_US
Ign:12 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en
Ign:13 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main DEP-11 64x64 Icons
Err:8 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:9 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en_US
Ign:12 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main Translation-en
Ign:13 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 94.5 kB in 5s (16.4 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
**E: Failed to fetch http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found**
E: Some index files failed to download. They have been ignored, or old ones used instead.
user@hostname:~$ sudo apt-get install indicator-sensors
Reading package lists... Done
Building dependency tree
Reading state information... Done
**E: Unable to locate package indicator-sensors**
答案1
在这种情况下,如果:
- 看来维护者没有为后期版本上传/重建软件包。
- 目标工具预计无需任何改变即可正常工作。
任何人都可以带头并在几分钟内通过几次点击将该软件包复制(重建)到他自己的 PPA。如在我可以从我的发行版不支持的 ppa 中获取软件包吗?
无论如何,这里有一个现成的包(正如我尝试过的,它是有效的),但我真的建议你进行这次快速的冒险。
sudo apt-add-repository ppa:sneetsher/copies
sudo apt update
sudo apt install indicator-sensors
sudo apt-add-repository -r ppa:sneetsher/copies
sudo apt update
答案2
indicator-sensors
不再支持的在 ubuntu 16.04 LTS 上。