Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] perche mod_php 4.3.9 sul 5.0.2? Portage Scassato
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Nov 04, 2004 5:09 pm    Post subject: Reply with quote

mega wrote:
KeyError: "Specific key requires an operator (dev-php/mod_php-5.0.2) (try adding an '=')"


Allora trova il file dove manca 'uguale!
_________________
Ciao da me!
Back to top
View user's profile Send private message
mega
n00b
n00b


Joined: 22 Jun 2002
Posts: 40
Location: Tourin, Italy

PostPosted: Thu Nov 04, 2004 5:52 pm    Post subject: Reply with quote

non penso che portage abbia sti 400 files

li ho controllati tutti e rimosso quelli che si potevano togliere da /etc/portage

sarebbe troppo semplice :idea: :cry: :cry:

la situazione e' /etc/portage vuota
i files dove ci sono i mascheramenti dei pacchetti non hanno nessun riferimento a php o mod_php

virtuals a quanto ho capito non esiste più come file.
world e' ok
distfiles e /var/tmp/portage son vuote..anche se sicuramente non hanno importanza

ora disinstallo mod_php
vedo che dice e poi lo re-emergo
Back to top
View user's profile Send private message
mega
n00b
n00b


Joined: 22 Jun 2002
Posts: 40
Location: Tourin, Italy

PostPosted: Thu Nov 04, 2004 5:56 pm    Post subject: Reply with quote

e per finire
la ciliegina sulla torta :lol: ormai mi vien da ridere

Code:

darkbox mega # emerge -C mod_php

 dev-php/mod_php
    selected: 5.0.2
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging dev-php/mod_php-5.0.2...
No package files given... Grabbing a set.
--- !found obj /usr/lib/apache2/modules/libphp5.so
--- !found obj /usr/bin/php
--- cfgpro obj /etc/php/apache2-php5/php.ini
--- cfgpro sym /etc/php/apache2-php5/lib
--- cfgpro dir /etc/php/apache2-php5
--- cfgpro dir /etc/php
--- cfgpro obj /etc/apache2/conf/modules.d/70_mod_php5.conf
--- cfgpro dir /etc/apache2/conf/modules.d
--- cfgpro dir /etc/apache2/conf
--- cfgpro dir /etc/apache2
--- !empty dir /usr/share/man/man1
--- !empty dir /usr/share/man
--- !empty dir /usr/share
--- !empty dir /usr/lib/php
--- !empty dir /usr/lib/apache2/modules
--- !empty dir /usr/lib/apache2
--- !empty dir /usr/lib
--- !empty dir /usr/include
--- !empty dir /usr/bin
--- !empty dir /usr
--- !empty dir /etc
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2747, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/bin/emerge", line 2167, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_action not in ["clean","prune"])
  File "/usr/lib/portage/pym/portage.py", line 2700, in unmerge
    mylink.unmerge(trimworld=mytrimworld,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 6109, in unmerge
    matches=db[self.myroot]["vartree"].dbapi.match(x,use_cache=0)
  File "/usr/lib/portage/pym/portage.py", line 4568, in match
    return match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache))
  File "/usr/lib/portage/pym/portage.py", line 3874, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (dev-php/mod_php-5.0.2) (try adding an '=')"


Naturalmente rimane emerso
e se rido il comando
stesso errore

Qua ci vuole il developer di portage per risovere...se ci riesce lui :)
Back to top
View user's profile Send private message
fe
n00b
n00b


Joined: 28 Jan 2004
Posts: 11
Location: Italy

PostPosted: Fri Nov 05, 2004 1:21 am    Post subject: Reply with quote

mega wrote:
Code:
File "/usr/lib/portage/pym/portage.py", line 3874, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (dev-php/mod_php-5.0.2) (try adding an '=')"



Hai una dipendenza con versione ma senza = iniziale in world.
Apri /var/lib/portage/world e togli -5.0.2 dalla riga dove c'è mod_php
e non andare più a modificare world a manina se non sai esattamente cosa stai facendo
Back to top
View user's profile Send private message
mega
n00b
n00b


Joined: 22 Jun 2002
Posts: 40
Location: Tourin, Italy

PostPosted: Fri Nov 05, 2004 4:10 pm    Post subject: Reply with quote

grazie mille fe!!

Mi sa che l'avevo modiicato a manina cercando di ovviare al problema iniziale del thread di riuscire a farlo smettere di chiedermi di installare mod_php-4.3.9 sulla 5.0.2.
Eco perchè era saltata fuori sta complicazione :oops:

Ancora grazie----vado a fare un update
Back to top
View user's profile Send private message
mega
n00b
n00b


Joined: 22 Jun 2002
Posts: 40
Location: Tourin, Italy

PostPosted: Sat Nov 06, 2004 1:50 am    Post subject: Reply with quote

Per informazione
Ho risolto

Il file che avrebbedovuto servirmi non era quel cavolo di package.keywords che non aveva effetto alcuno, ma...
package.mask (sta sempre in /etc/portage)

me l'ha indicato emerge quando ho cercato di fare un --inject di mopd_php-4.3.9 per fargli credere che fosse installato cosi smetteva di chiedermi in loop l'installazione dell'uno o dell'altro

Comunque...il loop era generato dalla richiesta mia di installare la 5.0.2 e dA quella di phpwebsite che necessita della 4.3.9

Ho optato per un -C di phpwebsite, che tanto non usavo e tenevo li per quando avrei avuto voglia di darci un'occhiata

Grazie a tutti per l'aiuto :D e per l'anti-aiuto :cry:
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Nov 06, 2004 9:40 am    Post subject: Reply with quote

Se hai risolto metti il tag [Risolto]
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum