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
Olá amigos,
instalei há poucos dias o ubuntu 11.10 em um pc, funciona a internet, mas não consigo atualizar e nem instalar nada via terminal (sudo apt-get install ...). Também não tem Synaptic e nem consigo instala-lo (como todos os outros programas)...
Fiz o comando sugerido por platão, e me disse:
"rm: não foi possível remover "/var/lib/apt/lists/partial": É um diretório
rm: não foi possível remover "/var/lib/apt/lists/partial/*": Arquivo ou diretório não encontrado
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
Err
http://archive.ubuntu.com oneiric InRelease
Err
http://archive.ubuntu.com oneiric-updates InRelease
Err
http://archive.ubuntu.com oneiric-backports InRelease
Err
http://archive.ubuntu.com oneiric-security InRelease
Err
http://extras.ubuntu.com oneiric InRelease
Err
http://ftp.us.debian.org squeeze InRelease
Err
http://archive.ubuntu.com oneiric Release.gpg
Desabilitado para conectar com 200.134.81.53:3128:
Err
http://archive.ubuntu.com oneiric-updates Release.gpg
Desabilitado para conectar com 200.134.81.53:3128:
Err
http://archive.ubuntu.com oneiric-backports Release.gpg
Desabilitado para conectar com 200.134.81.53:3128:
Err
http://extras.ubuntu.com oneiric Release.gpg
Desabilitado para conectar com 200.134.81.53:3128:
Err
http://ftp.us.debian.org squeeze Release.gpg
Desabilitado para conectar com 200.134.81.53:3128:
Err
http://archive.ubuntu.com oneiric-security Release.gpg
Desabilitado para conectar com 200.134.81.53:3128:
Lendo listas de pacotes... Pronto
W: Falhou ao buscar
http://archive.ubuntu.com/ubuntu/dists/oneiric/InRelease W: Falhou ao buscar
http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/InRelease W: Falhou ao buscar
http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/InRelease W: Falhou ao buscar
http://archive.ubuntu.com/ubuntu/dists/oneiric-security/InRelease W: Falhou ao buscar
http://extras.ubuntu.com/ubuntu/dists/oneiric/InRelease W: Falhou ao buscar
http://ftp.us.debian.org/debian/dists/squeeze/InRelease W: Falhou ao buscar
http://archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Desabilitado para conectar com 200.134.81.53:3128:
W: Falhou ao buscar
http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg Desabilitado para conectar com 200.134.81.53:3128:
W: Falhou ao buscar
http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/Release.gpg Desabilitado para conectar com 200.134.81.53:3128:
W: Falhou ao buscar
http://archive.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg Desabilitado para conectar com 200.134.81.53:3128:
W: Falhou ao buscar
http://extras.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Desabilitado para conectar com 200.134.81.53:3128:
W: Falhou ao buscar
http://ftp.us.debian.org/debian/dists/squeeze/Release.gpg Desabilitado para conectar com 200.134.81.53:3128:
W: Alguns arquivos index falharam ao ser baixados. Eles foram ignorados, ou cópias antigas são usadas ao invés.
"
a seguir lhes envio o que está no arquivo "source.list":
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric 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 oneiric main restricted
deb-src
http://archive.ubuntu.com/ubuntu oneiric main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb
http://archive.ubuntu.com/ubuntu oneiric-updates main restricted
deb-src
http://archive.ubuntu.com/ubuntu oneiric-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 oneiric universe
deb-src
http://archive.ubuntu.com/ubuntu oneiric universe
deb
http://archive.ubuntu.com/ubuntu oneiric-updates universe
deb-src
http://archive.ubuntu.com/ubuntu oneiric-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 oneiric multiverse
deb-src
http://archive.ubuntu.com/ubuntu oneiric multiverse
deb
http://archive.ubuntu.com/ubuntu oneiric-updates multiverse
deb-src
http://archive.ubuntu.com/ubuntu oneiric-updates multiverse
## 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://archive.ubuntu.com/ubuntu oneiric-backports main restricted universe multiverse
deb-src
http://archive.ubuntu.com/ubuntu oneiric-backports main restricted universe multiverse
deb
http://archive.ubuntu.com/ubuntu oneiric-security main restricted
deb-src
http://archive.ubuntu.com/ubuntu oneiric-security main restricted
deb
http://archive.ubuntu.com/ubuntu oneiric-security universe
deb-src
http://archive.ubuntu.com/ubuntu oneiric-security universe
deb
http://archive.ubuntu.com/ubuntu oneiric-security multiverse
deb-src
http://archive.ubuntu.com/ubuntu oneiric-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 oneiric partner
# deb-src
http://archive.canonical.com/ubuntu oneiric 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 oneiric main
deb-src
http://extras.ubuntu.com/ubuntu oneiric main
# Debian Squeeze/6.0
deb
http://ftp.us.debian.org/debian squeeze main contrib non-free
ok, é isso, gostaria de saber se algum de vcs têm alguma sugestão para solucionar esse problema.
Abraço.