Probleminha com o java...

73. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/10/2011 - 00:43h

Não foi possível obter acesso exclusivo ao directório de administração (/var/lib/dpkg/), outro processo está a utilizá-lo?

isso quer dizer que tem algum processo que realiza atualizações que ainda está aberto...no sistema...faça logoff e depois login e tente novamente.....


me add : josueandres.fcb@gmail.com

pois vou precisar sair...


  


74. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/10/2011 - 20:52h

e ai conseguiu?


75. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 03/10/2011 - 22:29h

Ign http://archive.cannonical.com lucid InRelease
Err http://archive.cannonical.com lucid Release.gpg
Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)
Ign http://archive.cannonical.com lucid Release
Ign http://ppa.launchpad.net natty InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://archive.canonical.com lucid InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://archive.cannonical.com lucid/partner TranslationIndex
Ign http://ppa.launchpad.net natty Release.gpg
Atingido http://archive.canonical.com lucid Release.gpg
Atingido http://archive.ubuntu.com natty Release.gpg
Atingido http://extras.ubuntu.com natty Release.gpg
Atingido http://security.ubuntu.com natty-security Release.gpg
Ign http://ppa.launchpad.net natty Release.gpg
Atingido http://archive.canonical.com lucid Release
Atingido http://archive.ubuntu.com natty-updates Release.gpg
Atingido http://extras.ubuntu.com natty Release
Atingido http://security.ubuntu.com natty-security Release
Ign http://ppa.launchpad.net natty Release
Atingido http://archive.ubuntu.com natty Release
Atingido http://archive.canonical.com lucid/partner Sources
Atingido http://extras.ubuntu.com natty/main i386 Packages
Atingido http://security.ubuntu.com natty-security/main i386 Packages
Ign http://ppa.launchpad.net natty Release
Atingido http://archive.ubuntu.com natty-updates Release
Atingido http://archive.canonical.com lucid/partner i386 Packages
Ign http://archive.canonical.com lucid/partner TranslationIndex
Ign http://extras.ubuntu.com natty/main TranslationIndex
Atingido http://security.ubuntu.com natty-security/restricted i386 Packages
Atingido http://security.ubuntu.com natty-security/universe i386 Packages
Atingido http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://ppa.launchpad.net natty/main TranslationIndex
Atingido http://archive.ubuntu.com natty/main i386 Packages
Atingido http://archive.ubuntu.com natty/restricted i386 Packages
Atingido http://archive.ubuntu.com natty/universe i386 Packages
Atingido http://archive.ubuntu.com natty/multiverse i386 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://ppa.launchpad.net natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Atingido http://archive.ubuntu.com natty-updates/main i386 Packages
Atingido http://archive.ubuntu.com natty-updates/restricted i386 Packages
Atingido http://archive.ubuntu.com natty-updates/universe i386 Packages
Atingido http://archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Err http://archive.cannonical.com lucid/partner i386 Packages
Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Atingido http://archive.ubuntu.com natty/main Translation-pt_BR
Atingido http://archive.ubuntu.com natty/main Translation-pt
Atingido http://archive.ubuntu.com natty/multiverse Translation-pt_BR
Atingido http://archive.ubuntu.com natty/multiverse Translation-pt
Atingido http://archive.ubuntu.com natty/restricted Translation-pt_BR
Atingido http://archive.ubuntu.com natty/restricted Translation-pt
Atingido http://archive.ubuntu.com natty/universe Translation-pt_BR
Atingido http://archive.ubuntu.com natty/universe Translation-pt
Err http://archive.cannonical.com lucid/partner Translation-pt_BR
Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)
Err http://archive.cannonical.com lucid/partner Translation-pt
Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)
Err http://archive.cannonical.com lucid/partner Translation-en
Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)
Err http://ppa.launchpad.net natty/main Sources
404 Not Found
Err http://ppa.launchpad.net natty/main i386 Packages
404 Not Found
Err http://ppa.launchpad.net natty/main Sources
404 Not Found
Err http://ppa.launchpad.net natty/main i386 Packages
404 Not Found
Ign http://security.ubuntu.com natty-security/main Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt_BR
Ign http://extras.ubuntu.com natty/main Translation-pt_BR
Ign http://security.ubuntu.com natty-security/main Translation-pt
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt_BR
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.canonical.com lucid/partner Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://archive.canonical.com lucid/partner Translation-pt
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://extras.ubuntu.com natty/main Translation-pt
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-pt_BR
Ign http://security.ubuntu.com natty-security/restricted Translation-pt
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-pt_BR
Ign http://security.ubuntu.com natty-security/universe Translation-pt
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-pt_BR
Ign http://archive.ubuntu.com natty-updates/main Translation-pt
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://archive.canonical.com lucid/partner Translation-en
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-pt_BR
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-pt
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-pt_BR
Ign http://archive.ubuntu.com natty-updates/restricted Translation-pt
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-pt_BR
Ign http://archive.ubuntu.com natty-updates/universe Translation-pt
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
W: Falhou ao buscar http://archive.cannonical.com/dists/lucid/Release.gpg Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)

W: Falhou ao buscar http://archive.cannonical.com/dists/lucid/partner/binary-i386/Packages Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)

W: Falhou ao buscar http://archive.cannonical.com/dists/lucid/partner/i18n/Translation-pt_BR Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)

