Não é possível instalar o mkchromecast

1

Estou tentando instalar o mkchromecast .

Seguindo as instruções do site, primeiro tentei:

$ sudo apt-get install mkchromecast

Que retornou:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mkchromecast

Quando isso não funcionou, eu baixei o .deb e tentei isso:

$ sudo dpkg -i mkchromecast_0.3.6-3_all.deb

e obtivemos a seguinte resposta:

Selecting previously unselected package mkchromecast.
(Reading database ... 244586 files and directories currently installed.)
Preparing to unpack mkchromecast_0.3.6-3_all.deb ...
Unpacking mkchromecast (0.3.6-3) ...
dpkg: dependency problems prevent configuration of mkchromecast:
 mkchromecast depends on python-flask; however:
  Package python-flask is not installed.
 mkchromecast depends on python-pychromecast; however:
  Package python-pychromecast is not installed.
 mkchromecast depends on python-psutil; however:
  Package python-psutil is not installed.
 mkchromecast depends on vorbis-tools (>= 1.4.0); however:
  Package vorbis-tools is not installed.
 mkchromecast depends on lame (>= 3.99.0); however:
  Package lame is not installed.
 mkchromecast depends on flac (>= 1.3.0); however:
  Package flac is not installed.
 mkchromecast depends on python-pyqt5; however:
  Package python-pyqt5 is not installed.
 mkchromecast depends on youtube-dl; however:
  Package youtube-dl is not installed.

dpkg: error processing package mkchromecast (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 mkchromecast

Algumas pesquisas no Google levaram-me a tentar:

sudo gdebi mkchromecast_0.3.6-3_all.deb

Que retornou:

Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: python-pychromecast

Então baixei o python-pychromecast.deb e:

sudo gdebi python-pychromecast_0.7.7-2_all.deb

Mas parece que a versão correta do python-protobuf não está instalada:

Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: python-protobuf (>= 3)

No entanto, se eu executar:

sudo apt-get install python-protobuf

Diz-me que já está na versão mais recente:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-protobuf is already the newest version (2.6.1-1.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Por isso forcei uma instalação da versão correta com:

sudo -H pip install --upgrade protobuf==3.2.0

Mas isso dá essa resposta:

Requirement already up-to-date: protobuf==3.2.0 in /usr/local/lib/python2.7/dist-packages/protobuf-3.2.0-py2.7.egg
Requirement already up-to-date: six>=1.9 in /usr/lib/python2.7/dist-packages (from protobuf==3.2.0)
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages (from protobuf==3.2.0)
Requirement already up-to-date: appdirs>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from setuptools->protobuf==3.2.0)
Requirement already up-to-date: packaging>=16.8 in /usr/local/lib/python2.7/dist-packages (from setuptools->protobuf==3.2.0)
Requirement already up-to-date: pyparsing in /usr/local/lib/python2.7/dist-packages (from packaging>=16.8->setuptools->protobuf==3.2.0)

O que me leva a acreditar que a versão > = 3 deve ser instalada ...

Alguém pode me dizer o que estou fazendo de errado?

    
por John Stoneman 12.03.2017 / 15:30

1 resposta

0

A instalação da fonte funcionou.

Também abri um problema no github , ao qual o criador de conteúdo respondeu:

Corrija-me se estiver errado, mas o Mint é um derivativo do Ubuntu. Eu imagino que a partir de abril o Ubuntu está tendo este aplicativo em seus repositórios e, portanto, Mint fará o mesmo (eventualmente). Por favor, sinta-se à vontade para fechar este relatório se achar que o problema está resolvido. Obrigado.

    
por 12.03.2017 / 20:20