reuel_sc
(usa Ubuntu)
Enviado em 08/04/2012 - 03:04h
edps escreveu:
os passos citados pelo @samuka2207 estão corretos:
# rm -f /var/lib/apt/lists/*
# rm -f /var/lib/apt/lists/partial/*
# apt-get update
* não é necessário usar o 'apt-get clean' pois isso remove todos os pacotes do cache e eles nada tem a ver com esse problema.
Mas como não resolveu, provavelmente o tal do repo 'partner' deve estar contido no seu sources.list e quem sabe em: /etc/apt/sources.list.d/
Para desmistificar o problema, digite os seguintes comandos no terminal e retorne com as saídas geradas:
$ cat /etc/apt/sources.list
$ ls /etc/apt/sources.list.d/
edps digitando cat /etc/apt/sources.list retornou o seguinte:
# 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://br.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src
http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb
http://br.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src
http://br.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://br.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src
http://br.archive.ubuntu.com/ubuntu/ oneiric universe
deb
http://br.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src
http://br.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://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src
http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb
http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src
http://br.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://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src
http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb
http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src
http://security.ubuntu.com/ubuntu oneiric-security universe
deb
http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src
http://security.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
## Repository VirtualBox 4.1 of the Debian
deb
http://download.virtualbox.org/virtualbox/debian oneiric contrib
e quando eu digitei ls /etc/apt/sources.list.d retornou as seguintes saídas:
eloaders-i-nex-daily-oneiric.list.save
google-chrome.list
google-chrome.list.save
jd-team-jdownloader-oneiric.list.save
nemh-gambas3-oneiric.list.save
oneiric-partner.list
oneiric-partner.list.save
opera.list
opera.list.save
ubuntu-wine-ppa-oneiric.list.save
webupd8team-y-ppa-manager-oneiric.list.save.
qndo eu digitei rm -f /var/lib/apt/lists/* aparece o seguinte:
rm: não foi possível remover "/var/lib/apt/lists/partial": É um diretório