W: Falhou ao buscar http://archive.cannonical.com/dists/lucid/partner/i18n/Translation-pt Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)

W: Falhou ao buscar http://archive.cannonical.com/dists/lucid/partner/i18n/Translation-en Algo estranho aconteceu ao resolver 'archive.cannonical.com:http' (-5 - Não há endereço associado com o nome)

W: Falhou ao buscar http://ppa.launchpad.net/ferramrobrtyo/java/ubuntu/dists/natty/main/source/Sources 404 Not Found

W: Falhou ao buscar http://ppa.launchpad.net/ferramrobrtyo/java/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://ppa.launchpad.net/moonlight-team/pinta/ubuntu/dists/natty/main/source/Sources 404 Not Found

W: Falhou ao buscar http://ppa.launchpad.net/moonlight-team/pinta/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found

E: Alguns arquivos index falharam ao ser baixados. Eles foram ignorados, ou cópias antigas são usadas ao invés.



76. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/10/2011 - 23:00h

Tá parecendo birra, nenhum source que te passei funcionou....veremos tente com esse menor, mais eficiente...




tá ai >>>

1 - Adicionar os repositórios que lhe passei, no seu sources.list ...


sudo nano /etc/apt/sources.list

São esses:apague o conteúdo do seu sources.list e cole o conteúdo abaixo >>>

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse

###### Ubuntu Partner Repo
deb-src http://archive.canonical.com/ubuntu natty partner

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

###### 3rd Party Binary Repos

#### Google Linux Software Repositories (Testing) - http://www.google.com/linuxrepositories/
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
deb http://dl.google.com/linux/deb/ testing non-free

#### Opera - http://www.opera.com/
## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ lenny non-free

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc">http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian natty contrib


####### 3rd Party Source Repos

#### Medibuntu (Source) - http://www.medibuntu.org/
## Run this command: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
deb-src http://packages.medibuntu.org/ natty free non-free

#### Mozilla Daily Build Team (Source) - http://edge.launchpad.net/~ubuntu-mozilla-daily/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247510BE
deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu natty main

#### VLC Media Player (Source) - http://www.videolan.org/vlc/
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40130828
deb-src http://ppa.launchpad.net/c-korn/ppa/ubuntu maverick main

#### Wine (Source) - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu natty main

salve assim >> ctrl+o(é a letra o e não zero)

depoi feche assim ctrl+x




2 – Atualizar...

No terminal : sudo apt-get update


3 - Adicionar as chaves GPGs, no terminal adicione uma a uma....

agora instale as chaves >>>

Getting the GPG keys:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo 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 -O- | sudo apt-key add -
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247510BE
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40130828
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0



4 - Atualizar novamente

No terminal : sudo apt-get update


5 - Instalar os pacotes do Java e JDK para utilizar a VM...




Pacotes:
sudo apt-get install flashplugin-nonfree

sudo apt-get install openjdk-6-jre openjdk-6-jre-headless

6 – É isso...



77. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 03/10/2011 - 23:51h

E: O dpkg foi interrompido, para corrigir o problema tem de correr manualmente 'sudo dpkg --configure -a'



78. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 04/10/2011 - 00:21h

no terminal

>>

sudo dpkg --configure -a

sudo apt-get -f install


79. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 04/10/2011 - 22:22h

e ai ???


80. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 06/10/2011 - 22:24h

Quando eu instalo as chaves, e dou o update, o Terminal fica roxo e tudo nele muda pra um texto muito grande:
┌──────────────────────┤ Configurando sun-java6-jre ├───────────────────────┐
│ │
│ Operating System Distributor License for Java v1.1 (DLJ)
│
│ Operating System Distributor License for Java version 1.1 (DLJ)
│
│ SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE JAVA PLATFORM
│ STANDARD EDITION DEVELOPER KIT ("JDK" - THE "SOFTWARE") TO YOU ONLY UPON
│ THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE
│ AGREEMENT (THE "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY
│ INSTALLING, USING, OR DISTRIBUTING THIS SOFTWARE, YOU ACCEPT ALL OF THE
│ TERMS OF THE AGREEMENT.
│
│ 1. DEFINITIONS. "Software" means the code identified above in binary
│ form, any other machine readable materials including, but not
│ limited to, libraries, source files, header files, and data files),
│ any updates or error corrections provided by Sun, and any user
│ manuals, programming guides and other documentation provided to you
│ by Sun under this Agreement, and any subsequent versions that Sun
│ makes available to you hereunder. "Operating System" means any
│ version of the Linux or OpenSolaris operating systems that manages
│ the hardware resources of a general purpose desktop or server
│ computer and shares these resources with various software programs
│ that run on top of it. "Programs" means Java technology applets and
│ applications intended to run on the Java Platform Standard Edition
│ (Java SE platform) platform on Java-enabled general purpose desktop
│ computers and servers.
│
│
E por aí vai. Quando isso abre, não posso mais ultilizar o Terminal, nem fechar este, ou abrir outro. O que devo fazer?


81. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 06/10/2011 - 22:33h

post um sreenshoot


82. Re: Probleminha com o java...

83. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 10/10/2011 - 10:27h

e então? O que faço?


84. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 12/10/2011 - 13:24h

Alguem consegue me ajudar com meu problema? meu caro josue já conseguiu me ajudar bastante, mas o que faço a seguir?






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts