Duplicar fontes nos arquivos APT do Ubuntu 14.10, eles estão OK?

1

Então eu estava me preparando para atualizar para o Ubuntu 15.04 e eu estava passando e limpando as coisas e esta é uma das coisas que se destacou para mim.

W: Duplicate sources.list entry http://download.opensuse.org/repositories/home:/p_conrad:/coins/xUbuntu_14.10/  Packages (/var/lib/apt/lists/download.opensuse.org_repositories_home:_p%5fconrad:_coins_xUbuntu%5f14.10_Packages)
W: You may want to run apt-get update to correct these problems

Agora, atualizar com sudo apt-get update não fez nada, então fui até o Vim tentar ver se conseguia remover as referências. Eu não vi nada, mas aqui está o conteúdo do diretório.

archive.canonical.com_ubuntu_dists_utopic_partner_binary-amd64_Packages                         security.ubuntu.com_ubuntu_dists_vivid-security_restricted_source_Sources
archive.canonical.com_ubuntu_dists_utopic_partner_binary-i386_Packages                          security.ubuntu.com_ubuntu_dists_vivid-security_universe_binary-amd64_Packages
archive.canonical.com_ubuntu_dists_utopic_partner_i18n_Translation-en                           security.ubuntu.com_ubuntu_dists_vivid-security_universe_binary-i386_Packages
archive.canonical.com_ubuntu_dists_utopic_partner_source_Sources                                security.ubuntu.com_ubuntu_dists_vivid-security_universe_i18n_Translation-en
archive.canonical.com_ubuntu_dists_utopic_Release                                               security.ubuntu.com_ubuntu_dists_vivid-security_universe_source_Sources
archive.canonical.com_ubuntu_dists_utopic_Release.gpg                                           us.archive.ubuntu.com_ubuntu_dists_utopic-backports_main_binary-amd64_Packages
archive.canonical.com_ubuntu_dists_vivid_partner_binary-amd64_Packages                          us.archive.ubuntu.com_ubuntu_dists_utopic-backports_main_binary-i386_Packages
archive.canonical.com_ubuntu_dists_vivid_partner_binary-i386_Packages                           us.archive.ubuntu.com_ubuntu_dists_utopic-backports_main_i18n_Translation-en
archive.canonical.com_ubuntu_dists_vivid_partner_i18n_Translation-en                            us.archive.ubuntu.com_ubuntu_dists_utopic-backports_main_source_Sources
archive.canonical.com_ubuntu_dists_vivid_partner_source_Sources                                 us.archive.ubuntu.com_ubuntu_dists_utopic-backports_multiverse_binary-amd64_Packages
archive.canonical.com_ubuntu_dists_vivid_Release                                                us.archive.ubuntu.com_ubuntu_dists_utopic-backports_multiverse_binary-i386_Packages
archive.canonical.com_ubuntu_dists_vivid_Release.gpg                                            us.archive.ubuntu.com_ubuntu_dists_utopic-backports_multiverse_i18n_Translation-en

download.opensuse.org_repositories_home:_p%5fconrad:_coins_xUbuntu%5f14.10_Packages             us.archive.ubuntu.com_ubuntu_dists_utopic-backports_multiverse_source_Sources
download.opensuse.org_repositories_home:_p%5fconrad:_coins_xUbuntu%5f14.10_Release              us.archive.ubuntu.com_ubuntu_dists_utopic-backports_Release
download.opensuse.org_repositories_home:_p%5fconrad:_coins_xUbuntu%5f14.10_Release.gpg          us.archive.ubuntu.com_ubuntu_dists_utopic-backports_Release.gpg

Agora, isso é o que eu acho que deveria estar procurando, mas isso não parece ter as duplicatas.

