View previous topic :: View next topic |
Author |
Message |
patrick666 n00b
Joined: 22 Oct 2006 Posts: 29
|
Posted: Wed Jan 14, 2009 12:25 pm Post subject: Aggiornamento Profilo non riuscito |
|
|
Volendo aggiornare il mio sistema ho eseguito un :
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 |
|
|
devilheart l33t
Joined: 17 Mar 2005 Posts: 848 Location: Villach, Austria
|
Posted: Wed Jan 14, 2009 12:47 pm Post subject: |
|
|
cosa ti dice Code: | ls -ld /etc/make.profile | ? |
|
Back to top |
|
|
patrick666 n00b
Joined: 22 Oct 2006 Posts: 29
|
Posted: Wed Jan 14, 2009 12:52 pm Post subject: |
|
|
Code: |
etc # ls -ld /etc/make.profile/
drwxr-xr-x 5 root root 4096 14 gen 10:06 /etc/make.profile/
|
|
|
Back to top |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Wed Jan 14, 2009 1:46 pm Post subject: |
|
|
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 |
|
|
patrick666 n00b
Joined: 22 Oct 2006 Posts: 29
|
Posted: Wed Jan 14, 2009 2:44 pm Post subject: |
|
|
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 |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Wed Jan 14, 2009 3:04 pm Post subject: |
|
|
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 |
|
|
patrick666 n00b
Joined: 22 Oct 2006 Posts: 29
|
Posted: Wed Jan 14, 2009 4:05 pm Post subject: |
|
|
funziona correttamente |
|
Back to top |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Wed Jan 14, 2009 4:54 pm Post subject: |
|
|
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 |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Wed Jan 14, 2009 4:56 pm Post subject: |
|
|
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.mi pare un tantino strano. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
Elbryan Guru
Joined: 13 Nov 2006 Posts: 523 Location: Rovereto (TN)
|
Posted: Wed Jan 14, 2009 6:57 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Wed Jan 14, 2009 7:13 pm Post subject: |
|
|
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
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
Elbryan Guru
Joined: 13 Nov 2006 Posts: 523 Location: Rovereto (TN)
|
Posted: Wed Jan 14, 2009 11:54 pm Post subject: |
|
|
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 |
|
|
|