Probleminha com o java...

49. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/10/2011 - 00:39h

faça uma copia do sources.list assim>>

sudo cp /etc/apt/sources.list /etc/apt/sources.list-back

depois o abra com nano apague tudo e cole isso...

sudo nano /etc/apt/sources.list

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

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

###### Ubuntu Update Repos
deb http://br.archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

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

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

###### 3rd Party Binary Repos

#### GetDeb - http://www.getdeb.net
## Run this command: wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
deb http://archive.getdeb.net/ubuntu natty-getdeb apps

#### Google Linux Software Repositories - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable 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

#### Oracle 10g DB - http://oss.oracle.com
## Run this command: wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -
deb http://oss.oracle.com/debian unstable main non-free

#### Playdeb - http://www.playdeb.net/
## Run this command: wget -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
deb http://archive.getdeb.net/ubuntu natty-getdeb games

#### SABnzbd - http://sabnzbd.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4BB9F05F
deb http://ppa.launchpad.net/jcfp/ppa/ubuntu natty main

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

#### Audacity (Source) - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1024R/BB901940
deb-src http://ppa.launchpad.net/audacity-team/daily/ubuntu natty main

#### Banshee (Source) - https://edge.launchpad.net/~banshee-team
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6E80C6B7
deb-src http://ppa.launchpad.net/banshee-team/ppa/ubuntu natty main

#### Chromium Project (Source) - http://code.google.com/chromium/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E5E17B5
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu natty main

#### GCstar (Source) - http://www.gcstar.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5BE6AD9A
deb-src http://ppa.launchpad.net/gcstar/gcstar-dev/ubuntu natty main

#### Glx-Dock / Cairo-Dock (Source) - http://www.glx-dock.org
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E80D6BF5
deb-src http://ppa.launchpad.net/cairo-dock-team/weekly/ubuntu natty main

#### LibreOffice 3.3 (Source) - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu natty main

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

#### Miro HD Video Player (Source) - http://www.getmiro.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2D75E850
deb-src http://ppa.launchpad.net/pcf/miro-releases/ubuntu natty main

#### MKVToolnix (Source) - http://www.bunkus.org/videotools/mkvtoolnix/
## Run this command: wget -q http://www.bunkus.org/gpg-pub-moritzbunkus.txt -O- | sudo apt-key add -
deb-src http://www.bunkus.org/ubuntu/natty/ ./

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

#### Pidgin (Source) - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu natty main

#### qBittorrent (Source) - http://qbittorrent.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
deb-src http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu natty main

#### Themes for GNOME and Ubuntu (Source) - https://edge.launchpad.net/~bisigi/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 881574DE
deb-src http://ppa.launchpad.net/bisigi/ppa/ubuntu natty main

#### Ubuntu Tweak (Source) - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb-src http://ppa.launchpad.net/tualatrix/ubuntu natty main

#### UNetbootin (Source) - http://unetbootin.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC91AE7E
deb-src http://ppa.launchpad.net/gezakovacs/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

depois

sudo apt-get update


  


50. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/10/2011 - 00:42h

agora instale as chaves >>>

Getting the GPG keys:


wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -
wget -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4BB9F05F
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1024R/BB901940
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6E80C6B7
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E5E17B5
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5BE6AD9A
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E80D6BF5
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2D75E850
wget -q http://www.bunkus.org/gpg-pub-moritzbunkus.txt -O- | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247510BE
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 881574DE
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC91AE7E
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40130828
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0



depois
sudo apt-get update


51. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/10/2011 - 00:44h

depois

faça no terminal >>

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk


52. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 02/10/2011 - 00:45h

cp: não foi possível criar arquivo comum "/etc/apt/sources.list-back": Permissão negada



53. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/10/2011 - 00:50h

use o sudo

sudo cp /etc/apt/sources.list /etc/apt/sources.list-back

sudo nano /etc/apt/sources.list


54. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/10/2011 - 01:11h

amigo agora, vou precisar sair pois hoje terei de acordar cedo, mais amanhã estamos aí, se quiser de uma olhada nesse material...

sobre a instalação do java

https://help.ubuntu.com/community/Java


https://launchpad.net/~ferramroberto/+archive/java

qualquer coisa amanhã pela tarde ou noite, nos falamos...ok


55. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/10/2011 - 12:20h

e ai conseguiu????


56. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 02/10/2011 - 13:13h

Nenhum sucesso aparente. Apenas abriu um novo terminal com a seguinte mensagem:
───────────────┤ 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),
│
&#9474; <Ok>
&#9474; &#9474;
&#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;


57. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/10/2011 - 13:35h

você trocou sua sources.list pela que lhe indiquei ???

JDK


58. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 02/10/2011 - 13:36h

poderia repassar o comando, pra eu repassar a sources.list?


59. Re: Probleminha com o java...

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/10/2011 - 13:46h

cat /etc/apt/sources.list

copie o conteudo aqui


60. Re: Probleminha com o java...

Daniel Almico Saraiva
EnergiaMetalica

(usa Ubuntu)

Enviado em 02/10/2011 - 13:48h

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu natty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse

deb http://extras.ubuntu.com/ubuntu natty main

deb http://archive.cannonical.com/ lucid partner # desabilitado na atualização para natty
deb http://archive.canonical.com/ lucid partner
deb-src http://archive.canonical.com/ lucid partner







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts