Autor Tópico: wget não funciona [resolvido]  (Lida 4451 vezes)

Offline versorger

  • Usuário Ubuntu
  • *
  • Mensagens: 20
    • Ver perfil
wget não funciona [resolvido]
« Online: 27 de Janeiro de 2009, 13:12 »
Boa tarde!

Sou um novo usuário de linux. Estou há uma semana usando o Ubuntu 8.10 e esta é a primeira dúvida que está me atrapalhando:

Estou tentando instalar uns pacotes, de acordo com um tutorial encontrado aqui: http://andregondim.eti.br/?p=296

O problema é que sempre aparece esta mensagem: "E: Tipo "wget" não é conhecido na linha 55 na lista de fontes /etc/apt/sources.list E: A lista de fontes não pode ser lida."

Alguma sugestão?

Obrigado.
« Última modificação: 29 de Janeiro de 2009, 17:21 por versorger »

Offline Felix

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 3.068
    • Ver perfil
    • Alexsandro Felix
Re: wget não funciona
« Resposta #1 Online: 27 de Janeiro de 2009, 13:14 »
há algum wget em sua sources.list? Copie a mesma e coloque aqui no fórum para termos certeza.

Offline versorger

  • Usuário Ubuntu
  • *
  • Mensagens: 20
    • Ver perfil
Re: wget não funciona
« Resposta #2 Online: 27 de Janeiro de 2009, 20:13 »
há algum wget em sua sources.list? Copie a mesma e coloque aqui no fórum para termos certeza.

# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ intrepid universe
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://br.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb http://packages.medibuntu.org/intrepid free non-free
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -o-

sudo aptitude install w32codecs libdvdcss2 -y
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -o-
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -o-
sudo apt-key add - && sudo aptitude update
deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse universe #Added by software-properties
sudo aptitude install w32codecs libdvdcss2 -y


é disso que precisas?

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: wget não funciona
« Resposta #3 Online: 28 de Janeiro de 2009, 00:16 »
Se o que informou em itálico na mensagem anterior é o conteúdo do seu sources.list tem muito o que tirar dele.

Primeiro edite o arquivo:

Código: [Selecionar]
sudo  gedit   /etc/apt/sources.list
Ai elimine as linhas em destaque abaixo:

Citar
# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ intrepid universe
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://br.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb http://packages.medibuntu.org/intrepid free non-free
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -o-

sudo aptitude install w32codecs libdvdcss2 -y
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -o-
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -o-
sudo apt-key add - && sudo aptitude update
deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse universe #Added by software-properties
sudo aptitude install w32codecs libdvdcss2 -y

Talvez será necessário executar os comandos abaixo:

Citar
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -o-
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -o-
sudo apt-key add - && sudo aptitude update

E se não executar os comandos anteriores com certeza terá que executar o abaixo:

Código: [Selecionar]
sudo  apt-get   update
« Última modificação: 28 de Janeiro de 2009, 00:19 por clcampos »
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline versorger

  • Usuário Ubuntu
  • *
  • Mensagens: 20
    • Ver perfil
Re: wget não funciona
« Resposta #4 Online: 28 de Janeiro de 2009, 22:29 »
Ok. Parece estar funcionando normalmente agora.

Muito Obrigado!

Abraço!