download.videolan.org_pub_debian_stable_Packages                                                us.archive.ubuntu.com_ubuntu_dists_utopic-backports_restricted_binary-amd64_Packages
download.videolan.org_pub_debian_stable_Release                                                 us.archive.ubuntu.com_ubuntu_dists_utopic-backports_restricted_binary-i386_Packages
download.videolan.org_pub_debian_stable_Release.gpg                                             us.archive.ubuntu.com_ubuntu_dists_utopic-backports_restricted_i18n_Translation-en
download.videolan.org_pub_debian_stable_Sources                                                 us.archive.ubuntu.com_ubuntu_dists_utopic-backports_restricted_source_Sources

extras.ubuntu.com_ubuntu_dists_utopic_main_binary-amd64_Packages                                us.archive.ubuntu.com_ubuntu_dists_utopic-backports_universe_binary-amd64_Packages
extras.ubuntu.com_ubuntu_dists_utopic_main_binary-i386_Packages                                 us.archive.ubuntu.com_ubuntu_dists_utopic-backports_universe_binary-i386_Packages
extras.ubuntu.com_ubuntu_dists_utopic_main_source_Sources                                       us.archive.ubuntu.com_ubuntu_dists_utopic-backports_universe_i18n_Translation-en
extras.ubuntu.com_ubuntu_dists_utopic_Release                                                   us.archive.ubuntu.com_ubuntu_dists_utopic-backports_universe_source_Sources
extras.ubuntu.com_ubuntu_dists_utopic_Release.gpg                                               us.archive.ubuntu.com_ubuntu_dists_utopic_main_binary-amd64_Packages

liveusb.info_multisystem_depot_dists_all_main_binary-amd64_Packages                             us.archive.ubuntu.com_ubuntu_dists_utopic_main_binary-i386_Packages
liveusb.info_multisystem_depot_dists_all_main_binary-i386_Packages                              us.archive.ubuntu.com_ubuntu_dists_utopic_main_i18n_Translation-en
liveusb.info_multisystem_depot_dists_all_Release                                                us.archive.ubuntu.com_ubuntu_dists_utopic_main_source_Sources
liveusb.info_multisystem_depot_dists_all_Release.gpg                                            us.archive.ubuntu.com_ubuntu_dists_utopic_multiverse_binary-amd64_Packages

lock                                                                                            us.archive.ubuntu.com_ubuntu_dists_utopic_multiverse_binary-i386_Packages
partial                                                                                         us.archive.ubuntu.com_ubuntu_dists_utopic_multiverse_i18n_Translation-en

ppa.launchpad.net_i-nex-development-team_stable_ubuntu_dists_utopic_main_binary-amd64_Packages  us.archive.ubuntu.com_ubuntu_dists_utopic_multiverse_source_Sources
ppa.launchpad.net_i-nex-development-team_stable_ubuntu_dists_utopic_main_binary-i386_Packages   us.archive.ubuntu.com_ubuntu_dists_utopic_Release
ppa.launchpad.net_i-nex-development-team_stable_ubuntu_dists_utopic_Release                     us.archive.ubuntu.com_ubuntu_dists_utopic_Release.gpg
ppa.launchpad.net_i-nex-development-team_stable_ubuntu_dists_utopic_Release.gpg                 us.archive.ubuntu.com_ubuntu_dists_utopic_restricted_binary-amd64_Packages
ppa.launchpad.net_kubuntu-ppa_backports_ubuntu_dists_utopic_main_binary-amd64_Packages          us.archive.ubuntu.com_ubuntu_dists_utopic_restricted_binary-i386_Packages
ppa.launchpad.net_kubuntu-ppa_backports_ubuntu_dists_utopic_main_binary-i386_Packages           us.archive.ubuntu.com_ubuntu_dists_utopic_restricted_i18n_Translation-en
ppa.launchpad.net_kubuntu-ppa_backports_ubuntu_dists_utopic_main_i18n_Translation-en            us.archive.ubuntu.com_ubuntu_dists_utopic_restricted_source_Sources
ppa.launchpad.net_kubuntu-ppa_backports_ubuntu_dists_utopic_Release                             us.archive.ubuntu.com_ubuntu_dists_utopic_universe_binary-amd64_Packages
ppa.launchpad.net_kubuntu-ppa_backports_ubuntu_dists_utopic_Release.gpg                         us.archive.ubuntu.com_ubuntu_dists_utopic_universe_binary-i386_Packages
ppa.launchpad.net_kubuntu-ppa_next-backports_ubuntu_dists_utopic_main_binary-amd64_Packages     us.archive.ubuntu.com_ubuntu_dists_utopic_universe_i18n_Translation-en
ppa.launchpad.net_kubuntu-ppa_next-backports_ubuntu_dists_utopic_main_binary-i386_Packages      us.archive.ubuntu.com_ubuntu_dists_utopic_universe_source_Sources
ppa.launchpad.net_kubuntu-ppa_next-backports_ubuntu_dists_utopic_main_i18n_Translation-en       us.archive.ubuntu.com_ubuntu_dists_utopic-updates_main_binary-amd64_Packages
ppa.launchpad.net_kubuntu-ppa_next-backports_ubuntu_dists_utopic_Release                        us.archive.ubuntu.com_ubuntu_dists_utopic-updates_main_binary-i386_Packages
ppa.launchpad.net_kubuntu-ppa_next-backports_ubuntu_dists_utopic_Release.gpg                    us.archive.ubuntu.com_ubuntu_dists_utopic-updates_main_i18n_Translation-en
ppa.launchpad.net_n-muench_vlc_ubuntu_dists_utopic_main_binary-amd64_Packages                   us.archive.ubuntu.com_ubuntu_dists_utopic-updates_main_source_Sources
ppa.launchpad.net_n-muench_vlc_ubuntu_dists_utopic_main_binary-i386_Packages                    us.archive.ubuntu.com_ubuntu_dists_utopic-updates_multiverse_binary-amd64_Packages
ppa.launchpad.net_n-muench_vlc_ubuntu_dists_utopic_main_i18n_Translation-en                     us.archive.ubuntu.com_ubuntu_dists_utopic-updates_multiverse_binary-i386_Packages
ppa.launchpad.net_n-muench_vlc_ubuntu_dists_utopic_Release                                      us.archive.ubuntu.com_ubuntu_dists_utopic-updates_multiverse_i18n_Translation-en
ppa.launchpad.net_n-muench_vlc_ubuntu_dists_utopic_Release.gpg                                  us.archive.ubuntu.com_ubuntu_dists_utopic-updates_multiverse_source_Sources
ppa.launchpad.net_noobslab_indicators_ubuntu_dists_utopic_main_binary-amd64_Packages            us.archive.ubuntu.com_ubuntu_dists_utopic-updates_Release
ppa.launchpad.net_noobslab_indicators_ubuntu_dists_utopic_main_binary-i386_Packages             us.archive.ubuntu.com_ubuntu_dists_utopic-updates_Release.gpg
ppa.launchpad.net_noobslab_indicators_ubuntu_dists_utopic_Release                               us.archive.ubuntu.com_ubuntu_dists_utopic-updates_restricted_binary-amd64_Packages
ppa.launchpad.net_noobslab_indicators_ubuntu_dists_utopic_Release.gpg                           us.archive.ubuntu.com_ubuntu_dists_utopic-updates_restricted_binary-i386_Packages
ppa.launchpad.net_otto-kesselgulasch_gimp_ubuntu_dists_utopic_main_binary-amd64_Packages        us.archive.ubuntu.com_ubuntu_dists_utopic-updates_restricted_i18n_Translation-en
ppa.launchpad.net_otto-kesselgulasch_gimp_ubuntu_dists_utopic_main_binary-i386_Packages         us.archive.ubuntu.com_ubuntu_dists_utopic-updates_restricted_source_Sources
ppa.launchpad.net_otto-kesselgulasch_gimp_ubuntu_dists_utopic_main_i18n_Translation-en          us.archive.ubuntu.com_ubuntu_dists_utopic-updates_universe_binary-amd64_Packages
ppa.launchpad.net_otto-kesselgulasch_gimp_ubuntu_dists_utopic_Release                           us.archive.ubuntu.com_ubuntu_dists_utopic-updates_universe_binary-i386_Packages
ppa.launchpad.net_otto-kesselgulasch_gimp_ubuntu_dists_utopic_Release.gpg                       us.archive.ubuntu.com_ubuntu_dists_utopic-updates_universe_i18n_Translation-en
ppa.launchpad.net_spring_ppa_ubuntu_dists_utopic_main_binary-amd64_Packages                     us.archive.ubuntu.com_ubuntu_dists_utopic-updates_universe_source_Sources
ppa.launchpad.net_spring_ppa_ubuntu_dists_utopic_main_binary-i386_Packages                      us.archive.ubuntu.com_ubuntu_dists_vivid-backports_main_binary-amd64_Packages
ppa.launchpad.net_spring_ppa_ubuntu_dists_utopic_main_i18n_Translation-en                       us.archive.ubuntu.com_ubuntu_dists_vivid-backports_main_binary-i386_Packages
ppa.launchpad.net_spring_ppa_ubuntu_dists_utopic_Release                                        us.archive.ubuntu.com_ubuntu_dists_vivid-backports_main_i18n_Translation-en
ppa.launchpad.net_spring_ppa_ubuntu_dists_utopic_Release.gpg                                    us.archive.ubuntu.com_ubuntu_dists_vivid-backports_main_source_Sources
ppa.launchpad.net_ubuntu-wine_ppa_ubuntu_dists_utopic_main_binary-amd64_Packages                us.archive.ubuntu.com_ubuntu_dists_vivid-backports_multiverse_binary-amd64_Packages
ppa.launchpad.net_ubuntu-wine_ppa_ubuntu_dists_utopic_main_binary-i386_Packages                 us.archive.ubuntu.com_ubuntu_dists_vivid-backports_multiverse_binary-i386_Packages
ppa.launchpad.net_ubuntu-wine_ppa_ubuntu_dists_utopic_main_i18n_Translation-en                  us.archive.ubuntu.com_ubuntu_dists_vivid-backports_multiverse_i18n_Translation-en
ppa.launchpad.net_ubuntu-wine_ppa_ubuntu_dists_utopic_Release                                   us.archive.ubuntu.com_ubuntu_dists_vivid-backports_multiverse_source_Sources
ppa.launchpad.net_ubuntu-wine_ppa_ubuntu_dists_utopic_Release.gpg                               us.archive.ubuntu.com_ubuntu_dists_vivid-backports_Release
ppa.launchpad.net_webupd8team_tor-browser_ubuntu_dists_utopic_main_binary-amd64_Packages        us.archive.ubuntu.com_ubuntu_dists_vivid-backports_Release.gpg
ppa.launchpad.net_webupd8team_tor-browser_ubuntu_dists_utopic_main_binary-i386_Packages         us.archive.ubuntu.com_ubuntu_dists_vivid-backports_restricted_binary-amd64_Packages
ppa.launchpad.net_webupd8team_tor-browser_ubuntu_dists_utopic_main_i18n_Translation-en          us.archive.ubuntu.com_ubuntu_dists_vivid-backports_restricted_binary-i386_Packages
ppa.launchpad.net_webupd8team_tor-browser_ubuntu_dists_utopic_Release                           us.archive.ubuntu.com_ubuntu_dists_vivid-backports_restricted_i18n_Translation-en
ppa.launchpad.net_webupd8team_tor-browser_ubuntu_dists_utopic_Release.gpg                       us.archive.ubuntu.com_ubuntu_dists_vivid-backports_restricted_source_Sources
ppa.launchpad.net_wfg_0ad_ubuntu_dists_utopic_main_binary-amd64_Packages                        us.archive.ubuntu.com_ubuntu_dists_vivid-backports_universe_binary-amd64_Packages
ppa.launchpad.net_wfg_0ad_ubuntu_dists_utopic_main_binary-i386_Packages                         us.archive.ubuntu.com_ubuntu_dists_vivid-backports_universe_binary-i386_Packages
ppa.launchpad.net_wfg_0ad_ubuntu_dists_utopic_main_i18n_Translation-en                          us.archive.ubuntu.com_ubuntu_dists_vivid-backports_universe_i18n_Translation-en
ppa.launchpad.net_wfg_0ad_ubuntu_dists_utopic_Release                                           us.archive.ubuntu.com_ubuntu_dists_vivid-backports_universe_source_Sources
ppa.launchpad.net_wfg_0ad_ubuntu_dists_utopic_Release.gpg                                       us.archive.ubuntu.com_ubuntu_dists_vivid_main_binary-amd64_Packages
ppa.launchpad.net_xorg-edgers_ppa_ubuntu_dists_utopic_main_binary-amd64_Packages                us.archive.ubuntu.com_ubuntu_dists_vivid_main_binary-i386_Packages
ppa.launchpad.net_xorg-edgers_ppa_ubuntu_dists_utopic_main_binary-i386_Packages                 us.archive.ubuntu.com_ubuntu_dists_vivid_main_i18n_Translation-en
ppa.launchpad.net_xorg-edgers_ppa_ubuntu_dists_utopic_main_i18n_Translation-en                  us.archive.ubuntu.com_ubuntu_dists_vivid_main_source_Sources
ppa.launchpad.net_xorg-edgers_ppa_ubuntu_dists_utopic_Release                                   us.archive.ubuntu.com_ubuntu_dists_vivid_multiverse_binary-amd64_Packages
ppa.launchpad.net_xorg-edgers_ppa_ubuntu_dists_utopic_Release.gpg                               us.archive.ubuntu.com_ubuntu_dists_vivid_multiverse_binary-i386_Packages

security.ubuntu.com_ubuntu_dists_utopic-security_main_binary-amd64_Packages                     us.archive.ubuntu.com_ubuntu_dists_vivid_multiverse_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_utopic-security_main_binary-i386_Packages                      us.archive.ubuntu.com_ubuntu_dists_vivid_multiverse_source_Sources
security.ubuntu.com_ubuntu_dists_utopic-security_main_i18n_Translation-en                       us.archive.ubuntu.com_ubuntu_dists_vivid_Release
security.ubuntu.com_ubuntu_dists_utopic-security_main_source_Sources                            us.archive.ubuntu.com_ubuntu_dists_vivid_Release.gpg
security.ubuntu.com_ubuntu_dists_utopic-security_multiverse_binary-amd64_Packages               us.archive.ubuntu.com_ubuntu_dists_vivid_restricted_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_utopic-security_multiverse_binary-i386_Packages                us.archive.ubuntu.com_ubuntu_dists_vivid_restricted_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_utopic-security_multiverse_i18n_Translation-en                 us.archive.ubuntu.com_ubuntu_dists_vivid_restricted_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_utopic-security_multiverse_source_Sources                      us.archive.ubuntu.com_ubuntu_dists_vivid_restricted_source_Sources
security.ubuntu.com_ubuntu_dists_utopic-security_Release                                        us.archive.ubuntu.com_ubuntu_dists_vivid_universe_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_utopic-security_Release.gpg                                    us.archive.ubuntu.com_ubuntu_dists_vivid_universe_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-amd64_Packages               us.archive.ubuntu.com_ubuntu_dists_vivid_universe_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-i386_Packages                us.archive.ubuntu.com_ubuntu_dists_vivid_universe_source_Sources
security.ubuntu.com_ubuntu_dists_utopic-security_restricted_i18n_Translation-en                 us.archive.ubuntu.com_ubuntu_dists_vivid-updates_main_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_utopic-security_restricted_source_Sources                      us.archive.ubuntu.com_ubuntu_dists_vivid-updates_main_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_utopic-security_universe_binary-amd64_Packages                 us.archive.ubuntu.com_ubuntu_dists_vivid-updates_main_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_utopic-security_universe_binary-i386_Packages                  us.archive.ubuntu.com_ubuntu_dists_vivid-updates_main_source_Sources
security.ubuntu.com_ubuntu_dists_utopic-security_universe_i18n_Translation-en                   us.archive.ubuntu.com_ubuntu_dists_vivid-updates_multiverse_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_utopic-security_universe_source_Sources                        us.archive.ubuntu.com_ubuntu_dists_vivid-updates_multiverse_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_vivid-security_main_binary-amd64_Packages                      us.archive.ubuntu.com_ubuntu_dists_vivid-updates_multiverse_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_vivid-security_main_binary-i386_Packages                       us.archive.ubuntu.com_ubuntu_dists_vivid-updates_multiverse_source_Sources
security.ubuntu.com_ubuntu_dists_vivid-security_main_i18n_Translation-en                        us.archive.ubuntu.com_ubuntu_dists_vivid-updates_Release
security.ubuntu.com_ubuntu_dists_vivid-security_main_source_Sources                             us.archive.ubuntu.com_ubuntu_dists_vivid-updates_Release.gpg
security.ubuntu.com_ubuntu_dists_vivid-security_multiverse_binary-amd64_Packages                us.archive.ubuntu.com_ubuntu_dists_vivid-updates_restricted_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_vivid-security_multiverse_binary-i386_Packages                 us.archive.ubuntu.com_ubuntu_dists_vivid-updates_restricted_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_vivid-security_multiverse_i18n_Translation-en                  us.archive.ubuntu.com_ubuntu_dists_vivid-updates_restricted_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_vivid-security_multiverse_source_Sources                       us.archive.ubuntu.com_ubuntu_dists_vivid-updates_restricted_source_Sources
security.ubuntu.com_ubuntu_dists_vivid-security_Release                                         us.archive.ubuntu.com_ubuntu_dists_vivid-updates_universe_binary-amd64_Packages
security.ubuntu.com_ubuntu_dists_vivid-security_Release.gpg                                     us.archive.ubuntu.com_ubuntu_dists_vivid-updates_universe_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_vivid-security_restricted_binary-amd64_Packages                us.archive.ubuntu.com_ubuntu_dists_vivid-updates_universe_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_vivid-security_restricted_binary-i386_Packages                 us.archive.ubuntu.com_ubuntu_dists_vivid-updates_universe_source_Sources
security.ubuntu.com_ubuntu_dists_vivid-security_restricted_i18n_Translation-en

Agora, instalei isto: sudo apt-get install nfs-kernel-server daqui: link

    
por jay elliot 09.05.2015 / 02:17

2 respostas

1

As entradas source.list duplicadas não são um grande problema, apenas um pequeno impacto no desempenho.

A mensagem é enganosa: apt-get update sozinho não elimina entradas duplicadas. Você precisa editar os arquivos source.list : /etc/apt/sources.list e os arquivos em /etc/apt/sources.list.d . Procure entradas para o repositório mencionado na mensagem de erro e remova uma das duplicatas. Então execute apt-get update .

    
por 10.05.2015 / 02:30
0

Eu começaria tentando manualmente as instruções aqui: Como eu adiciono uma linha ao meu /etc/apt/sources.list?

Veja como eu editei o meu:

$ ls /etc/apt 
apt.conf.d  preferences  preferences.d  sources.list  sources.list.d sources.list.save  trustdb.gpg  trusted.gpg  trusted.gpg~  trusted.gpg.d
$ vi /etc/apt/sources.list

Há mais informações aqui: link

Assim que você perceber como isso funciona, tentarei usar o software aqui para gerar um arquivo sources.list de substituição: link .

    
por 09.05.2015 / 02:30