web-dev-qa-db-fra.com

Comment résoudre les problèmes d'installation de capteurs matériels

Tentative d'installer l'application 'Hardware Captors' selon les instructions

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**
2
gatorback

Dans de tels cas, où:

  • Il semble que le responsable n'ait pas chargé/reconstruit le paquet pour les dernières versions.
  • L'outil cible devrait fonctionner sans aucune modification.

Tout le monde peut prendre l'initiative et copier (avec une reconstruction) ce package dans son propre PPA en quelques clics. Comme expliqué dans Puis-je obtenir un paquet d'un ppa que ma distribution ne supporte pas?

Quoi qu'il en soit, voici un package prêt à l'emploi (comme je l'ai essayé, cela fonctionne), mais je vous conseille vivement de prendre cette aventure rapide.

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
user.dz

indicator-sensors n'est plus supporté sur Ubuntu 16.04 LTS.

0
Mohamed Slama