Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] portage sca**ato
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
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sun Oct 01, 2006 2:55 pm    Post subject: [risolto] portage sca**ato Reply with quote

Salve a tutti, eccomi qui con un grosso problema...
Ho lanciato l'aggiornamento di un paio di pacchetti,
quand'ecco che in fase di compilazione delle glibc il pc si inchioda...
Vabbè, restarto in single, faccio un check dei fs e a che sono li lancio un env-update.
Finito questo riavvio e rilancio l'emerge, quand'ecco che portage se ne esce così:

Code:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
    emerge_main()
  File "/usr/bin/emerge", line 3768, in emerge_main
    settings, trees, mtimedb = load_emerge_config()
  File "/usr/bin/emerge", line 3689, in load_emerge_config
    mtimedb = portage.MtimeDB(mtimedbfile)
  File "/usr/lib/portage/pym/portage.py", line 6717, in __init__
    self._load(filename)
  File "/usr/lib/portage/pym/portage.py", line 6724, in _load
    d = mypickle.load()
cPickle.UnpicklingError: invalid load key, 'B'.



AAARGH !!!

allora lancio revdep-rebuild, che (dopo avermi dato una decina di volte il trace sopra riportato)
macina e mi dice che è tutto apposto...
Reinstallerei portage, se solo potessi ...

Se sapete dirmi come riparare senza reinstallare tutto... :roll:

Grazie in anticipo
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>


Last edited by stefanonafets on Sun Oct 01, 2006 5:10 pm; edited 2 times in total
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Sun Oct 01, 2006 2:59 pm    Post subject: Reply with quote

questa è la guida per il fix manuale
ho provato ad utilizzarla una volta sola ma mi sa che ho fatto più casino del previsto perchè alla fine non sono comunque riuscito a recuperare il tutto.
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sun Oct 01, 2006 3:09 pm    Post subject: Reply with quote

Grazie x la guida ...
Bè, adesso l'errore è diverso:

Code:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
    emerge_main()
  File "/usr/bin/emerge", line 3768, in emerge_main
    settings, trees, mtimedb = load_emerge_config()
  File "/usr/bin/emerge", line 3679, in load_emerge_config
    trees = portage.create_trees(trees=trees, **kwargs)
AttributeError: 'module' object has no attribute 'create_trees'


Non ho risolto, ma vedo che riesco a combinare.
Se avete altre soluzioni o consigli sono BEN accetti :D

[[EDIT]]

Ovviamente nemmeno ebuild funziona, ca.. volino !!
Questo è il suo errore (uguale a quello vecchio di emerge)

Code:

Traceback (most recent call last):
  File "/usr/bin/ebuild", line 26, in ?
    import portage, portage_util, portage_const
  File "/usr/lib/portage/pym/portage.py", line 7235, in ?
    init_legacy_globals()
  File "/usr/lib/portage/pym/portage.py", line 7201, in init_legacy_globals
    mtimedb = load_mtimedb(f)
  File "/usr/lib/portage/pym/portage.py", line 7126, in load_mtimedb
    d = mypickle.load()
cPickle.UnpicklingError: invalid load key, 'B'.

_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Sun Oct 01, 2006 3:50 pm    Post subject: Reply with quote

quell'errore riguardo al mtime sembra molto un qualcosa a riguardo del timestamp.
dovrebbe essere questo il file: /var/cache/edb/mtimedb
prova a spostarlo e a dare un'emerge --metadata o un sync
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sun Oct 01, 2006 5:09 pm    Post subject: Reply with quote

Ok, il problema era proprio quel file.

Purtroppo la sostituzione delle librerie che avevo fatto seguendo la guida
che mi avevi linkato, /usr/bin/emerge non funzionava + (vedi il secondo trace postato).
Ho usato l'emerge che avevo scompattato nella /root e in questo modo (dopo aver spostato il file incriminato)
sono riuscito a ri-emergere portage.

Grazie mille !!
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
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