View previous topic :: View next topic |
Author |
Message |
LastHope Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1679894694323727e03800.jpg)
Joined: 11 May 2005 Posts: 237 Location: Mordor
|
Posted: Mon Feb 05, 2007 6:17 pm Post subject: [Risolto] Appena fatto sync, problemi con il world... |
|
|
Ciao a tutti,
in generale dopo aver fatto sync io ho sempre lanciato emerge -Duav world per vedere quali pacchetti dovessi aggiornare, e aggiornavo quelli d'interesse...oggi tuttavia, il comando mi fa bizzeffe:
Code: |
root@dani_lap dani # emerge -Duav world
These are the packages that would be merged, in order:
Calculating world dependencies |
!!! All ebuilds that could satisfy ">=media-video/ffmpeg-0.4.9_p20070129" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-video/ffmpeg-0.4.9_p20070129 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "media-libs/xine-lib-1.1.4" [ebuild])
!!! Problem resolving dependencies for media-libs/xine-lib
!!! Depgraph creation failed.
root@dani_lap dani # nano /etc/portage/package.keywords
root@dani_lap dani # emerge -Duav world
These are the packages that would be merged, in order:
Calculating world dependencies -
emerge: there are no ebuilds to satisfy ">=dev-java/blackdown-jdk-1.5".
(dependency required by "dev-util/eclipse-sdk-3.2" [ebuild])
!!! Problem resolving dependencies for dev-util/eclipse-sdk
!!! Depgraph creation failed.
|
Ho inserito in packages.keywords ffmpeg, ma come mi dovrei comportare con la "blackdown-jdk-1.5"??
Ciao a tutti
LastHope
Last edited by LastHope on Tue Feb 06, 2007 4:33 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Onip Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/14414636074b138f3ed54ce.png)
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Mon Feb 05, 2007 6:33 pm Post subject: |
|
|
Il pacchetto che emerge richiede non esiste (oggi). Io direi di aggiungere -t alle opzioni di emerge e vedere chi è che te lo richiede. Probabilmente o c'è un errore nell'ebuild (e quindi con un sync fra qualche ora risolvi) o si stratta di installare sun-jdk-1.5. In questo caso ti conviene seguire la guida allìupgrade di java che trovi nella sezione doc di gentoo.org
Byez _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LastHope Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1679894694323727e03800.jpg)
Joined: 11 May 2005 Posts: 237 Location: Mordor
|
Posted: Mon Feb 05, 2007 7:03 pm Post subject: |
|
|
Ci sto dando un'occhiata...comunque...
Code: | root@dani_lap dani # java-check-environment
* === Java Environment Checker ===
* The purpose of this script is to check the sanity of your Java Environment.
* We have significantly changed and improved the way Java is handled in many respects.
* Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details
* Checking vm_environment_files ... [ ok ]
* Checking user_settings ...
* Running as root. Don't need to check user settings. [ ok ]
* Checking generation_1_system_vm ...
* No Generation-1 System VM is set! (no /etc/env.d/20java)
* It doesn't look like java-config-1 sees any installed VMs.
* It is most likely because you don't have a 1.4 JDK installed
* This is required for generation-1 to work properly.
* You will want to emerge =virtual/jdk-1.4* [ !! ]
* Some problems were found. Please follow the instructions above, and rerun java-check-environment
root@dani_lap dani # emerge -pv =virtual/jdk-1.4*
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] virtual/jdk-1.4.2 0 kB
Total size of downloads: 0 kB
|
Qualche idea? Come mai non mi riconosce la virtual/jdk-1.4*?
Ciao a tutti
LastHope
PS..: Ho pero' trovato qui "parte della soluzione":
http://overlays.gentoo.org/proj/java/wiki/Common_Problems
Quote: | Code: | [emerge: there are no ebuilds to satisfy ">=dev-java/blackdown-jdk-1.5".
(dependency required by "dev-util/eclipse-sdk-3.2" [ebuild]) |
...
Solution
Assuming you have the latest version of java-config-wrapper, you can run:
# java-check-environment virtual_provides
This will give you a list of stale provide files, and prompt you to delete them
|
Cosi', dopo aver lanciato (nel mio caso): rm /var/db/pkg/dev-java/blackdown-jdk-1.4.2.01-r2/PROVIDE
Son riuscito almeno a rivedere il world...resta da capire come mai java-check-environment non mi riconosce il comando che lui mi ha detto di eseguire... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Mon Feb 05, 2007 7:23 pm Post subject: |
|
|
LastHope wrote: | Come mai non mi riconosce la virtual/jdk-1.4*? |
perché devi installare qualche pacchetto che soddisfa quel virtual, come blackdown-jdk o sun-jdk. lo stesso vale per jdk-1.5.
non puoi installare direttamente virtual-jdk, a meno che non specifichi un'associazione univoca in /etc/portage/profile/virtuals |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LastHope Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1679894694323727e03800.jpg)
Joined: 11 May 2005 Posts: 237 Location: Mordor
|
Posted: Mon Feb 05, 2007 7:33 pm Post subject: |
|
|
.:chrome:. wrote: | LastHope wrote: | Come mai non mi riconosce la virtual/jdk-1.4*? |
perché devi installare qualche pacchetto che soddisfa quel virtual, come blackdown-jdk o sun-jdk. lo stesso vale per jdk-1.5.
non puoi installare direttamente virtual-jdk, a meno che non specifichi un'associazione univoca in /etc/portage/profile/virtuals |
Come dovrei fare per far cio'? Nel senso, nel sistema ho gia' un blackdown installata, e dovrei installare solo la sun-jdk-1.5:
Code: | root@dani_lap dani # emerge -pv blackdown-jdk
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-java/blackdown-jdk-1.4.2.03-r12 [1.4.2.01-r2] USE="-doc -nsplugin% (-mozilla%)" 33,570 kB
Total size of downloads: 33,570 kB
root@dani_lap dani # emerge -pv sun-jdk
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-java/sun-jdk-1.5.0.10 USE="X alsa -doc -examples -jce -nsplugin" 48,392 kB
root@dani_lap dani # java-config-1 -L
The following JDKs are available for generation-1:
|
Cioe', java-config-1 non mi trova nessuna jdk adatta per la generation 1...devo fare l'upgrade per forza?
Grazie mille
LastHope |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
crisandbea Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LastHope Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1679894694323727e03800.jpg)
Joined: 11 May 2005 Posts: 237 Location: Mordor
|
Posted: Mon Feb 05, 2007 8:05 pm Post subject: |
|
|
Ciao crisandbea !
La guida l'ho seguita, infatti ho il java-config-wrapper, provato a lanciare il java-check-environment...il problema è proprio che il java-config-1 -L non mi segnala nessuna possibile...diciamo che sono in una situazione come questa
Tranne che non ho mai usato un pacchetto unmasked per ciò
Aggiornando la blackdown, comparirà come possibile scelta per la generazione 1? Cosa può essere che non me la fa vedere come possibile scelta?
Grazie a tutti
LastHope |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Onip Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/14414636074b138f3ed54ce.png)
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Tue Feb 06, 2007 7:49 am Post subject: |
|
|
effetivamente potrebbe essere che la nuova versione porti con se qualche file o script che la adattano al nuovo sistema di gestione di java. Io farei l'upgrade, considerando poi che la versione che hai installato tu non è nemmeno più in portage _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LastHope Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1679894694323727e03800.jpg)
Joined: 11 May 2005 Posts: 237 Location: Mordor
|
Posted: Tue Feb 06, 2007 4:33 pm Post subject: |
|
|
Onip wrote: | effetivamente potrebbe essere che la nuova versione porti con se qualche file o script che la adattano al nuovo sistema di gestione di java. Io farei l'upgrade, considerando poi che la versione che hai installato tu non è nemmeno più in portage |
L'upgrade ha risolto tutto (in automatico ha settato la blackdown come la jvm di generazione 1)...finalmente java-check-environment mi dice che ho un sistema stabile
Ora ho altri problemi...ma apro un altro topic
Grazie e ciao a tutti
LastHope |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|