Sourcelist Debian 6.0 com problemas

1. Sourcelist Debian 6.0 com problemas

Luan Sarmento
Luan Sarmento

(usa openSUSE)

Enviado em 22/01/2012 - 18:12h

Olá prezados,

Me tornei um debian user recentemente, preciso atualizar meu php, mas para isso preciso dar um update nos meus pacotes. A questão é que caso eu dou um apt-get update ele me retorna esse erro:

Error packages deb http://security.debian.org/ squeeze/updates main contrib non-free (1)

e não atualiza.

Comentando essa linha na source list ele da como:
Lendo listas de pacotes... Pronto

Mas não sei se realmente atualizou.

Alguem pode me ajudar? Obrigado desde já


  


2. Re: Sourcelist Debian 6.0 com problemas

André Canhadas
andrecanhadas

(usa Debian)

Enviado em 22/01/2012 - 18:53h

Luan Sarmento escreveu:

Olá prezados,

Me tornei um debian user recentemente, preciso atualizar meu php, mas para isso preciso dar um update nos meus pacotes. A questão é que caso eu dou um apt-get update ele me retorna esse erro:

Error packages deb http://security.debian.org/ squeeze/updates main contrib non-free (1)

e não atualiza.

Comentando essa linha na source list ele da como:
Lendo listas de pacotes... Pronto

Mas não sei se realmente atualizou.

Alguem pode me ajudar? Obrigado desde já


posta o seu /etc/apt/sources.list






3. Re: Sourcelist Debian 6.0 com problemas

Andre (pinduvoz)
pinduvoz

(usa Debian)

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

A minha lista aqui:

#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://ftp.br.debian.org/debian/ squeeze main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ squeeze/updates main contrib non-free

##############################################################
##################### UNOFFICIAL REPOS #######################
##############################################################

#### Debian Multimedia - http://www.debian-multimedia.org/">http://www.debian-multimedia.org/
## apt-get update && apt-get install debian-multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org stable main non-free

#### Debian Backports - http://backports.debian.org/
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
### Backports Iceweasel Debian Mozilla Team
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main

#### Wine - http://www.winehq.org/
## wget -O - http://www.lamaresh.net/apt/key.gpg">http://www.lamaresh.net/apt/key.gpg | sudo apt-key add -
deb http://www.lamaresh.net/apt squeeze main


4. Re: Sourcelist Debian 6.0 com problemas

André Canhadas
andrecanhadas

(usa Debian)

Enviado em 22/01/2012 - 19:49h

pinduvoz escreveu:

A minha lista aqui:

#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://ftp.br.debian.org/debian/ squeeze main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ squeeze/updates main contrib non-free

##############################################################
##################### UNOFFICIAL REPOS #######################
##############################################################

#### Debian Multimedia - http://www.debian-multimedia.org/">http://www.debian-multimedia.org/
## apt-get update && apt-get install debian-multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org stable main non-free

#### Debian Backports - http://backports.debian.org/
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
### Backports Iceweasel Debian Mozilla Team
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main

#### Wine - http://www.winehq.org/
## wget -O - http://www.lamaresh.net/apt/key.gpg">http://www.lamaresh.net/apt/key.gpg | sudo apt-key add -
deb http://www.lamaresh.net/apt squeeze main


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

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

# squeeze-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ squeeze-updates main contrib non-free

#####
O original do debian é este remove o começo do seu e adiciona este.

Após isso:
aptitude update && aptitude upgrade

Ai é só reinstalar o php




5. Sourcelist

Luan Sarmento
Luan Sarmento

(usa openSUSE)

Enviado em 23/01/2012 - 08:49h

Obrigado Galera, as 12:00 vou postar minha sourcelist, e tentar com as alterações sugeridas.

Obrigado pela atenção desde já Galera!


6. Re: Sourcelist Debian 6.0 com problemas

Luan Sarmento
Luan Sarmento

(usa openSUSE)

Enviado em 23/01/2012 - 19:26h

Ae Galera segue minha sourcelist

#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

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

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

# squeeze-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ squeeze-updates main contrib non-free

##############################################################
##################### UNOFFICIAL REPOS #######################
##############################################################

#### Debian Multimedia - http://www.debian-multimedia.org/">http://www.debian-multimedia.org/
## apt-get update && apt-get install debian-multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org stable main non-free

#### Debian Backports - http://backports.debian.org/
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
### Backports Iceweasel Debian Mozilla Team
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main

#### Wine - http://www.winehq.org/
## wget -O - http://www.lamaresh.net/apt/key.gpg">http://www.lamaresh.net/apt/key.gpg | sudo apt-key add -
deb http://www.lamaresh.net/apt squeeze main


Mas até para consulta segue a solução do problema:


Usei sourcelist postada por vcs com o valor corrigido conforme solicitado. Em seguida dei o apt-get update , atualizou os pacotes, porém alguns deram erro de chave, exemplo:

GPG error: ftp://ftp.nerim.net etch Release: As assinaturas a seguir não puderam ser verificadas devido a chave pública não estar disponível : NO_PUBKEY 07DC563D1F41B907

Pesquisei e apliquei o comando

# apt-get install debian-keyring

Em seguida apliquei o comando abaixo em cada repositório que deu o erro:

# gpg --keyring /usr/share/keyrings/debian-keyring.gpg \
-a --export Coloca aqui o numero da CHAVE que deu erro | apt-key add -

Obrigado pelo dispos do tempo da galera que ajudou! valeu.

Its free, use Linux!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts