apt-get não funciona. [RESOLVIDO]

1. apt-get não funciona. [RESOLVIDO]

William S
Zerado

(usa Ubuntu)

Enviado em 19/09/2011 - 22:15h

Olá galera, instalei aqui o ubuntu 11.04 hoje e ficou tubo beleza, a princípio, então percebi que o apt-get não estava funcionando, e nem os gerenciadores de atualização, que estão dando o seguinte erro:

'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_natty_universe_i18n_Translation-pt, E:As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.'

então tentei usar o $sudo apt-get update e o $sudo apt-get upgrade e nada, não funcionou de jeito nenhum, alguem por favor pode dar um ajudinha ai? talves de como eu atualizo manualmente as listas?
obrigado.


  


2. Re: apt-get não funciona.

Ednilton Santos de Oliveira
ednilton_so

(usa KUbuntu)

Enviado em 19/09/2011 - 22:18h

Olá,

Execute
sudo apt-get update 

e coloque o resultado aqui pra gente ver.

Boa sorte.


3. isso aqui

William S
Zerado

(usa Ubuntu)

Enviado em 19/09/2011 - 22:26h

root@smith:/home/william# apt-get update
Ign http://extras.ubuntu.com natty InRelease
Ign http://br.archive.ubuntu.com natty InRelease
Ign http://br.archive.ubuntu.com natty-updates InRelease
Ign http://security.ubuntu.com natty-security InRelease
Atingido http://security.ubuntu.com natty-security Release.gpg
Atingido http://security.ubuntu.com natty-security Release
Atingido http://extras.ubuntu.com natty Release.gpg
Atingido http://br.archive.ubuntu.com natty Release.gpg
Atingido http://security.ubuntu.com natty-security/main Sources
Atingido http://extras.ubuntu.com natty Release
Atingido http://br.archive.ubuntu.com natty-updates Release.gpg
Atingido http://security.ubuntu.com natty-security/restricted Sources
Atingido http://security.ubuntu.com natty-security/universe Sources
Atingido http://security.ubuntu.com natty-security/multiverse Sources
Atingido http://security.ubuntu.com natty-security/main i386 Packages
Atingido http://br.archive.ubuntu.com natty Release
Atingido http://security.ubuntu.com natty-security/restricted i386 Packages
Atingido http://extras.ubuntu.com natty/main Sources
Atingido http://security.ubuntu.com natty-security/universe i386 Packages
Atingido http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Atingido http://br.archive.ubuntu.com natty-updates Release
Atingido http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Atingido http://br.archive.ubuntu.com natty/restricted Sources
Atingido http://br.archive.ubuntu.com natty/universe Sources
Atingido http://br.archive.ubuntu.com natty/multiverse Sources
Atingido http://br.archive.ubuntu.com natty/restricted i386 Packages
Atingido http://br.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://br.archive.ubuntu.com natty/main TranslationIndex
Ign http://br.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://br.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://br.archive.ubuntu.com natty/universe TranslationIndex
Atingido http://br.archive.ubuntu.com natty-updates/main Sources
Atingido http://br.archive.ubuntu.com natty-updates/restricted Sources
Atingido http://br.archive.ubuntu.com natty-updates/universe Sources
Atingido http://br.archive.ubuntu.com natty-updates/multiverse Sources
Atingido http://br.archive.ubuntu.com natty-updates/main i386 Packages
Atingido http://br.archive.ubuntu.com natty-updates/restricted i386 Packages
Atingido http://br.archive.ubuntu.com natty-updates/universe i386 Packages
Atingido http://br.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://br.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://br.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://br.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://br.archive.ubuntu.com natty-updates/universe TranslationIndex
Obter:1 http://br.archive.ubuntu.com natty/main Sources [1.077 kB]
Obter:2 http://br.archive.ubuntu.com natty/main i386 Packages [1.987 kB]
Obter:3 http://br.archive.ubuntu.com natty/universe i386 Packages [7.755 kB]
Atingido http://br.archive.ubuntu.com natty/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com natty/main Translation-pt
Atingido http://br.archive.ubuntu.com natty/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com natty/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com natty/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com natty/restricted Translation-pt
Atingido http://br.archive.ubuntu.com natty/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com natty/universe Translation-pt
Ign http://security.ubuntu.com natty-security/main Translation-pt_BR
Ign http://security.ubuntu.com natty-security/main Translation-pt
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt_BR
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-pt_BR
Ign http://security.ubuntu.com natty-security/restricted Translation-pt
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-pt_BR
Ign http://security.ubuntu.com natty-security/universe Translation-pt
Ign http://extras.ubuntu.com natty/main Translation-pt_BR
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://extras.ubuntu.com natty/main Translation-pt
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://br.archive.ubuntu.com natty/main Translation-en
Ign http://br.archive.ubuntu.com natty/multiverse Translation-en
Ign http://br.archive.ubuntu.com natty/restricted Translation-en
Ign http://br.archive.ubuntu.com natty/universe Translation-en
Ign http://br.archive.ubuntu.com natty-updates/main Translation-pt_BR
Ign http://br.archive.ubuntu.com natty-updates/main Translation-pt
Ign http://br.archive.ubuntu.com natty-updates/main Translation-en
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-pt_BR
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-pt
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-pt
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-pt
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-en
Baixados 3 B em 1min 38s (0 B/s)
W: Falhou ao buscar gzip:/var/lib/apt/lists/partial/br.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources Hash Sum incorreto

