Pacotes

1. Pacotes

Rafael Santiago
limoneiro

(usa Ubuntu)

Enviado em 03/10/2011 - 17:40h

Olá pessoal, como vão?


Pessoal, estou tendo um problema de pacotes com meu servidor Debian.
Sempre que tento instalar uma ferramenta, ele me volta um erro dizendo que os pacotes necessários para a instalação não foram encontrados ou foram referenciados por outro pacote.

E para por aí, ele não instala os pacotes necessários.

Um tempo, quando configurei um Ubuntu Server, ele já baixava todos os pacotes necessários automaticamente.

Sendo assim, gostaria de saber se algum de vocês já passou por um problema parecido, e se tem a solução para tal.


  


2. Re: Pacotes

Raimundo Alves Portela
rai3mb

(usa Outra)

Enviado em 03/10/2011 - 18:08h

Poste o erro para ficar mais fácil o pessoal aqui analisar.

O seu problema deve está relacionado ao seu sources.list ( o arquivo que armazena o endereço onde o gerenciador de pacotes busca atualizações e onde buscar pacotes para instalar)

Ele fica no diretório: /etc/apt/sources.list, seria interessante postá o conteúdo dele também.

Abraços


3. Re: Pacotes

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/10/2011 - 21:12h

tenta ai >>

cat /etc/apt/sources.list


copie o conteúdo e post...


4. Re: Pacotes

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/10/2011 - 21:15h

copie também o conteúdo da atualização assim >>

sudo apt-get update > up.txt

vai gerar um arquivo de texto na sua pasta home, copie o
conteúdo aqui...


5. Re: Pacotes

andre
tatuiano

(usa Slackware)

Enviado em 03/10/2011 - 21:31h

josueandres escreveu:

copie também o conteúdo da atualização assim >>

sudo apt-get update > up.txt

vai gerar um arquivo de texto na sua pasta home, copie o
conteúdo aqui...


olha ai um comando util,eu nao conhecia.valeu josue.


6. Re: Pacotes

Rafael Santiago
limoneiro

(usa Ubuntu)

Enviado em 04/10/2011 - 08:34h

Amigos,

EIS MEU ARQUIVO SOURCES.LIST:


deb http://security.debian.org/">http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/">http://security.debian.org/ squeeze/updates main contrib

deb http://ftp.debian.org/debian/">http://ftp.debian.org/debian/ squeeze-updates main contrib
deb-src http://ftp.debian.org/debian/">http://ftp.debian.org/debian/ squeeze-updates main contrib

deb http://download.webmin.com/download/repository">http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository">http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

=================================================

# apt-get update < up.txt


Atingido http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/">http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/">http://security.debian.org/ squeeze/updates/contrib Translation-pt
Ign http://security.debian.org/">http://security.debian.org/ squeeze/updates/contrib Translation-pt_BR
Ign http://security.debian.org/">http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/">http://security.debian.org/ squeeze/updates/main Translation-pt
Ign http://security.debian.org/">http://security.debian.org/ squeeze/updates/main Translation-pt_BR
Atingido http://security.debian.org squeeze/updates Release
Atingido http://security.debian.org squeeze/updates/main Sources
Atingido http://webmin.mirror.somersettechsolutions.co.uk sarge Release.gpg
Ign http://webmin.mirror.somersettechsolutions.co.uk/repository">http://webmin.mirror.somersettechsolutions.co.uk/repository/ sarge/contrib Translation-en
Ign http://webmin.mirror.somersettechsolutions.co.uk/repository">http://webmin.mirror.somersettechsolutions.co.uk/repository/ sarge/contrib Translation-pt
Ign http://webmin.mirror.somersettechsolutions.co.uk/repository">http://webmin.mirror.somersettechsolutions.co.uk/repository/ sarge/contrib Translation-pt_BR
Atingido http://security.debian.org squeeze/updates/contrib Sources
Atingido http://security.debian.org squeeze/updates/main amd64 Packages
Atingido http://security.debian.org squeeze/updates/contrib amd64 Packages
Atingido http://download.webmin.com sarge Release.gpg
Ign http://download.webmin.com/download/repository">http://download.webmin.com/download/repository/ sarge/contrib Translation-en
Ign http://download.webmin.com/download/repository">http://download.webmin.com/download/repository/ sarge/contrib Translation-pt
Ign http://download.webmin.com/download/repository">http://download.webmin.com/download/repository/ sarge/contrib Translation-pt_BR
Atingido http://webmin.mirror.somersettechsolutions.co.uk sarge Release
Atingido http://ftp.debian.org squeeze-updates Release.gpg
Ign http://ftp.debian.org/debian/">http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-en
Ign http://ftp.debian.org/debian/">http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-pt
Ign http://ftp.debian.org/debian/">http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-pt_BR
Ign http://ftp.debian.org/debian/">http://ftp.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.debian.org/debian/">http://ftp.debian.org/debian/ squeeze-updates/main Translation-pt
Ign http://ftp.debian.org/debian/">http://ftp.debian.org/debian/ squeeze-updates/main Translation-pt_BR
Atingido http://webmin.mirror.somersettechsolutions.co.uk sarge/contrib amd64 Packages
Atingido http://ftp.debian.org squeeze-updates Release
Atingido http://download.webmin.com sarge Release
Atingido http://ftp.debian.org squeeze-updates/main Sources/DiffIndex
Atingido http://download.webmin.com sarge/contrib amd64 Packages
Atingido http://ftp.debian.org squeeze-updates/contrib Sources
Atingido http://ftp.debian.org squeeze-updates/main amd64 Packages/DiffIndex
Atingido http://ftp.debian.org squeeze-updates/contrib amd64 Packages
Atingido http://ftp.debian.org squeeze-updates/main amd64 Packages
Lendo listas de pacotes...

