erro sudo apt-get update [RESOLVIDO]

1. erro sudo apt-get update [RESOLVIDO]

Eliseu Oliveira
RBiShaw

(usa Manjaro Linux)

Enviado em 15/01/2016 - 11:45h

BOM DIA, ESTOU USANDO O ELEMENTARY OS, ESTOU QUERENDO INSTALAR O GIM, MAS
QUANDO EU DIGITO NO TERMINAL $ sudo apt-get update, NO FINAL ESTA DANDO ESSE ERRO,
ALGUEM PODERIA ME AJUDAR

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas


  


2. Re: erro sudo apt-get update [RESOLVIDO]

Rogerio Leiro Fontan
RLFontan

(usa Red Hat)

Enviado em 15/01/2016 - 11:52h

Vá no terminal e roda um comando para editar o seu sources.list, e veja se não tem links duplicados do Google Chrome lá, caso tenha simplesmente apague um dos dois, e pressione ctrl+x para sair do arquivo (lembre de pressionar Y ou S , para aceitar a pergunta que ele te fizer se quer ou não salvar o arquivo)

$ sudo nano /etc/apt/sources.list

sudo= para dar permissões de super usuário ao comando lhe permitindo editar o sources.list

nano= é o editor de texto em sí

sources.list= https://www.debian.org/doc/manuals/apt-howto/ch-basico.pt-br.html


3. Re: erro sudo apt-get update [RESOLVIDO]

Eliseu Oliveira
RBiShaw

(usa Manjaro Linux)

Enviado em 15/01/2016 - 11:59h

NÃO TEM LINK DUPLICADO AI VAI MINHA SOUCER LIST.

# deb cdrom:[elementary OS 0.3.2 _Freya_ - Stable amd64 (20151209)]/ trusty contrib main non-free

# 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

## 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


4. Duplicidade

Perfil removido
removido

(usa Nenhuma)

Enviado em 15/01/2016 - 12:26h

Bom dia,

Com certeza há uma duplicidade aí. Rode no terminal o comando:

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

E post aqui o que te aparece...

Abraço!!

Att,
Jbaf 2015
Debian 8 (MATE), CentOS 7 (KDE)
https://www.centos.org/


5. Re: erro sudo apt-get update [RESOLVIDO]

Matheus
pylm

(usa Gentoo)

Enviado em 15/01/2016 - 12:44h

O apt diz que o arquivo duplicado está em /var/lib/apt/lists então vá lá e apague as duplicatas.


6. Re: erro sudo apt-get update [RESOLVIDO]

Eliseu Oliveira
RBiShaw

(usa Manjaro Linux)

Enviado em 15/01/2016 - 12:54h

CONSEGUI, MAS NÃO FIZ PELO TERMINAL FOI MANUAL MESMO.

Vá em Configurações do Sistema > Programas e Atualizações > Outros Programas >> desmarque fontes duplicadas

OBRIGADO POR TENTAR AJUDAR. :)



  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts