Autor Tópico: [Resolvido]Gerenciador de Atualizações -Não foi possível inicializar pacote  (Lida 2272 vezes)

Offline Rondiny

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Pessoal, sou novo usuário do Ubuntu 11.04. Tenho um problema. o meu gerenciador de atualizações ao ser aberto aparece a mensagem:
"Não foi possível inicializar as informações do pacote"

"Um problema impossível de resolver ocorreu erro enquanto inicializava as informações  do pacote."

"Por favor relate este erro do pacote 'update-manager' e inclua a seguinte mensagem de erro:"

" 'E:Tipo 'exit' não é conhecido na linha 61 na lista de fonte/etc/apt/sources.list'  "

O que devo fazer?

Obrigado,
Rondiny
« Última modificação: 08 de Dezembro de 2011, 00:18 por Rondiny »

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Abra um terminal e digite

sudo gedit /etc/apt/sources.list

e poste aqui o conteúdo do arquivo (deixe o arquivo aberto no caso de precisar alterar algo).

Offline Rondiny

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Sim, apareceu no arquivo isto:

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
# 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 main restricted

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

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 maverick main
# deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu/ natty-security restricted main multiverse universe
deb http://download.virtualbox.org/virtualbox/debian lucid non-free
deb-src http://download.virtualbox.org/virtualbox/debian lucid non-free
deb http://download.virtualbox.org/virtualbox/debian natty contrib


exit
deb http://download.virtualbox.org/virtualbox/debian natty contrib

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Citar

exit
deb http://download.virtualbox.org/virtualbox/debian natty contrib

Eis ai o seu problema

apague este exit ai, salve o arquivo e depois de os comando no terminal

sudo apt-get update && sudo apt-get upgrade

aguarde terminar a atualização e feche o terminal, o sistema voltará a funcionar normalmente.

Offline Rondiny

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Sim, agora funcionou!

Muito Obrigado, Andry!

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Sim, agora funcionou!

Se possível da uma lida nesse link abaixo

Iniciantes leiam isso antes de postar