web-dev-qa-db-fra.com

Impossible d'installer w3m et w3m-img à l'aide d'un terminal!

Gauti@DESKTOP-6G981SF:~$ Sudo apt-get update
Sudo: unable to resolve Host DESKTOP-6G981SF
Reading package lists... Done
Gauti@DESKTOP-6G981SF:~$ Sudo apt-get install w3m w3m-img
Sudo: unable to resolve Host DESKTOP-6G981SF
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package w3m-img is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'w3m-img' has no installation candidate
Gauti@DESKTOP-6G981SF:~$

enter image description here

1
Gautam Prakash

Tout d’abord, si vous examinez attentivement votre sortie, la mise à jour fonctionne correctement. Ce qui échoue, c'est l'installation du paquet w3m-img. Je vous recommande vivement de vérifier si le référentiel universe est activé, car le package w3m-img appartient à ce référentiel. Voir la sortie ci-dessous:

$ apt-cache policy w3m-img                                  
w3m-img:
  Installed: (none)
  Candidate: 0.5.3-26build1
  Version table:
     0.5.3-26build1 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe AMD64 Packages
2