Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Aggiornamento Profilo non riuscito
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
patrick666
n00b
n00b


Joined: 22 Oct 2006
Posts: 29

PostPosted: Wed Jan 14, 2009 12:25 pm    Post subject: Aggiornamento Profilo non riuscito Reply with quote

Volendo aggiornare il mio sistema ho eseguito un :

Code:


# emerge --sync



Alla fine ho ottenuto come consiglio di aggiornare il portage ed eccomi qua:


Code:


# emerge portage

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default/linux/x86/2008.0

To upgrade do the following steps:
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile



Calculating dependencies... done!

!!! Error: the <sys-apps/portage-2.1.5 package conflicts with another package;
!!!        the two packages cannot be installed on the same system together.
!!!        Please use 'emerge --pretend' to determine blockers.



Accorgendomi del profilo deprecato mi aiuto con eselect:

Code:


# eselect profile list

Available profile symlink targets:
  [1]   hardened/x86/2.6
  [2]   selinux/2007.0/x86
  [3]   selinux/2007.0/x86/hardened
  [4]   default/linux/x86/2008.0
  [5]   default/linux/x86/2008.0/desktop
  [6]   default/linux/x86/2008.0/developer
  [7]   default/linux/x86/2008.0/server
  [8]   hardened/linux/x86



Di conseguenza scelgo il numero 4 con:

Code:


# eselect profile set 4



Eseguendo di nuovo un eselect per controllare ottengo la seguente:

Code:


 # eselect profile list
/bin/sed: impossibile leggere //profiles/profiles.desc: No such file or directory
!!! Error: Failed to get a list of valid profiles
Killed



e ancora:

Code:


 # emerge portage
Traceback (most recent call last):
  File "/usr/bin/emerge", line 12, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 7235, in ?
    init_legacy_globals()
  File "/usr/lib/portage/pym/portage.py", line 7182, in init_legacy_globals
    settings = config(
  File "/usr/lib/portage/pym/portage.py", line 1040, in __init__
    raise portage_exception.ParseError(
portage_exception.ParseError: "Expected 1 parent and got 2: '/usr/portage/profiles/default/linux/x86/2008.0/parent'"




Come posso fare ad aggiornare il portage.
Includo di seguito delle informazioni utili:

Code:



 # uname -a
Linux PROXY 2.6.19-gentoo-r5 #3 SMP Tue Feb 27 14:28:18 GMT 2007 i686 Pentium III (Coppermine) GNU/Linux

Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Wed Jan 14, 2009 12:47 pm    Post subject: Reply with quote

cosa ti dice
Code:
ls -ld /etc/make.profile
?
Back to top
View user's profile Send private message
patrick666
n00b
n00b


Joined: 22 Oct 2006
Posts: 29

PostPosted: Wed Jan 14, 2009 12:52 pm    Post subject: Reply with quote

Code:


etc # ls -ld /etc/make.profile/
drwxr-xr-x 5 root root 4096 14 gen 10:06 /etc/make.profile/

Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Jan 14, 2009 1:46 pm    Post subject: Reply with quote

patrick666 wrote:
Code:


etc # ls -ld /etc/make.profile/
drwxr-xr-x 5 root root 4096 14 gen 10:06 /etc/make.profile/


Togli il / finale, scrivi esattamente quello che ti ha consigliato devilheart.
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
patrick666
n00b
n00b


Joined: 22 Oct 2006
Posts: 29

PostPosted: Wed Jan 14, 2009 2:44 pm    Post subject: Reply with quote

Ops!!!!

Non mi ero accorto dello /.

Code:


etc # ls -ld /etc/make.profile
lrwxrwxrwx 1 root root 49 14 gen 13:15 /etc/make.profile -> ..//usr/portage/profiles/default/linux/x86/2008.0

Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Jan 14, 2009 3:04 pm    Post subject: Reply with quote

Mah, sembra come se eselect avesse scazzato qualcosa.

Code:

cd /usr/portage/profiles/default/linux/x86/2008.0

funziona correttamente o restituisce un errore?
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
patrick666
n00b
n00b


Joined: 22 Oct 2006
Posts: 29

PostPosted: Wed Jan 14, 2009 4:05 pm    Post subject: Reply with quote

funziona correttamente
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Jan 14, 2009 4:54 pm    Post subject: Reply with quote

Prova a seguire la procedura manuale, come visualizzato nel messaggio d'avviso di Portage:
Code:

# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile

_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Jan 14, 2009 4:56 pm    Post subject: Reply with quote

Rimuovi manualmente il link simbolico.
Eselect ha qualche problema alle volte, vedi l'eterno bug alla rimozione dei driver nvidia od ati senza aver prima dato eselect opengl xorg-x11.
Quote:
..//
mi pare un tantino strano.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Wed Jan 14, 2009 6:57 pm    Post subject: Reply with quote

Ci stavo pensando prima, mentre utilizzavo eselect, che solitamente faccio il symlink manualmente.. e infatti sono andato a vedermi la lista dei profili dicendomi "la prossima volta uso eselect".

Ora ho cambiato idea :D
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Jan 14, 2009 7:13 pm    Post subject: Reply with quote

Ho detto solo che c'è un problema generico a recuperare simlink sballati e configurazioni a metà, non che eselect non funziona... non estremizzare.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Wed Jan 14, 2009 11:54 pm    Post subject: Reply with quote

djinnZ wrote:
Ho detto solo che c'è un problema generico a recuperare simlink sballati e configurazioni a metà, non che eselect non funziona... non estremizzare.


non estremizzo nulla.. ho semplicemente fatto una battuta.. bevuto solforico a cena?
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