Obtendo um deb com problema de wget

0

Estou tentando pegar Anki assim:

wget https://anki.googlecode.com/files/anki-2.0.12.deb

(Essa é a versão mais recente) me dá:

zsh: no such file or directory: wget https://anki.googlecode.com/files/anki-2.0.12.deb

Estou escrevendo um script de instalação para o meu sistema, o mesmo funcionou com o Skype e o GoogleChrome, sem saber qual é o problema?

    
por mirandalol 02.08.2013 / 15:25

1 resposta

0

Não há problema com o script ou o comando. Mas para sua confirmação eu estou dando meu log aqui

frank-Jai% wget https://anki.googlecode.com/files/anki-2.0.12.deb
--2013-08-02 19:09:12--  https://anki.googlecode.com/files/anki-2.0.12.deb
Resolving anki.googlecode.com (anki.googlecode.com)... 74.125.135.82, 2404:6800:4001:c01::52
Connecting to anki.googlecode.com (anki.googlecode.com)|74.125.135.82|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2958570 (2.8M) [application/x-debian-package]
Saving to: ‘anki-2.0.12.deb’

100%[======================================>] 29,58,570   52.0KB/s   in 53s    

2013-08-02 19:10:07 (54.1 KB/s) - ‘anki-2.0.12.deb’ saved [2958570/2958570]

Eu fiz a mesma coisa escrevendo um script como você está tentando fazer. aqui está o log,

frank-Jai% cat install.sh 
#!/bin/zsh
wget https://anki.googlecode.com/files/anki-2.0.12.deb
done

saída:

frank-Jai% chmod +x install.sh
frank-Jai% ./install.sh 
--2013-08-02 19:15:08--  https://anki.googlecode.com/files/anki-2.0.12.deb
Resolving anki.googlecode.com (anki.googlecode.com)... 74.125.135.82, 2404:6800:4001:c01::52
Connecting to anki.googlecode.com (anki.googlecode.com)|74.125.135.82|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2958570 (2.8M) [application/x-debian-package]
Saving to: ‘anki-2.0.12.deb.1’

veja e verifique com o seu script para descobrir onde está o erro.

espero que ajude um pouco.

    
por rɑːdʒɑ 02.08.2013 / 15:43