mephistost
(usa Ubuntu)
Enviado em 15/12/2018 - 13:42h
Olá colegas, estou enfrentando alguns problemas oriundos de uma tentativa ainda falha de instalação de aplicativos. Inicialmente estive tentando instalar o Spotify e a partir daí usei o $ sudo apt-get update; porém sempre ocorria o seguinte:
Lendo listas de pacotes... Pronto
W: Duplicate sources.list entry
http://repository.spotify.com/">
http://repository.spotify.com/ stable/non-free amd64 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry
http://repository.spotify.com/">
http://repository.spotify.com/ stable/non-free amd64 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry
http://repository.spotify.com/">
http://repository.spotify.com/ stable/non-free i386 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-i386_Packages)
W: Duplicate sources.list entry
http://repository.spotify.com/">
http://repository.spotify.com/ stable/non-free i386 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas
pois bem, tentei várias vezes utilizando $ sudo rm -rfv /etc/apt/sources.list e até então ele apagava esses conteúdos duplicados, no entanto sempre que dava update eles voltavam e essa mensagem aparecia novamente. Até que mudei para $ sudo rm -rfv /var/lib/apt/lists* e então:
removido “/var/lib/apt/lists/ppa.launchpad.net_webupd8team_java_ubuntu_dists_precise_main_i18n_Index”
removido “/var/lib/apt/lists/repository.spotify.com_dists_stable_Release”
removido “/var/lib/apt/lists/dell.archive.canonical.com_updates_dists_precise-dell_public_binary-i386_Packages”
removido “/var/lib/apt/lists/ppa.launchpad.net_webupd8team_java_ubuntu_dists_precise_main_i18n_Translation-en”
removido “/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-amd64_Packages”
removido “/var/lib/apt/lists/oem.archive.canonical.com_updates_dists_precise-oem-sp1_public_source_Sources”
removido “/var/lib/apt/lists/repository.spotify.com_dists_stable_Release.gpg”
removido “/var/lib/apt/lists/oem.archive.canonical.com_updates_dists_precise-oem-sp1_Release.gpg”
removido “/var/lib/apt/lists/dell.archive.canonical.com_updates_dists_precise-dell_public_source_Sources”
removido “/var/lib/apt/lists/ppa.launchpad.net_webupd8team_java_ubuntu_dists_precise_main_binary-amd64_Packages”
removido “/var/lib/apt/lists/ppa.launchpad.net_webupd8team_java_ubuntu_dists_precise_Release.gpg”
removido “/var/lib/apt/lists/oem.archive.canonical.com_updates_dists_precise-oem-sp1_public_binary-amd64_Packages”
removido “/var/lib/apt/lists/ppa.launchpad.net_webupd8team_java_ubuntu_dists_precise_Release”
removido “/var/lib/apt/lists/lock”
removido “/var/lib/apt/lists/dell.archive.canonical.com_updates_dists_precise-dell_Release.gpg”
removido “/var/lib/apt/lists/ppa.launchpad.net_webupd8team_java_ubuntu_dists_precise_main_source_Sources”
removido “/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-i386_Packages”
removeu o diretório: “/var/lib/apt/lists/partial”
removido “/var/lib/apt/lists/ppa.launchpad.net_webupd8team_java_ubuntu_dists_precise_main_binary-i386_Packages”
removido “/var/lib/apt/lists/dell.archive.canonical.com_updates_dists_precise-dell_Release”
removido “/var/lib/apt/lists/oem.archive.canonical.com_updates_dists_precise-oem-sp1_public_binary-i386_Packages”
removido “/var/lib/apt/lists/oem.archive.canonical.com_updates_dists_precise-oem-sp1_Release”
removido “/var/lib/apt/lists/dell.archive.canonical.com_updates_dists_precise-dell_public_binary-amd64_Packages”
removeu o diretório: “/var/lib/apt/lists”
quezia@Inspirion:~$ sudo rm -rfv /etc/apt/sources.list
quezia@Inspirion:~$ sudo rm -rfv /etc/apt/sources.lists
quezia@Inspirion:~$ sudo apt-get update
Obter:1
http://ppa.launchpad.net precise Release.gpg [299 B]
Obter:2
http://oem.archive.canonical.com precise-oem-sp1 Release.gpg [287 B]
Obter:3
http://dell.archive.canonical.com precise-dell Release.gpg [287 B]
Obter:4
http://dell.archive.canonical.com precise-dell Release [4.238 B]
Obter:5
http://oem.archive.canonical.com precise-oem-sp1 Release [4.325 B]
Obter:6
http://repository.spotify.com stable Release.gpg [819 B]
Obter:7
http://ppa.launchpad.net precise Release [12,9 kB]
Obter:8
http://dell.archive.canonical.com precise-dell/public Sources [2.716 B]
Obter:9
http://oem.archive.canonical.com precise-oem-sp1/public Sources [12,7 kB]
Obter:10
http://repository.spotify.com stable Release [2.434 B]
Obter:11
http://dell.archive.canonical.com precise-dell/public amd64 Packages [3.139 B]
Obter:12
http://dell.archive.canonical.com precise-dell/public i386 Packages [3.139 B]
Ign
http://dell.archive.canonical.com precise-dell/public TranslationIndex
Obter:13
http://oem.archive.canonical.com precise-oem-sp1/public amd64 Packages [21,5 kB]
Obter:14
http://ppa.launchpad.net precise/main Sources [663 B]
Obter:15
http://oem.archive.canonical.com precise-oem-sp1/public i386 Packages [21,4 kB]
Obter:16
http://repository.spotify.com stable/non-free amd64 Packages [1.625 B]
Ign
http://oem.archive.canonical.com precise-oem-sp1/public TranslationIndex
Obter:17
http://repository.spotify.com stable/non-free i386 Packages [1.171 B]
Obter:18
http://ppa.launchpad.net precise/main amd64 Packages [1.701 B]
Ign
http://repository.spotify.com stable/non-free TranslationIndex
Obter:19
http://ppa.launchpad.net precise/main i386 Packages [1.701 B]
Obter:20
http://ppa.launchpad.net precise/main TranslationIndex [199 B]
Ign
http://dell.archive.canonical.com precise-dell/public Translation-pt_BR
Obter:21
http://ppa.launchpad.net precise/main Translation-en [910 B]
Ign
http://dell.archive.canonical.com precise-dell/public Translation-pt
Ign
http://dell.archive.canonical.com precise-dell/public Translation-en
Ign
http://oem.archive.canonical.com precise-oem-sp1/public Translation-pt_BR
Ign
http://oem.archive.canonical.com precise-oem-sp1/public Translation-pt
Ign
http://oem.archive.canonical.com precise-oem-sp1/public Translation-en
Ign
http://repository.spotify.com stable/non-free Translation-pt_BR
Ign
http://repository.spotify.com stable/non-free Translation-pt
Ign
http://repository.spotify.com stable/non-free Translation-en
Baixados 98,2 kB em 4s (22,0 kB/s)
Lendo listas de pacotes... Pronto
W: Duplicate sources.list entry
http://repository.spotify.com/">
http://repository.spotify.com/ stable/non-free amd64 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry
http://repository.spotify.com/">
http://repository.spotify.com/ stable/non-free amd64 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry
http://repository.spotify.com/">
http://repository.spotify.com/ stable/non-free i386 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-i386_Packages)
W: Duplicate sources.list entry
http://repository.spotify.com/">
http://repository.spotify.com/ stable/non-free i386 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas
quezia@Inspirion:~$ sudo rm -rfv /etc/apt/sources.list
quezia@Inspirion:~$ sudo rm -rfv /etc/apt/sources.list*
removido “/etc/apt/sources.list~”
removido “/etc/apt/sources.list.d/precise-oem-sp1.list”
removido “/etc/apt/sources.list.d/precise-oem-sp1.list.save”
removido “/etc/apt/sources.list.d/spotify.list”
removido “/etc/apt/sources.list.d/precise-dell.list.save”
removido “/etc/apt/sources.list.d/webupd8team-java-precise.list”
removido “/etc/apt/sources.list.d/precise-dell.list”
removeu o diretório: “/etc/apt/sources.list.d”
removido “/etc/apt/sources.list.save”
Dei outro update e aconteceu que:
W: Impossível ler /etc/apt/sources.list.d/ - DirectoryExists (2: Arquivo ou diretório não encontrado)
W: Impossível ler /etc/apt/sources.list - RealFileExists (2: Arquivo ou diretório não encontrado)
Bom, em suma é esse o problema, estive tentando resolver por mim enquanto lia outros tópicos semelhantes/que tiveram o mesmo problema e agora cheguei nesse beco sem saída, rs. Estou ligeiramente confuso, até porque não tenho tanta prática e estudo da funcionalidade do Linux, mas espero que consigamos chegar em algum lugar.
Aliás, dando um lsb_release -a tenho as seguintes informações sobre a versão:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Agradeço a paciência desde já.