Pagina 1 di 1

[Risolto] Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 17:54
da lord marcus
Salve a tutti,
scusate se vi rompo ma non capisco come mai non riesco ad installare il pacchetto sun-java6-jre.

Premetto che sto cercando di seguire questa guida http://wiki.ubuntu-it.org/Programmazione/Java/Avanzate

credo di avere i componenti multiverse abilitati: il mio file source.list è il seguente

Codice: Seleziona tutto

# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick universe
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

## Repository per aggiornamenti di wine
# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu lucid main # disabilitato durante l'avanzamento a lucid
# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu lucid main # disabilitato durante l'avanzamento a lucid


deb http://extras.ubuntu.com/ubuntu maverick main #Third party developers repository
però dando il seguente comando

Codice: Seleziona tutto

sudo apt-get install sun-java6-jre
ottengo

Codice: Seleziona tutto

Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Il pacchetto sun-java6-jre non ha versioni disponibili, ma è nominato da un altro
pacchetto. Questo può significare che il pacchetto è mancante, è obsoleto
oppure è disponibile solo all'interno di un'altra sorgente

E: Il pacchetto "sun-java6-jre" non ha candidati da installare
marcus@marcus-laptop:~$
grazie a tutti per l'aiuto!

Re: Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:06
da robytrevi
Ciao.
Credo quel pacchetto stia nei repository Partner.

Re: Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:20
da lord marcus
ciao grazie per la risposta,
però mi dà lo stesso errore anche se ho abilitato i partner
ti riporto il source.list aggiornato (magari ho sbagliato)

Codice: Seleziona tutto

# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick universe
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
 deb http://archive.canonical.com/ubuntu karmic partner
 deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

## Repository per aggiornamenti di wine
# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu lucid main # disabilitato durante l'avanzamento a lucid
# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu lucid main # disabilitato durante l'avanzamento a lucid


deb http://extras.ubuntu.com/ubuntu maverick main #Third party developers repository

dopo questa modifica ho dato

Codice: Seleziona tutto

sudo apt-get update
ma quando provo ad installare l'errore mi rimane lo stesso.

Re: Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:30
da Mdfalcubo
I partner valgono per la 10.04, almeno da quello che vedo su quella guida. Hai provato a installarlo da gestore pacchetti? di solito avvisa se hai già la versione più recente installata, ma controlla lo stesso dal gestore pacchetti.
EDIT: come dice robytrevi sotto, svelato l'arcano. Se risolvi aggiungi [risolto] al titolo del primo post, grazie.

Re: Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:31
da robytrevi
Perché hai messo il repository di karmic invece di quello di maverick...

Re: Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:32
da lord marcus
a si scusa l'avevo messa solo sul titolo. Ho Ubuntu 10.10 Maverik

Re: Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:33
da lord marcus
robytrevi ha scritto: Perché hai messo il repository di karmic invece di quello di maverick...
non ci avevo fatto caso ora provo a rimediare...

grazie per l'aiuto

Re: [Risolto] Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:40
da lord marcus
ok ora funziona.
grazie a tutti

Re: [Risolto] Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:46
da Mdfalcubo
Tutti? Robytrevi casomai, manco m'ero accorto dei repo di karmic :-[

Re: [Risolto] Problema installazione pacchetto sun-java6-jre con Ubuntu 10.10

Inviato: sabato 20 novembre 2010, 18:55
da lord marcus
bè, anche tu ci hai perso del tempo per aiutarmi...quindi grazie a tutti e due ^^

ciao!