Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage impazzito
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 5:24 pm    Post subject: portage impazzito Reply with quote

aiuto!!
Code:

 # emerge --update world Calculating world dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 2903, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1351, in xcreate
    if not self.create(myk,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1250, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1250, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 939, in create
    self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
  File "/usr/lib/portage/pym/portage.py", line 1270, in setinst
    virt = dep_getkey(virt)
  File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey
    elif mydep[:1] in "=<>~":
TypeError: 'in <string>' requires string as left operand

Cosa caspita è successo?!?!?!

ho la versione 2.0.51-r2 di portage...

comunque il problema è solo con world, infatti

Code:


# emerge -p world

These are the packages that I would merge, in order:

Calculating world dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 2903, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1351, in xcreate
    if not self.create(myk,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 939, in create
    self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
  File "/usr/lib/portage/pym/portage.py", line 1270, in setinst
    virt = dep_getkey(virt)
  File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey
    elif mydep[:1] in "=<>~":
TypeError: 'in <string>' requires string as left operand


# emerge -p links

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-www/links-2.1_pre15

Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31566
Location: here

PostPosted: Tue Nov 02, 2004 5:25 pm    Post subject: Reply with quote

Neanche con
Code:
# emerge -up world

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 5:27 pm    Post subject: Reply with quote

neanche:
Code:

# emerge -up world

These are the packages that I would merge, in order:

Calculating world dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 2903, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1351, in xcreate
    if not self.create(myk,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1250, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1250, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 939, in create
    self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
  File "/usr/lib/portage/pym/portage.py", line 1270, in setinst
    virt = dep_getkey(virt)
  File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey
    elif mydep[:1] in "=<>~":
TypeError: 'in <string>' requires string as left operand
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 5:28 pm    Post subject: Reply with quote

neanche:
Code:

# emerge -up world

These are the packages that I would merge, in order:

Calculating world dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 2903, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1351, in xcreate
    if not self.create(myk,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1250, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1250, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 939, in create
    self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
  File "/usr/lib/portage/pym/portage.py", line 1270, in setinst
    virt = dep_getkey(virt)
  File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey
    elif mydep[:1] in "=<>~":
TypeError: 'in <string>' requires string as left operand
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31566
Location: here

PostPosted: Tue Nov 02, 2004 5:29 pm    Post subject: Reply with quote

In /etc/portage hai tutto a posto? Posta i tuoi file che si trovano li
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 5:32 pm    Post subject: Reply with quote

Code:

# ls /etc/portage/
sets

Bah, ma aspetta...
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 5:35 pm    Post subject: Reply with quote

Code:

emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.51-r2 to /
>>> md5 src_uri ;-) portage-2.0.51-r2.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51-r2.tar.bz2 to /var/tmp/portage/portage-2.0.51-r2/work

[piu avanti...]

 * Checking //var/lib/portage for bad/illegal files:

 * Feature additions are noted in help and make.conf descriptions.

 * Update configs using 'etc-update' please. Maintaining current configs
 * for portage and other system packages is fairly important for the
 * continued health of your system.

 * NOTICE: There have been changes in the location of some internal files
 *         to better match the FHS. The changes do not directly affect users
 *         but please be advised that changing between versions of portage
 *         with and without these changes may introduce some inconsistencies
 *         in package data regarding 'world' and 'virtuals' (provides).

 *         /var/cache/edb/world has moved to /var/lib/portage/world

 *         /var/cache/edb/virtuals has been deprecated and is now calculated
 *         on demand. Strictly _USER_ modifications to virtuals may go into
 *         /etc/portage/profile/virtuals and will not be modified by portage.

Recalculating the counter... Counter updated successfully.
 * Compiling python modules...
ccache
 * You may run 'emerge metadata' to perform cache updates if you have
 * changed versions of portage. This will provide a fairly dramatic
 * speedup. Alternatively, you may 'emerge sync' if it has been more
 * than 30 minutes since your last sync.


sarebbe????
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Nov 02, 2004 5:39 pm    Post subject: Reply with quote

Stai usando psyco?
_________________
Ciao da me!
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 5:43 pm    Post subject: Reply with quote

a occhio sembra un problema in /etc/portage/keywords,mask,unmask

prova a lanciarlo con
emerge -Dupb world

e posta solo le righe finali..
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 5:48 pm    Post subject: Reply with quote

Quote:
randomaze
Stai usando psyco?

no, non so nemmeno cosa sia...

Quote:

xchris
a occhio sembra un problema in /etc/portage/keywords,mask,unmask

prova a lanciarlo con
emerge -Dupb world

e posta solo le righe finali..


mai demascherato nulla, e ovviamente ecco il risultato del comando...

Code:

# emerge -Dupb world

These are the packages that I would merge, in order:

Calculating world dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 2903, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1351, in xcreate
    if not self.create(myk,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1250, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1250, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 939, in create
    self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
  File "/usr/lib/portage/pym/portage.py", line 1270, in setinst
    virt = dep_getkey(virt)
  File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey
    elif mydep[:1] in "=<>~":
TypeError: 'in <string>' requires string as left operand
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 5:51 pm    Post subject: Reply with quote

prova a fare un emerge sync
e' probabile che ci sia una dipendenza scritta male...
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 5:57 pm    Post subject: Reply with quote

ragazzi ma voi che versione di portage usate?
perche a questo punto credo che il problema sia che portage ha spostato world in /etc/portage...
ora provo emerge sync, se non funziona faccio un link simbolico di world in modo da farlo essere reperibile al vecchio indirizzo :? :? :? :?
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 5:59 pm    Post subject: Reply with quote

Code:

-rw-r--r--  1 root portage 3408  2 nov 17:24 /var/lib/portage/world


per il nuovo portage questo e' il posto giusto.
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 6:01 pm    Post subject: Reply with quote

e checcosa ti dà emerge -s portage?
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 6:03 pm    Post subject: Reply with quote

mi sfugge il senso del test...cmq
Code:

xchris@lyra demo $ emerge -s portage
Searching...
[ Results for search key : portage ]
[ Applications found : 3 ]

*  app-portage/portage-prefpane [ Masked ]
      Latest version available: 0.2
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 27 kB
      Homepage:    http://dev.gentoo.org/~hansmi/
      Description: A Preference-Pane for Mac OS X to configure portage
      License:     GPL-2

*  app-portage/portagemaster
      Latest version available: 0.2.1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 33 kB
      Homepage:    http://portagemaster.sourceforge.net/
      Description: A java portage browser and installer
      License:     GPL-2

*  sys-apps/portage
      Latest version available: 2.0.51-r2
      Latest version installed: 2.0.51-r2
      Size of downloaded files: 318 kB
      Homepage:    http://www.gentoo.org/
      Description: The Portage Package Management System (Similar to BSD's ports). The primary package management and distribution system for Gentoo.
      License:     GPL-2


_________________
while True:Gentoo()
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 6:07 pm    Post subject: Reply with quote

Riassumendo: appaiono cose senza senso appena compare la parola world nell'emerge e sembra che io sia l'unico a cui sta dando questo problema anche se esplicitamente emergendo il portage leggo
Code:

 * NOTICE: There have been changes in the location of some internal files
 *         to better match the FHS. The changes do not directly affect users
 *         but [b]please be advised that changing between versions of portage
 *         with and without these changes may introduce some inconsistencies
 *         in package data regarding 'world' and 'virtuals'[/b] (provides).
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 6:10 pm    Post subject: Reply with quote

e' normale quell'avviso.
Ed e' pure normale che la prima volta "sputazzi" un po' di roba tipo useflags e QA Notice...

non e' normale che ti si inchiodi.

posta magari il tuo world file.
ciao

EDIT:prova grep /var/lib/portage/world -e '-[0-9]'
_________________
while True:Gentoo()


Last edited by xchris on Tue Nov 02, 2004 6:16 pm; edited 2 times in total
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 6:12 pm    Post subject: Reply with quote

Quote:

mi sfugge il senso del test...cmq

Semplice, volevo assicurarmi che avessimo la stessa ver, e infatti è così :?
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 6:19 pm    Post subject: Reply with quote

Quote:
# grep /var/lib/portage/world -e '-[0-9]'
#

nada... perchè, cosa dovrebbe darmi?
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 6:23 pm    Post subject: Reply with quote

posta il world...
almeno escludiamo subito il world file...
potrebbe essere una dipendenza con "dipendenze" scritte male.
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 6:25 pm    Post subject: Reply with quote

Code:

# cat /var/lib/portage/world
net-analyzer/ethereal
sys-apps/iproute2
net-print/foomatic
media-sound/alsa-utils
app-editors/emacs
sys-fs/reiserfsprogs
net-print/cups
x11-misc/xscreensaver
media-fonts/freefonts
net-im/gnomemeeting
net-www/links
dev-perl/libwww-perl
sys-kernel/linux-headers
media-gfx/bootsplash
x11-plugins/gkrellmwireless
media-libs/alsa-oss
app-admin/sudo
net-wireless/airsnort
net-www/mplayerplug-in
app-crypt/seahorse
app-portage/gentoolkit
sys-kernel/gentoo-dev-sources
sys-fs/udev
app-portage/mirrorselect
media-sound/xmms
net-analyzer/ettercap
net-misc/telnet-bsd
games-emulation/pcsx
app-editors/nano
app-sci/molden
mail-mta/postfix
sys-boot/grub
sys-devel/prelink
media-video/mplayer
x11-themes/gkrellm-themes
app-text/acroread
mail-client/evolution
gnome-base/gnome
media-gfx/gimp
x11-base/xorg-x11
media-gfx/grace
sys-kernel/genkernel
net-www/netscape-flash
media-sound/gnome-alsamixer
net-wireless/wepattack
net-p2p/valknut
gnome-extra/guppi
net-analyzer/nmap
app-admin/syslog-ng
app-cdr/k3b
app-emulation/wine
sys-kernel/gentoo-sources
sys-apps/pcmcia-cs
sys-apps/vixie-cron
app-portage/ufed
app-admin/gkrellm
net-analyzer/gnu-netcat
sys-devel/gettext
app-office/openoffice-ximian
media-sound/alsa-driver
net-dialup/ppp
net-analyzer/nessus
net-print/hpijs
net-irc/xchat
app-dicts/aspell-it
sys-apps/hotplug
app-editors/vim
dev-perl/perl-tk

Eccolo qui :/
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 6:44 pm    Post subject: Reply with quote

prova questo test e vedi se si inchioda e dove

Code:

for x in `cat /var/lib/portage/world`; do echo "PROCESSO" $x; emerge -up $x ; done


ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Tue Nov 02, 2004 6:52 pm    Post subject: Reply with quote

xchris wrote:
prova questo test e vedi se si inchioda e dove

Code:

for x in `cat /var/lib/portage/world`; do echo "PROCESSO" $x; emerge -up $x ; done


ciao


fatto, mi dà tutto ok, l'unico problema è questo
Code:

PROCESSO gnome-base/gnome

These are the packages that I would merge, in order:

Calculating dependencies /

!!! Problem in gnome-base/gnome dependencies.
!!! 'in <string>' requires string as left operand exceptions

ma non si inchioda, finisce tutto!
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Nov 02, 2004 7:59 pm    Post subject: Reply with quote

riassumo...
ci siamo sentiti al telefono e ho lavorato sulla sua macchina
portage nuovo come al solito mi ha regalato nuovi dubbi.

wildancer stava passando da x86 a ~x86

il problema era su shadow-4.0.5

Le dipendenze erano corrette!(ho copiato pure il mio ebuild funzionante)
La cache era a posto (emerge metadata)

bhe... solo mascherando la 4.0.5 ha ripreso a funzionare!
A quel punto ho convinto wildancer a rimanere x86 (soprattutto in questo periodo un po' buio IMHO di portage) e a usare zorro (si lo so... sono un ottimo spacciatore dei miei script :oops: ) per smascherare quei pacchetti che gli servivano smascherati.

Ora funziona tutto... ma il dubbio rimane... B O H
ciao
_________________
while True:Gentoo()
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
Page 1 of 1

 
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