View previous topic :: View next topic |
Author |
Message |
sacchi Tux's lil' helper
Joined: 28 May 2004 Posts: 104
|
Posted: Tue Aug 25, 2020 8:57 pm Post subject: non riesco ad aggiornare |
|
|
Ciao a tutti!
se faccio un emerge world mi esce:
Code: | WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-python/pycairo:0
(dev-python/pycairo-1.19.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -examples -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" conflicts with
>=dev-python/pycairo-1.11.1[python_targets_python2_7(-),python_targets_python3_7(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/pygobject-3.36.1:3/3::gentoo, installed) USE="cairo -examples -test" PYTHON_TARGETS="python2_7 python3_7 -python3_6 -python3_8 -python3_9" |
Come posso uscirne?
Molte grazie!
Lorenzo |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31455 Location: here
|
Posted: Wed Aug 26, 2020 5:44 am Post subject: |
|
|
Prova a rimuovere il supporto a python2_7 al pacchetto dev-python/pygobject:3 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
sacchi Tux's lil' helper
Joined: 28 May 2004 Posts: 104
|
Posted: Wed Aug 26, 2020 11:26 pm Post subject: |
|
|
fedeliallalinea wrote: | Prova a rimuovere il supporto a python2_7 al pacchetto dev-python/pygobject:3 |
Ciao e grazie!
Se ho ben capito il tuo consiglio, ho aggiunto la riga:
Code: | dev-python/pygobject:3 -python2_7 |
al file /etc/portage/package.use.
Purtroppo non è cambiato nulla.
Posso fare altre prove?
Ciao e grazie!
Lorenzo |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31455 Location: here
|
Posted: Thu Aug 27, 2020 5:30 am Post subject: |
|
|
sacchi wrote: | Se ho ben capito il tuo consiglio, ho aggiunto la riga:
Code: | dev-python/pygobject:3 -python2_7 |
al file /etc/portage/package.use.
Purtroppo non è cambiato nulla. |
Perche' la sintassi corretta e' dev-python/pygobject:3 -python_targets_python2_7 oppure dev-python/pygobject:3 PYTHON_TARGETS: -python2_7. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
sacchi Tux's lil' helper
Joined: 28 May 2004 Posts: 104
|
Posted: Thu Aug 27, 2020 8:12 am Post subject: |
|
|
fedeliallalinea wrote: | sacchi wrote: | Se ho ben capito il tuo consiglio, ho aggiunto la riga:
Code: | dev-python/pygobject:3 -python2_7 |
al file /etc/portage/package.use.
Purtroppo non è cambiato nulla. |
Perche' la sintassi corretta e' dev-python/pygobject:3 -python_targets_python2_7 oppure dev-python/pygobject:3 PYTHON_TARGETS: -python2_7. |
Ha funzionato, grazie!!!
Ma da cosa hai capito che il problema era quello?
L |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31455 Location: here
|
Posted: Thu Aug 27, 2020 8:31 am Post subject: |
|
|
In questo caso il messaggio te lo dice (non sempre e' chiaro)
Code: | (dev-python/pycairo-1.19.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -examples -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" conflicts with
>=dev-python/pycairo-1.11.1[python_targets_python2_7(-),python_targets_python3_7(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/pygobject-3.36.1:3/3::gentoo, installed) USE="cairo -examples -test" PYTHON_TARGETS="python2_7 python3_7 -python3_6 -python3_8 -python3_9" |
Infatti la prima linea ti dice che dev-python/pycairo-1.19.1 e' schedulato per essere aggiornato con solo il target python3_7 (e come si vede non ha il target a python2_7) ma va in conflitto con dev-python/pycairo-1.11.1 che e' necessario a dev-python/pygobject-3.36.1, nella seconda linea, perche' ha abilitato anche il target python2_7.
Devo dire che questi messaggi non sono molto intuitivi ma ci si puo' arrivare con un po' di logica. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
sacchi Tux's lil' helper
Joined: 28 May 2004 Posts: 104
|
Posted: Thu Aug 27, 2020 3:10 pm Post subject: |
|
|
fedeliallalinea wrote: | Devo dire che questi messaggi non sono molto intuitivi ma ci si puo' arrivare con un po' di logica. |
Ora che mi hai dato questa dritta sì, ci potrò arrivare!
Ancora molte grazie!
L |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1047
|
Posted: Thu Aug 27, 2020 6:42 pm Post subject: |
|
|
fedeliallalinea wrote: |
Devo dire che questi messaggi non sono molto intuitivi ma ci si puo' arrivare con un po' di logica. |
Hai pienamente ragione. Diciamo che la sintassi non è strutturata molto bene.
Per chi ancora riesce a muoversi in questi meandri , ci si arriva, ma quando ci sono delle ipendenze ricorsive tra molti pachetti e ti scappa di non leggere correttamente una flag , c'è da diventare scemi _________________ LRS 64/32 |
|
Back to top |
|
|
belze n00b
Joined: 21 Jul 2007 Posts: 18
|
Posted: Thu Sep 03, 2020 8:57 pm Post subject: |
|
|
fedeliallalinea wrote: | sacchi wrote: | Se ho ben capito il tuo consiglio, ho aggiunto la riga:
Code: | dev-python/pygobject:3 -python2_7 |
al file /etc/portage/package.use.
Purtroppo non è cambiato nulla. |
Perche' la sintassi corretta e' dev-python/pygobject:3 -python_targets_python2_7 oppure dev-python/pygobject:3 PYTHON_TARGETS: -python2_7. |
GRAZIE |
|
Back to top |
|
|
|