problemas com os repositorios [RESOLVIDO]

1. problemas com os repositorios [RESOLVIDO]

Ricardo
slopes

(usa openSUSE)

Enviado em 05/12/2015 - 20:26h

Olá,
Instalei o Debian 8 64 com o Gnome.
Estou com problemas com os repositorios, não mexi em nada no sistema, nem atualizei ainda, so fiz o seguinte:
O sources.list venho assim:
#

# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main

#deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main

deb http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie main
deb-src http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates main contrib


eu apenas acrescentei os repositorios vejam como ficou:

# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main

#deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main

deb http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie main
deb-src http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates main contrib

##############################Adicionado por mim##############################
deb http://ftp.br.debian.org/debian jessie main contrib non-free
deb-src http://ftp.br.debian.org/debian jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

deb http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates main contrib non-free

#Multimedia
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free


Porém quando faço o apt-get update
apresenta esse erro no final:
Baixados 367 B em 8s (44 B/s)
Lendo listas de pacotes... Pronto
W: Duplicate sources.list entry http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie/main amd64 Packages (/var/lib/apt/lists/ftp.br.debian.org_debian_dists_jessie_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.debian.org/ jessie/updates/main amd64 Packages (/var/lib/apt/lists/security.debian.org_dists_jessie_updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.debian.org/ jessie/updates/contrib amd64 Packages (/var/lib/apt/lists/security.debian.org_dists_jessie_updates_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates/main amd64 Packages (/var/lib/apt/lists/ftp.br.debian.org_debian_dists_jessie-updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates/contrib amd64 Packages (/var/lib/apt/lists/ftp.br.debian.org_debian_dists_jessie-updates_contrib_binary-amd64_Packages)


Alguem pode me ajudar a resolver isso?


  


2. Re: problemas com os repositorios [RESOLVIDO]

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 05/12/2015 - 21:07h

colega do VOL, veja seu texto.... e as mensagens, vc tem linhas duplicadas, vc colocou linhas que já existiam:
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Albfneto,
Ribeirão Preto, S.P., Brasil.
Usuário Linux, Linux Counter: #479903.
Distros Favoritas: Sabayon, Gentoo, openSUSE, Mageia e OpenMandriva.


3. Re: problemas com os repositorios

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 05/12/2015 - 21:13h

vc tem linhas duplicadas;;; veja por exemplo

colocou

deb http://ftp.br.debian.org/debian jessie main contrib non-free
deb-src http://ftp.br.debian.org/debian jessie main contrib non-free

mas já existiam

deb http://ftp.br.debian.org/debian jessie main contrib
deb-src http://ftp.br.debian.org/debian jessie main contrib

é o mesmo repo! Ou seja invés de adicionar tudo de novo, vc deveria somente colocar as palavras "non-free" na frente de jessie e main, nas configurações que existiam! Note que os Repositários são os mesmos.

ao adicionar, vc duplicou, remova as suas linhas ou comente e apena coloque por ex, o "non-free" em frente ao "main" e o "contrib"








4. Re: problemas com os repositorios

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 05/12/2015 - 21:23h

As suas mensagens de erro falam exatamene o que está acontecendo. Repos duplicados
outro exemplo mais uma vez:


ESTE E O REPO ORIGINAL deb http://security.debian.org/ jessie/updates main contrib
ESTE E O REPO ORIGINAL deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/">http://ftp.br.debian.org/debian/ jessie-updates main contrib

##############################Adicionado por voce##############################
deb http://ftp.br.debian.org/debian jessie main contrib non-free
deb-src http://ftp.br.debian.org/debian jessie main contrib non-free

ESTE E O MESMO REPO! deb http://security.debian.org/ jessie/updates main contrib non-free
ESTE E O MESMO REPO deb-src http://security.debian.org/ jessie/updates main contrib non-free


Ou seja, apague o que adicionou procure um por um e apenas adicione a palavra non-free em frente do contrib

Vc copiou o arquivo original antes de mexer? se sim, apenas parta da copia e adicione os non-free e o repositorio multimidia
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Albfneto,
Ribeirão Preto, S.P., Brasil.
Usuário Linux, Linux Counter: #479903.
Distros Favoritas: Sabayon, Gentoo, openSUSE, Mageia e OpenMandriva.


5. Re: problemas com os repositorios

edps
edps

(usa Slackware)

Enviado em 05/12/2015 - 21:50h

Antes, faça o seguinte:

# rm -fv /var/lib/apt/lists/*
# rm -fv /var/lib/apt/lists/partial/*
# touch /var/lib/apt/lists/lock


Abra o sources.list com o nano:

# nano /etc/apt/sources.list 


Tecle Ctrl+k até zerar tudo e cole o seguinte:

http://pastebin.com/EC6BUxry

Salve com Ctrl+o e saia com Ctrl+x

Depois, crie um novo arquivo, este chamado de extras.list:

# nano /etc/apt/sources.list.d/extras.list 


E cole o seguinte:

http://pastebin.com/ih4nsQE5

Salve com Ctrl+o e saia com Ctrl+x

* Observe que só deixei habilitados os repos deb-multimedia e do Iceweasel.
** Os comandos para a importação ou instalação das Chaves GPG estão juntos na descrição de cada repositório.

Daí, basta:

# apt-get update
# apt-get install debian-archive-keyring deb-multimedia-keyring pkg-mozilla-archive-keyring
# apt-get update
# apt-get -t jessie-backports dist-upgrade


* sempre use -t jessie-backports, de modo a ter os pacotes mais atuais possíveis: LibreOffice, Iceweasel e outros.


EDIT:

Tinha me esquecido, mas basicamente o que me dei ao trabalho de postar no paste.bin, está aqui:

http://www.vivaolinux.com.br/dica/sourceslist-e-extras-para-o-Debian-80-Jessie/




6. Re: problemas com os repositorios

Perfil removido
removido

(usa Nenhuma)

Enviado em 05/12/2015 - 21:53h

Apague tudo, TUDO MESMO, que estiver na sources.list e substitua por isso:

# Main
deb http://ftp.br.debian.org/debian jessie main contrib non-free
deb-src http://ftp.br.debian.org/debian jessie main contrib non-free

# Security
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# Updates
deb http://ftp.br.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ jessie-updates main contrib non-free

## deb-multimedia
## Chave GPG: apt-get update && apt-get install deb-multimedia-keyring
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free

## Iceweasel (Debian Mozilla Team).
## Chave GPG: apt-get update && apt-get install pkg-mozilla-archive-keyring
deb http://mozilla.debian.net/ jessie-backports iceweasel-release


# apt-get update && apt-get dist-upgrade


7. Re: problemas com os repositorios [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 05/12/2015 - 22:09h

DEBIAN-8

#Padrão
deb http://ftp.br.debian.org/debian jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.br.debian.org/debian/ jessie-updates main contrib non-free

#Multimedia
deb http://www.deb-multimedia.org jessie main non-free

#BackPorts
deb http://ftp.br.debian.org/debian/ jessie-backports main contrib non-free

# apt-get update
# apt-get install deb-multimedia-keyring
# apt-get update

Agora, na sequência, atualize seu sistema:

# apt-get upgrade
# apt-get dist-upgrade


Usei esta lista de repositorios e funciona redondo



8. Re: problemas com os repositorios [RESOLVIDO]

Ricardo
slopes

(usa openSUSE)

Enviado em 17/12/2015 - 11:47h

Concertei e funcionou direito, obrigado






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts