Enquete

Como faço para resolver este problema?

resovler problema
0 (0%)
como se resolve este problema
0 (0%)

Votos Totais: 0

Autor Tópico: Atualização. Resolvido!!!  (Lida 2338 vezes)

Offline cajaboy

  • Usuário Ubuntu
  • *
  • Mensagens: 763
  • "Livre-se da tela azul, seja livre, use GNU/Linux"
    • Ver perfil
Atualização. Resolvido!!!
« Online: 01 de Junho de 2011, 18:58 »
É o seguinte, depois de atualizar o ubuntu para sua versão 11.04 ocorre o seguinte erro quando tento usar o sudo apt-get update.

Um problema impossível de se resolver ocorreu enquanto inicializava as informações do pacote.
Por favor relate este erro do pacote 'update-manager' e inclua a seguinte mensagem de erro:
'E:Linha mal formada 56 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)'

alguém aí já viu esse erro e como resolver?
agradeço.
« Última modificação: 02 de Junho de 2011, 19:48 por cajaboy »
Baixe seu ubuntu, ou derivados aqui: http://releases.ubuntu.com/
"Porque há um só Deus, e um só Mediador entre Deus e os homens, Jesus Cristo homem." 1 Timóteo 2:5

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Atualização.
« Resposta #1 Online: 01 de Junho de 2011, 20:27 »
Ola tente esse comando, e um comando so, copie e cole no terminal veja se ajuda;

sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update

Se ainda nao funcionar e continuar com o erro faça;

gedit /etc/apt/sources.list

Se abrira uma janela, copie todo o conteudo e cole aqui para os companheiros analizarem.
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline cajaboy

  • Usuário Ubuntu
  • *
  • Mensagens: 763
  • "Livre-se da tela azul, seja livre, use GNU/Linux"
    • Ver perfil
Re: Atualização.
« Resposta #2 Online: 01 de Junho de 2011, 21:23 »
Como vc pediu a 1ª opção não deu certo, então fiz a segunda e deu isso.

# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb-src http://archive.ubuntu.com/ubuntu natty main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-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://br.archive.ubuntu.com/ubuntu/ natty universe
deb http://br.archive.ubuntu.com/ubuntu/ natty-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://br.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://br.archive.ubuntu.com/ubuntu/ natty-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/ maverick-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ maverick-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 natty partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main

deb http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu natty-security universe
deb http://security.ubuntu.com/ubuntu natty-security multiverse
deb http://www.geekconnection.org/remastersys/repository natty
deb http://www.geekconnection.org/remastersys/repository natty
deb http://www.remastersys.klikit-linux.com/repository natty
deb http://www.geekconnection.org/remastersys/repository natty


# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb-src http://br.archive.ubuntu.com/ubuntu/ natty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-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-src http://br.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-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-src http://br.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-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/ natty-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

deb-src http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security universe
deb-src http://security.ubuntu.com/ubuntu natty-security 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 natty partner
# deb-src http://archive.canonical.com/ubuntu natty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
Baixe seu ubuntu, ou derivados aqui: http://releases.ubuntu.com/
"Porque há um só Deus, e um só Mediador entre Deus e os homens, Jesus Cristo homem." 1 Timóteo 2:5

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Atualização.
« Resposta #3 Online: 01 de Junho de 2011, 21:48 »
Ola

O erro como diz na sua propria mensagem ( linha 56 )

Citar
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main

deb http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu natty-security universe
deb http://security.ubuntu.com/ubuntu natty-security multiverse
deb http://www.geekconnection.org/remastersys/repository natty
deb http://www.geekconnection.org/remastersys/repository natty
deb http://www.remastersys.klikit-linux.com/repository natty

deb http://www.geekconnection.org/remastersys/repository natty

entre em terminal, digite
Código: [Selecionar]
sudo gedit /etc/apt/sources.list
remova a linha inteira que marquei em vermelho, salve e feche.

Ainda em terminal digite:
Código: [Selecionar]
sudo apt-get update
alguém aí já viu esse erro e como resolver?

O google viu 1400 resultados=> google para E:Linha mal formada no arquivo de fontes /etc/apt

/sources.list

E a pesquisa aqui no forum por => "linha mal formada"

Retornou duas paginas. => http://ubuntuforum-br.org/index.php?action=search2

[]'s

Offline cajaboy

  • Usuário Ubuntu
  • *
  • Mensagens: 763
  • "Livre-se da tela azul, seja livre, use GNU/Linux"
    • Ver perfil
Re: Atualização.
« Resposta #4 Online: 02 de Junho de 2011, 19:48 »
Fiz uma instalação limpa e deu certo.
muito obrigado pelas dicas aqui postadas.
Deu certo e já atualizei e está a 100%, a todo vapor.
Baixe seu ubuntu, ou derivados aqui: http://releases.ubuntu.com/
"Porque há um só Deus, e um só Mediador entre Deus e os homens, Jesus Cristo homem." 1 Timóteo 2:5