W: Falhou ao buscar gzip:/var/lib/apt/lists/partial/br.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages Hash Sum incorreto

W: Falhou ao buscar gzip:/var/lib/apt/lists/partial/br.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages Hash Sum incorreto

E: Alguns arquivos index falharam ao ser baixados. Eles foram ignorados, ou cópias antigas são usadas ao invés.
root@smith:/home/william#



4. Ajuda ae galera!

William S
Zerado

(usa Ubuntu)

Enviado em 19/09/2011 - 23:10h

ainda não consegui resolver esse problema se alguem tiver mais uma idéia eu agradesço.


5. Re: apt-get não funciona. [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 20/09/2011 - 00:30h

1 - o apt-get >>> está funcionando
2 - post sua sources.list >> su -c "nano /etc/apt/sources.list">>> senha do root...
se não tente sudo nano /etc/apt/sources.list e copie o conteudo aqui ok
3 - talvez isso lhe ajude >>> http://ubuntuforum-br.org/index.php?topic=82181.0


6. Sources list

William S
Zerado

(usa Ubuntu)

Enviado em 20/09/2011 - 22:24h

#deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty 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


7. Re: apt-get não funciona. [RESOLVIDO]

William S
Zerado

(usa Ubuntu)

Enviado em 20/09/2011 - 22:25h

como é que eu tiro o br do mal?


8. Re: apt-get não funciona. [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 20/09/2011 - 22:29h

faça isso nessa sequencia ok

1 >>> terminal >> sudo /etc/apt/sources.list

2 >>> apague tudo que está lá e cole isso >>>

#
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
#
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://extras.ubuntu.com/ubuntu natty main
deb http://packages.medibuntu.org/ natty free non-fre

3 >>> CTRL + O(é letra o e não zero) e depois CTRL + X

4 sudo apt-get update


9. Re: apt-get não funciona. [RESOLVIDO]

William S
Zerado

(usa Ubuntu)

Enviado em 20/09/2011 - 22:40h

galera o que eu fiz foi pegar a pasta list em var/lib/apt lá na faxuldade e cola mais ainda não resolveu meu probelma, amanhã vou copiar de lá a sorce lista tambem pra ver se resolve.


10. Re: apt-get não funciona. [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 20/09/2011 - 22:46h

não entendi? explique melhor por favor...

o que você tem que alterar é seu sources.list e só...

como no post anterior e tudo se resolverá...


11. Re: apt-get não funciona. [RESOLVIDO]

William S
Zerado

(usa Ubuntu)

Enviado em 20/09/2011 - 22:46h

é pra apagar TUDO mesmo que esta na source? e colocar só isso ai?
porqeu eu apaguei tudo que é br la e ficou assim:

#deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty 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/ natty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted

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



12. Re: apt-get não funciona. [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 20/09/2011 - 22:49h

pode apagar tudo e colar isso >>>>


#deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
#
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
#
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://extras.ubuntu.com/ubuntu natty main
deb http://packages.medibuntu.org/ natty free non-fre


deixe assim e pronto, depois

sudo apt-get update




01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts