Elementary com repositórios duplicados

1. Elementary com repositórios duplicados

Jarbas Daniel da Costa
jarbasdacosta

(usa Ubuntu)

Enviado em 29/06/2015 - 13:53h

Olá pessoal,

Alguém pode me ajudar com essa mensagem? Como eu corrijo isso?

jarbas@jarbas-laptop:~$ sudo apt-get -f install
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.
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/restricted amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/multiverse amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_universe_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/universe i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_universe_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas




  


2. Re: Elementary com repositórios duplicados

Perfil removido
removido

(usa Nenhuma)

Enviado em 29/06/2015 - 14:33h

Abra um terminal como root e execute os comandos abaixo:


sudo su -
cd /etc/apt
cp -av sources.list sources.list-bkp
cat sources.list | uniq > /tmp/sources.list ; cat /tmp/sources.list > /etc/apt/sources.list



--------------------------------------------
povo@brasil ~$ sudo su -
root@brasil ~# find / -iname corrupção -exec rm -rfv {} \;



3. Re: Elementary com repositórios duplicados

Jarbas Daniel da Costa
jarbasdacosta

(usa Ubuntu)

Enviado em 29/06/2015 - 14:49h

Muito obrigado erisrjr, porém não deu certo, a mensagem ainda continua aparecendo.


erisrjr escreveu:

Abra um terminal como root e execute os comandos abaixo:


sudo su -
cd /etc/apt
cp -av sources.list sources.list-bkp
cat sources.list | uniq > /tmp/sources.list ; cat /tmp/sources.list > /etc/apt/sources.list



--------------------------------------------
povo@brasil ~$ sudo su -
root@brasil ~# find / -iname corrupção -exec rm -rfv {} \;









4. Re: Elementary com repositórios duplicados

Perfil removido
removido

(usa Nenhuma)

Enviado em 29/06/2015 - 15:11h

Agora que notei que o duplicado na verdade não é exatamente igual(O comando que enviei "remove" linhas duplicadas.

Note que esta com repositórios de 32 e 64 bits. Alterou alguma coisa para instalar algum programa, caso afirmativo o que?

De todo o modo poste o resultado do comando abaixo:



uname -m


E o conteúdo completo do arquivo /etc/apt/sources.list


--------------------------------------------
povo@brasil ~$ sudo su -
root@brasil ~# find / -iname corrupção -exec rm -rfv {}\;



5. Re: Elementary com repositórios duplicados

Jarbas Daniel da Costa
jarbasdacosta

(usa Ubuntu)

Enviado em 29/06/2015 - 15:13h

jarbas@jarbas-laptop:~$ uname -m
x86_64
jarbas@jarbas-laptop:~$

# deb cdrom:[elementary OS 0.3 _Freya_ - Stable amd64 (20150411)]/ trusty 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 trusty main restricted
deb-src http://archive.ubuntu.com/ubuntu trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-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 trusty universe
deb-src http://archive.ubuntu.com/ubuntu trusty universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-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 trusty multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty multiverse
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-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/ trusty-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://security.ubuntu.com/ubuntu/ trusty-security restricted multiverse main universe
deb http://archive.ubuntu.com/ubuntu trusty-backports restricted multiverse main universe
deb http://archive.ubuntu.com/ubuntu trusty-proposed restricted multiverse main universe
deb http://archive.ubuntu.com/ubuntu trusty-updates restricted multiverse main universe


6. Re: Elementary com repositórios duplicados

Perfil removido
removido

(usa Nenhuma)

Enviado em 29/06/2015 - 18:15h

Pior que parecem corretos, mas note que esta retornando erro para repositórios de 32 e 64 bits.

Certeza que não alterou alguma coisa para instalar alguma coisa no sistema?


Supondo que o Elementary e usa os repositórios do Ubuntu, tente deixar o seu /etc/apt/sources.list como abaixo(Extrai de uma estação com Ubuntu 14.04):

*Apenas para constar, este elementary faz parte da minha lista de "distribuições" com o: http://i.imgur.com/JrTVZzY.jpg



# deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty 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/ trusty main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-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/ trusty universe
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-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/ trusty multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-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/ trusty-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main

--------------------------------------------
povo@brasil ~$ sudo su -
root@brasil ~# find / -iname corrupção -exec rm -rfv {} \;



7. Re: Elementary com repositórios duplicados

Jarbas Daniel da Costa
jarbasdacosta

(usa Ubuntu)

Enviado em 29/06/2015 - 19:31h


Kkkkkkkkk, selo ótimo esse. Eu saí do Ubuntu com Unity, para ele porque dava muito pau na minha máquina. Uso o Lubuntu em outro micro e funciona muito bem faz tempo. Gostei do Elementary pela facilidade de uso e simplicidade. Estou pensando em testar opensuse, fedora e debian, talvez mageia também.


8. Re: Elementary com repositórios duplicados

Jarbas Daniel da Costa
jarbasdacosta

(usa Ubuntu)

Enviado em 01/07/2015 - 18:59h

Acredito que achei o problema:

W:Failed to fetch http://ppa.launchpad.net/versable/elementary-update/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/versable/elementary-update/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Você sabe como resolver?



9. Re: Elementary com repositórios duplicados

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/07/2015 - 19:13h

jarbasdacosta escreveu:

Acredito que achei o problema:

W:Failed to fetch http://ppa.launchpad.net/versable/elementary-update/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/versable/elementary-update/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Você sabe como resolver?


Francamente eu não usaria este sistema. Remasters sem documentação apenas servem para perder o seu tempo e conseguir problemas.

Tentou deixar o arquivo como o que eu postei?
Outra opção, pode ser usar o próprio liveCD do Elementary e copiar o arquivo para sua instalação no HD.

Se ainda assim não funcionar é mais um sinal para usar um sistema melhor construído/suportado.

--------------------------------------------
povo@brasil ~$ sudo su -
root@brasil ~# find / -iname corrupção -exec rm -rfv {}\ ;







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts