Autor Tópico: Problemas com acesso á atualizações [Resolvido]  (Lida 2319 vezes)

Offline IgorCeva

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Problemas com acesso á atualizações [Resolvido]
« Online: 01 de Abril de 2010, 19:51 »
Boa Noite
Sou iniciante no Ubuntu(9.04) e no forum.
Meu problema é o seguinte quando tento vereficar atualizações :

E:Tipo 'http://archive.canonical.com/ubuntu' não é conhecido na linha 54 na lista de fontes /etc/apt/sources.list, E:Tipo 'sudo' não é conhecido na linha 4 na lista de fontes /etc/apt/sources.list.d/medibuntu.list,
E:A lista de fontes não pode ser lida.'
.
Ja procurei varios posts e nenhum eu consegui solucionar o meu problema.
Desde de já agradeço.
 ???
« Última modificação: 02 de Abril de 2010, 14:12 por IgorCeva »

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #1 Online: 01 de Abril de 2010, 22:30 »
Coloque aqui o conteúdo dos dois arquivos citados.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline IgorCeva

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #2 Online: 01 de Abril de 2010, 22:44 »
Coloque aqui o conteúdo dos dois arquivos citados.

Como assim ?
Desculper não te entendi.

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #3 Online: 01 de Abril de 2010, 22:50 »
Ué, você leu a mensagem que você mesmo postou aqui? Nela dois arquivos são citados (/etc/apt/sources.list, /etc/apt/sources.list.d/medibuntu.list), cola aqui o conteúdo dos dois.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline IgorCeva

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #4 Online: 01 de Abril de 2010, 22:54 »
Tento acessa-los pelo terminal e da acesso negado,sou iniciante em linux, não sei se tem outro modo de acesso.
Poderia me informar

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #5 Online: 01 de Abril de 2010, 23:11 »
Aplicações > Acessórios > Editor de texto e abra os arquivos, não quero que salve nada nos arquivos por agora, só ver os conteúdos.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline IgorCeva

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #6 Online: 01 de Abril de 2010, 23:22 »
- # deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty 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/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

## 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/ jaunty universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-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/ jaunty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-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/ jaunty-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ jaunty-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 jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
http://archive.canonical.com/ubuntu dapper-commercial main
deb http://packages.medibuntu.org/ jaunty free non-free
deb-src http://packages.medibuntu.org/ jaunty free non-free

## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ jaunty free non-free #Medibuntu - Ubuntu 9.04 "jaunty jackalope"
# deb-src http://packages.medibuntu.org/ jaunty free non-free #Medibuntu (source) - Ubuntu 9.04 "jaunty jackalope"
sudo  apt-get   update
 


Offline IgorCeva

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #7 Online: 02 de Abril de 2010, 00:31 »
Então agora piorou minha situação, reiniciei o micro e o ubuntu não conectou,tentei varias tutoriais baseados no "sudo ppoeconfig, e não deu certo,e por favor me ajudem

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #8 Online: 02 de Abril de 2010, 00:37 »
[Editando]:

Por favor, um problema por vez e um problema por tópico.

[/Editando]

Agora sim, dá para gente acertar.

1o) Arquivo /etc/apt/sources.list, que tem um repositório do Dapper (versão do Ubuntu 6.06) nele, e ainda especificado da forma incorreta.

A - Abra um terminal (Aplicações > Acessórios > terminal);
B - Edite o arquivo:

Citar
sudo   gedit    /etc/apt/sources.list

C - Faça as alterações conforme indicado abaixo (exclua a linha em destaque) e salve o arquivo:

Citar
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty 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/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

## 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/ jaunty universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-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/ jaunty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-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/ jaunty-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ jaunty-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 jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
http://archive.canonical.com/ubuntu dapper-commercial main
deb http://packages.medibuntu.org/ jaunty free non-free
deb-src http://packages.medibuntu.org/ jaunty free non-free

2o) Arquivo /etc/apt/sources.list.d/medibuntu.list (com uma linha errada).

A - Com aquele terminal já aberto edite o arquivo:

Citar
sudo    gedit    /etc/apt/sources.list.d/medibuntu.list

B - Exclua a linha, conforme abaixo, e salve o arquivo:

Citar
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ jaunty free non-free #Medibuntu - Ubuntu 9.04 "jaunty jackalope"
# deb-src http://packages.medibuntu.org/ jaunty free non-free #Medibuntu (source) - Ubuntu 9.04 "jaunty jackalope"
sudo  apt-get   update

3o) Execute os comandos abaixo, ainda no terminal:

Citar
sudo    apt-get     update
sudo    apt-get     upgrade

Espero que resolva.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline IgorCeva

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Problemas com acesso á atualizações
« Resposta #9 Online: 02 de Abril de 2010, 14:10 »
clcampos .
Valeu pela ajuda,eu fiz como foi citado e ocorreu tudo bem
Valeu
Resolvido.

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Problemas com acesso á atualizações [Resolvido]
« Resposta #10 Online: 02 de Abril de 2010, 19:28 »
Fico feliz em ter ajudado.

[]'s e boa sorte!

Cristiano
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!