O problema está no script install-deps
Por favor, substitua a linha 139 pelo seguinte comando.
sudo apt-get install -y software-properties-common
Estou usando o Ubuntu e quero instalar o Torch. Estou seguindo este guia .
A primeira linha é executada corretamente:
git clone https://github.com/torch/distro.git ~/torch --recursive
Mas falha em
cd ~/torch; bash install-deps;
Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial InRelease
Hit:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release
Get:4 htt p://security.ubuntu. com/ubuntu xenial-security InRelease [94.5 kB]
Hit:5 htt p://archive.ubuntu. com/ubuntu xenial InRelease
Get:6 htt p://archive.ubuntu. com/ubuntu xenial-updates InRelease [94.5 kB]
Fetched 189 kB in 0s (355 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-software-properties 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
However the following packages replace it:
software-properties-common
E: Package 'python-software-properties' has no installation candidate
(Had to add spaces to the links because I don't have enough rep)
**dpkg -L python-software-properties | xargs ls -d > /dev/null** yields
dpkg-query: package 'python-software-properties' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Este comando fornece a mesma mensagem de erro:
sudo apt-get install --reinstall python-software-properties
Corri sudo apt-get install software-properties-common
e ele foi instalado corretamente, mas ainda recebo o mesmo erro.
Estou executando a versão mais recente do Ubuntu em um dispositivo USB de 64 bits
O problema está no script install-deps
Por favor, substitua a linha 139 pelo seguinte comando.
sudo apt-get install -y software-properties-common