=================================================

Como está? Está normal?
Abs.


7. Re: Pacotes

Daniel Fernandes
volcom

(usa Debian)

Enviado em 04/10/2011 - 09:15h

cole também a mensagem que é exibida quando tenta instalar o pacote em questão, pois (pra mim) pare estar tudo ok.


8. Re: Pacotes

Perfil removido
removido

(usa Nenhuma)

Enviado em 04/10/2011 - 20:26h

1 - quais pacotes não consegue instalar????

2 - faça uma copia do sources.list assim

>>
su -c "cp /etc/apt/sources.list /etc/apt/sources.list-back"

3 - depois o abra com nano e copie esse

>>

### Debian Squeeze/Stable.
## ------------------------------

### Chave GPG: sudo apt-get install debian-archive-keyring debian-keyring
#deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05]/ squeeze contrib main

deb http://mirrors.geeks.org/debian/ squeeze main contrib non-free
deb http://mirror.rit.edu/debian/ squeeze main contrib non-free

### Debian Squeeze/Stable 'Security Updates'.
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.br.debian.org/debian-security/ squeeze/updates main contrib non-free

### Debian Squeeze/Stable 'Volatile'.
### Informações: http://www.debian.org/News/2011/20110215.pt.html
deb http://mirrors.geeks.org/debian/ squeeze-updates main contrib non-free
deb http://mirror.rit.edu/debian/ squeeze-updates main contrib non-free

### Debian Squeeze/Stable 'Backports'.
### Chave GPG: gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C && gpg --export 16BA136C | apt-key add -
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
deb http://ftp.br.debian.org/debian-backports/ squeeze-backports main contrib non-free

### Debian Squeeze/Stable 'Multimedia'.
### Chave GPG: apt-get update && apt-get install debian-multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org squeeze main non-free
deb http://ftp.br.debian.org/debian-multimedia squeeze main non-free

###
### Outros Repositórios
###

### Debian Mozilla Team.
### Chave GPG: wget -O- -q http://mozilla.debian.net/archive.asc">http://mozilla.debian.net/archive.asc | gpg --import; gpg --export -a 06C4AE2A | sudo apt-key add -
#deb http://mozilla.debian.net/ squeeze-backports iceweasel-release

### Kernel liquorix.
### Chave GPG: sudo apt-get install liquorix-archive-keyring liquorix-keyring liquorix-keyrings
#deb http://liquorix.net/debian/ sid main
#deb http://ftp.belnet.be/mirror/liquorix.net/debian sid main

### Opera.
### Chave GPG: wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ squeeze non-free

### Oracle VM VirtualBox.
### Chave GPG: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc">http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc">http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc">http://download.virtualbox... -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib

### Wine.
### Chave GPG: wget -O - http://www.lamaresh.net/apt/key.gpg">http://www.lamaresh.net/apt/key.gpg">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

### Debian Wheezy/Testing.
#deb http://ftp.debian.org/debian/ wheezy main contrib non-free
#deb http://mirrors.geeks.org/debian/ wheezy main contrib non-free
#deb http://mirror.rit.edu/debian/ wheezy main contrib non-free

### Debian Wheezy/Testing 'Security Updates'.
#deb http://security.debian.org/ wheezy/updates main contrib non-free
#deb http://ftp.br.debian.org/debian-security/ wheezy/updates main contrib non-free

#Google Chrome
deb http://dl.google.com/linux/deb/ stable main

### Debian Sid
#deb http://ftp.br.debian.org/debian/ sid main contrib non-free

###Webmin
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

4 - Agora atualize assim

>>

su -c "apt-get update"

5 - Agora instale as chaves GPGs, no terminal logue se como root : su + senha do admin

>>

apt-get install debian-archive-keyring debian-keyring

gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C && gpg --export 16BA136C | apt-key add -

apt-get update && apt-get install debian-multimedia-keyring && apt-get update

wget -O- -q http://mozilla.debian.net/archive.asc">http://mozilla.debian.net/archive.asc">http://mozilla.debian.net/archive.asc">http://mozilla.debian.net/archive.asc | gpg --import; gpg --export -a 06C4AE2A | sudo apt-key add -

apt-get install liquorix-archive-keyring liquorix-keyring liquorix-keyrings

wget -O - http://deb.opera.com/archive.key | sudo apt-key add -

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc">http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc">http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc">http://download.virtualbox... -O- | sudo apt-key add -

wget -O - http://www.lamaresh.net/apt/key.gpg">http://www.lamaresh.net/apt/key.gpg">http://www.lamaresh.net/apt/key.gpg">http://www.lamaresh.net/apt/key.gpg | sudo apt-key add -



9. Re: Pacotes

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/10/2011 - 21:35h

conseguiu??






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts