Entradas duplicadas no source.list [RESOLVIDO]

1. Entradas duplicadas no source.list [RESOLVIDO]

Tiago Cardoso
Tiago Cardoso

(usa Deepin)

Enviado em 22/02/2012 - 00:34h

O sistema (Ubuntu 11.10 32 bits) acusa erro de entradas duplicadas:

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.getdeb.net/ubuntu/ lucid-getdeb/games i386 Packages (/var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_lucid-getdeb_games_binary-i386_Packages)

Como resolver, já que não encontro essas linhas no source.list?


Agradecimentos desde já;


  


2. MELHOR RESPOSTA

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 22/02/2012 - 01:26h

Não precisa, pois já vi que vc tem listas para o partner e o getdeb separadas.

Edite seu sources.list e deixe assim:

############### começa aqui ###################

# 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://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

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

## 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
deb http://archive.ubuntugames.org ubuntugames main
deb-src http://archive.ubuntugames.org ubuntugames main
# deb http://packages.unknown-horizons.org/ ocelot weekly main
# deb http://packages.unknown-horizons.org/ ocelot weekly main
# deb http://apt.rigsofrods.com/ /
# deb-src http://apt.rigsofrods.com/ /

############## termina aqui ###################

Após editar, rode:

sudo apt-get update

e veja se não há mais erros.


3. Re: Entradas duplicadas no source.list [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 22/02/2012 - 00:40h

Procure em /etc/apt/sources.list.d/ pelos arquivos .list do getdeb e do partner.


4. source.list

Tiago Cardoso
Tiago Cardoso

(usa Deepin)

Enviado em 22/02/2012 - 00:42h

# 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://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

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
# deb http://archive.ubuntugames.org ubuntugames main
# deb-src http://archive.ubuntugames.org ubuntugames main
deb http://archive.ubuntugames.org ubuntugames main
deb-src http://archive.ubuntugames.org ubuntugames main
# deb http://packages.unknown-horizons.org/ ocelot weekly main
# deb http://packages.unknown-horizons.org/ ocelot weekly main
# deb http://apt.rigsofrods.com/ /
# deb-src http://apt.rigsofrods.com/ /
deb http://archive.getdeb.net/ubuntu lucid-getdeb games
deb-src http://archive.getdeb.net/ubuntu lucid-getdeb games
deb http://archive.getdeb.net/ubuntu lucid-getdeb apps
deb-src http://archive.getdeb.net/ubuntu lucid-getdeb apps
deb http://archive.getdeb.net/ubuntu/ lucid-getdeb games
deb-src http://archive.getdeb.net/ubuntu/ lucid-getdeb games


5. Re: Entradas duplicadas no source.list [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 22/02/2012 - 01:00h

Apague as duas últimas linhas, pois são as linhas duplicadas do getdeb.

As do partner não achei. Devem estar na pasta sources.list.d.


6. Re: Entradas duplicadas no source.list [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 22/02/2012 - 01:03h

Aliás, melhor vc fazer isso:

cd /etc/apt/sources.list.d
ls

e postar o resultado aqui.


7. Re: Entradas duplicadas no source.list [RESOLVIDO]

Tiago Cardoso
Tiago Cardoso

(usa Deepin)

Enviado em 22/02/2012 - 01:05h

tiagocardoso@tiagocardoso-Aspire-5750Z:~$ cd /etc/apt/sources.list.d
tiagocardoso@tiagocardoso-Aspire-5750Z:/etc/apt/sources.list.d$ ls
alecive-antigone-oneiric.list
alecive-antigone-oneiric.list.save
alexey-smirnov-deadbeef-oneiric.list
alexey-smirnov-deadbeef-oneiric.list.save
cardapio-team-unstable-oneiric.list
cardapio-team-unstable-oneiric.list.save
conky-companions-ppa-oneiric.list
coolwanglu-scanmem-oneiric.list
coolwanglu-scanmem-oneiric.list.save
deluge-team-ppa-oneiric.list
deluge-team-ppa-oneiric.list.save
diesch-testing-oneiric.list
diesch-testing-oneiric.list.save
dockbar-main-ppa-oneiric.list
dockbar-main-ppa-oneiric.list.save
getdeb.list
getdeb.list.save
gloobus-dev-gloobus-preview-oneiric.list
gloobus-dev-gloobus-preview-oneiric.list.save
gnomenu-team-ppa-oneiric.list
gnomenu-team-ppa-oneiric.list.save
google-chrome.list
google-chrome.list.save
google-earth.list
google-earth.list.save
google-talkplugin.list
happyaron-amule-dlp-precise.list
happyaron-amule-dlp-precise.list.save
konishchevdmitry-flush-oneiric.list
konishchevdmitry-flush-oneiric.list.save
me-davidsansome-clementine-oneiric.list
me-davidsansome-clementine-oneiric.list.save
medibuntu.list
medibuntu.list.save
merlwiz79-cinnamon-ppa-oneiric.list
merlwiz79-cinnamon-ppa-oneiric.list.save
myunity-ppa-oneiric.list
myunity-ppa-oneiric.list.save
narfss-proyectobs-oneiric.list
narfss-proyectobs-oneiric.list.save
neversfelde-ppa-oneiric.list
neversfelde-ppa-oneiric.list.save
oneiric-partner.list
oneiric-partner.list.save
opera.list
opera.list.save
pcf-miro-releases-oneiric.list
pcf-miro-releases-oneiric.list.save
pidgin-developers-ppa-precise.list
pidgin-developers-ppa-precise.list.save
playdeb.list
playdeb.list.save
rvm-smplayer-precise.list
rvm-smplayer-precise.list.save
screenlets-ppa-oneiric.list
screenlets-ppa-oneiric.list.save
team-xbmc-ppa-oneiric.list
team-xbmc-ppa-oneiric.list.save
tiheum-equinox-oneiric.list
tiheum-equinox-oneiric.list~
tiheum-equinox-oneiric.list.save
tldm217-tahutek_net-oneiric.list
tldm217-tahutek_net-oneiric.list.save
tsbarnes-indicator-keylock-oneiric.list
tsbarnes-indicator-keylock-oneiric.list.save
tualatrix-ppa-oneiric.list
tualatrix-ppa-oneiric.list.save
unity-team-staging-oneiric.list
unity-team-staging-oneiric.list.save
unknown-horizons.list
unknown-horizons.list.save
videolan-stable-daily-oneiric.list
videolan-stable-daily-oneiric.list.save
webupd8team-gnome3-oneiric.list
webupd8team-gnome3-oneiric.list.save
yorba-ppa-oneiric.list
yorba-ppa-oneiric.list.save



8. Re: Entradas duplicadas no source.list [RESOLVIDO]

Tiago Cardoso
Tiago Cardoso

(usa Deepin)

Enviado em 22/02/2012 - 01:06h

pinduvoz escreveu:

Aliás, melhor vc fazer isso:

cd /etc/apt/sources.list.d
ls

e postar o resultado aqui.


tiagocardoso@tiagocardoso-Aspire-5750Z:~$ cd /etc/apt/sources.list.d
tiagocardoso@tiagocardoso-Aspire-5750Z:/etc/apt/sources.list.d$ ls
alecive-antigone-oneiric.list
alecive-antigone-oneiric.list.save
alexey-smirnov-deadbeef-oneiric.list
alexey-smirnov-deadbeef-oneiric.list.save
cardapio-team-unstable-oneiric.list
cardapio-team-unstable-oneiric.list.save
conky-companions-ppa-oneiric.list
coolwanglu-scanmem-oneiric.list
coolwanglu-scanmem-oneiric.list.save
deluge-team-ppa-oneiric.list
deluge-team-ppa-oneiric.list.save
diesch-testing-oneiric.list
diesch-testing-oneiric.list.save
dockbar-main-ppa-oneiric.list
dockbar-main-ppa-oneiric.list.save
getdeb.list
getdeb.list.save
gloobus-dev-gloobus-preview-oneiric.list
gloobus-dev-gloobus-preview-oneiric.list.save
gnomenu-team-ppa-oneiric.list
gnomenu-team-ppa-oneiric.list.save
google-chrome.list
google-chrome.list.save
google-earth.list
google-earth.list.save
google-talkplugin.list
happyaron-amule-dlp-precise.list
happyaron-amule-dlp-precise.list.save
konishchevdmitry-flush-oneiric.list
konishchevdmitry-flush-oneiric.list.save
me-davidsansome-clementine-oneiric.list
me-davidsansome-clementine-oneiric.list.save
medibuntu.list
medibuntu.list.save
merlwiz79-cinnamon-ppa-oneiric.list
merlwiz79-cinnamon-ppa-oneiric.list.save
myunity-ppa-oneiric.list
myunity-ppa-oneiric.list.save
narfss-proyectobs-oneiric.list
narfss-proyectobs-oneiric.list.save
neversfelde-ppa-oneiric.list
neversfelde-ppa-oneiric.list.save
oneiric-partner.list
oneiric-partner.list.save
opera.list
opera.list.save
pcf-miro-releases-oneiric.list
pcf-miro-releases-oneiric.list.save
pidgin-developers-ppa-precise.list
pidgin-developers-ppa-precise.list.save
playdeb.list
playdeb.list.save
rvm-smplayer-precise.list
rvm-smplayer-precise.list.save
screenlets-ppa-oneiric.list
screenlets-ppa-oneiric.list.save
team-xbmc-ppa-oneiric.list
team-xbmc-ppa-oneiric.list.save
tiheum-equinox-oneiric.list
tiheum-equinox-oneiric.list~
tiheum-equinox-oneiric.list.save
tldm217-tahutek_net-oneiric.list
tldm217-tahutek_net-oneiric.list.save
tsbarnes-indicator-keylock-oneiric.list
tsbarnes-indicator-keylock-oneiric.list.save
tualatrix-ppa-oneiric.list
tualatrix-ppa-oneiric.list.save
unity-team-staging-oneiric.list
unity-team-staging-oneiric.list.save
unknown-horizons.list
unknown-horizons.list.save
videolan-stable-daily-oneiric.list
videolan-stable-daily-oneiric.list.save
webupd8team-gnome3-oneiric.list
webupd8team-gnome3-oneiric.list.save
yorba-ppa-oneiric.list
yorba-ppa-oneiric.list.save



9. Re: Entradas duplicadas no source.list [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 22/02/2012 - 01:11h

Rode isso e depois poste o ls:

rm *.save

Aguardando.


10. Re: Entradas duplicadas no source.list [RESOLVIDO]

Tiago Cardoso
Tiago Cardoso

(usa Deepin)

Enviado em 22/02/2012 - 01:24h

pinduvoz escreveu:

Rode isso e depois poste o ls:

rm *.save

Aguardando.


iagocardoso@tiagocardoso-Aspire-5750Z:~$ rm *.save
rm: não foi possível remover "*.save": Arquivo ou diretório não encontrado



11. Sem erros

Tiago Cardoso
Tiago Cardoso

(usa Deepin)

Enviado em 22/02/2012 - 01:30h

pinduvoz escreveu:

Não precisa, pois já vi que vc listas para o partner e o getdeb separadas.

Edite seu sources.list e deixe assim:

############### começa aqui ###################

# 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://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

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

## 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
deb http://archive.ubuntugames.org ubuntugames main
deb-src http://archive.ubuntugames.org ubuntugames main
# deb http://packages.unknown-horizons.org/ ocelot weekly main
# deb http://packages.unknown-horizons.org/ ocelot weekly main
# deb http://apt.rigsofrods.com/ /
# deb-src http://apt.rigsofrods.com/ /

############## termina aqui ###################

Após editar, rode:

sudo apt-get update

e veja se não há mais erros.



Valeu cara, sem erros aqui.



12. Re: Entradas duplicadas no source.list [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 22/02/2012 - 01:42h

Tiago Cardoso escreveu:

pinduvoz escreveu:

Rode isso e depois poste o ls:

rm *.save

Aguardando.


iagocardoso@tiagocardoso-Aspire-5750Z:~$ rm *.save
rm: não foi possível remover "*.save": Arquivo ou diretório não encontrado


Era para rodar isso em

/etc/apt/spurces.list.d

porque cada lista tem dois arquivos: um .list e outro de reserva, .save. Duplicados os arquivos, estava difícil achar os que interessavam.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts