Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Presentazione e aggiornamento a Gnome 2.14 [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ilconte
n00b
n00b


Joined: 09 Jun 2006
Posts: 41
Location: Vicenza

PostPosted: Fri Jun 09, 2006 9:51 pm    Post subject: Presentazione e aggiornamento a Gnome 2.14 [RISOLTO] Reply with quote

Buonasera a tutti! Sono un nuovo utente del forum. Descrivo brevemente, per presentazione, la mia storia passata con Linux. 4-5 anni fa utilizzavo RedHat, poi sono passato a Suse ed infine a Ubuntu e Debian... Qualche giorno fa, curioso di provare nuove emozioni, ho tentato l'installazione di Gentoo ed ora... eccomi qui: il mio PowerMac G4 ha trovato "una nuova amica"... Gentoo è davvero il massimo per quanto concerne la personalizzazione e poi, con un po' di esperienza, non è neppure difficile da installare...
Vorrei porre a voi, utenti esperti, qualche domanda:
_ Quando, con emerge, aggiornerò il sistema, la procedura sarà più rapida rispetto al procedimento di compilazione ed installazione dei pacchetti? (ho impiegato diverse ore con Gnome...)
_ Se al file /etc/portage/package.keywords aggiungo la riga "gnome ~ppc", otterrò la versione 2.14 di Gnome?
_ Con Portage come posso fare per visualizzare solo le dipendenze del pacchetto che scelgo senza installare nulla?
_ Gnome è in inglese, come faccio per aggiungere la lingua italiana?

Ringrazio cortesemente tutti voi per l'aiuto e la pazienza... Saluti!
_________________
Alessandro


Last edited by ilconte on Sat Jun 10, 2006 4:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Fri Jun 09, 2006 10:20 pm    Post subject: Reply with quote

caro conte,
ti consiglio di leggerti tutta la doc che trovi sul sito di gentoo, perche' risponde a quasi tutte le tue domande.
Pero' sei nuovo, quindi ti ripondo anche io :)

1) quando aggiorni compili tutto quello che aggiorni, quindi quando arriva gnome nuovo ricompili gnome nuovo e, di solito, parte delle relative dipendenze, che saranno anche quelle state aggiornate.

2) leggiti man portage,
man portage wrote:
package.keywords
Per-package KEYWORDS. Useful for mixing unstable packages in with a normally stable machine or vice versa. This will
allow you to augment ACCEPT_KEYWORDS for a single package.

Note: There are two special KEYWORDS to help out here:
* Match any stable KEYWORD
~* Match any unstable KEYWORD

Format:
- comments begin with #
- one DEPEND atom per line followed by additional KEYWORDS
- lines without any KEYWORDS imply unstable host arch

Example:
# always use unstable libgd
media-libs/libgd ~x86
# only use stable mplayer
media-video/mplayer -~x86
# always use unstable netcat
net-analyzer/netcat

Additional Note: If you encounter the -* KEYWORD, this indicates that the package is known to be broken on all systems
which are not otherwise listed in KEYWORDS. For example, a binary only package which is built for x86 will look like:

games-fps/quake3-demo-1.11.ebuild:KEYWORDS="-* x86"

If you wish to accept this package anyways, then add -* to your package.keywords like this:

games-fps/quake3-demo -*

3) leggiti man emerge
man emerge wrote:
--pretend (-p)
Instead of actually performing the merge, simply display what *would* have been installed if --pretend weren't used. Using
--pretend is strongly recommended before installing an unfamiliar package. In the printout,

N = new, (not yet installed)
S = new, SLOT installation (side-by-side versions)
U = updating, (changing versions)
D = downgrade, (Best version seems lower)
R = replacing, (Remerging same version))
F = fetch restricted, (Manual download)
f = fetch restricted, (Already downloaded)
B = blocked by an already installed package


4) http://www.gentoo.org/doc/en/guide-localization.xml
http://www.gentoo.org/doc/en/gnome-config.xml

Letture consigliate:
http://www.gentoo.org/doc/en/index.xml
http://www.gentoo.org/doc/en/index.xml?catid=gentoo
https://forums.gentoo.org/viewtopic-t-833
http://www.gentoo.org/doc/it/faq.xml75.html

Per le persone che iniziano come te e' tutto spiegato e rispiegato, ci vuole solo un po' di tempo per leggere tutto e orientarsi (dove sta scritto cosa)

:) benvenuto! (anche io ho (anche) gentoo ppc )
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4796
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Jun 09, 2006 10:23 pm    Post subject: Re: Presentazione Reply with quote

ilconte wrote:

_ Quando, con emerge, aggiornerò il sistema, la procedura sarà più rapida rispetto al procedimento di compilazione ed installazione dei pacchetti? (ho impiegato diverse ore con Gnome...)
No. Se ti capitasse di dover aggiornare Gnome tutto d'un fiato, il tempo sarebbe lo stesso.
Spesso, tuttavia, capita che gli aggiornamenti vengano effettuati un po' per volta.

ilconte wrote:

_ Se al file /etc/portage/package.keywords aggiungo la riga "gnome ~ppc", otterrò la versione 2.14 di Gnome?

Dipende. Ogni pacchetto è marcato opportunamente con chiavi associata al grado di affidabilità. Le chiavi sono contenute dentro lo specifico ebuild.
Per esempio:
Code:

s939 ~ # grep KEYWORDS -rH /usr/portage/gnome-base/gnome/gnome-2.14.1.ebuild
/usr/portage/gnome-base/gnome/g.1.ebuild:KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"

In questo caso, direi di sì: gnome-2.14.1 è marcato ~ppc.
ilconte wrote:

_ Con Portage come posso fare per visualizzare solo le dipendenze del pacchetto che scelgo senza installare nulla?

man emerge (e leggi le opzione -p e -v).
ilconte wrote:

_ Gnome è in inglese, come faccio per aggiungere la lingua italiana?

Vedi qui
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Fri Jun 09, 2006 10:23 pm    Post subject: Re: Presentazione Reply with quote

ilconte wrote:
Buonasera a tutti! Sono un nuovo utente del forum. Descrivo brevemente, per presentazione, la mia storia passata con Linux. 4-5 anni fa utilizzavo RedHat, poi sono passato a Suse ed infine a Ubuntu e Debian... Qualche giorno fa, curioso di provare nuove emozioni, ho tentato l'installazione di Gentoo ed ora... eccomi qui: il mio PowerMac G4 ha trovato "una nuova amica"... Gentoo è davvero il massimo per quanto concerne la personalizzazione e poi, con un po' di esperienza, non è neppure difficile da installare...
Vorrei porre a voi, utenti esperti, qualche domanda:
_ Quando, con emerge, aggiornerò il sistema, la procedura sarà più rapida rispetto al procedimento di compilazione ed installazione dei pacchetti? (ho impiegato diverse ore con Gnome...)
_ Se al file /etc/portage/package.keywords aggiungo la riga "gnome ~ppc", otterrò la versione 2.14 di Gnome?
_ Con Portage come posso fare per visualizzare solo le dipendenze del pacchetto che scelgo senza installare nulla?
_ Gnome è in inglese, come faccio per aggiungere la lingua italiana?

Ringrazio cortesemente tutti voi per l'aiuto e la pazienza... Saluti!

1) No...
2) no.. sono tanti i pacchetti da smascherare... prova a leggerti questo : http://gentoo-wiki.com/HOWTO_Update_to_GNOME_unstable
3) emerge -pv pacchetto
4) Aggiungi al make.conf la linea:
LINGUAS="it"


ciao ;-)
_________________
C.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4796
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Jun 09, 2006 10:24 pm    Post subject: Reply with quote

Argento.
Andrò alle olimpiadi?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Fri Jun 09, 2006 10:44 pm    Post subject: Reply with quote

cloc3 wrote:
Argento.
Andrò alle olimpiadi?

Sempre meglio che ai mondiali ;)
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Sat Jun 10, 2006 1:11 am    Post subject: Reply with quote

Si sono dimenticati di dirti di leggere anche le linee guida a proposito del fatto che non si dovrebbe postare thread con più di una domanda e che si dovrebbe usare la ricerca sul forum :wink:
per il resto benvenuto :)
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
ilconte
n00b
n00b


Joined: 09 Jun 2006
Posts: 41
Location: Vicenza

PostPosted: Sat Jun 10, 2006 8:13 am    Post subject: Reply with quote

Buongiorno! Vi ringrazio davvero per l'aiuto... Adesso mi metterò a leggere quello che mi avete consigliato! Mi scuso se ho esposto così tante domande senza compiere una ricerca approfondita ma l'entusiasmo scatenato dall'uso di Gentoo è tantissimo... Grazie ancora!
_________________
Alessandro
Back to top
View user's profile Send private message
ilconte
n00b
n00b


Joined: 09 Jun 2006
Posts: 41
Location: Vicenza

PostPosted: Sat Jun 10, 2006 9:13 am    Post subject: Reply with quote

Non riesco a capire come installare Gnome 2.14... Ho aggiunto a /etc/portage/package.keywords la seguente linea:

gnome-base/gnome ~ppc

... ma quando digito: "emerge -p gnome":

!!! All ebuilds that could satisfy ">=gnome-base/gnome-menus-2.14.0" have been masked.


Come posso fare per ottenere il nuovo Gnome???

P.S. Ho letto la documentazione su sito ma non ho capito che cosa, in sostanza, devo fare...
_________________
Alessandro
Back to top
View user's profile Send private message
Gaap
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 276

PostPosted: Sat Jun 10, 2006 9:23 am    Post subject: Reply with quote

ilconte wrote:
Non riesco a capire come installare Gnome 2.14... Ho aggiunto a /etc/portage/package.keywords la seguente linea:

gnome-base/gnome ~ppc

... ma quando digito: "emerge -p gnome":

!!! All ebuilds that could satisfy ">=gnome-base/gnome-menus-2.14.0" have been masked.


Come posso fare per ottenere il nuovo Gnome???

P.S. Ho letto la documentazione su sito ma non ho capito che cosa, in sostanza, devo fare...


aggiungi a package.keywords le varie dipendenze:
es. gnome-base/gnome-menus ~ppc
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


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

PostPosted: Sat Jun 10, 2006 9:34 am    Post subject: Reply with quote

devi mettere una linea per ogni pacchetto mascherato in /etc/portage/package.keywords.

se ti può essere utile:

è uno script che ho trovato sul forum, ma non ricordo l'autore. comunque ringrazio l'autore :lol:
il nome dello script dovrebbe essere maskmerg, utilizzo ./maskmerg =gnome-2.14xyz
Code:
#!/bin/bash

source /sbin/functions.sh
function run(){
OUTPUT=`emerge -p $@ --nocolor | grep "masked by: " | head -n 1 | sed -e "s/\-\ //"`
RESULT=`echo $OUTPUT | sed -e "s/\ \d40masked\ by.*$//"`
einfo $RESULT

KEYWORD=`echo $OUTPUT | grep "~"`
HARD=`echo $OUTPUT | grep "package.mask"`
if [ -z $RESULT ]; then
   emerge ${@} --ask; exit
else
   eindent
   if [[ ! -z $KEYWORD ]]; then
   einfo "Adding $RESULT to package.keywords"
   echo =$RESULT >> /etc/portage/package.keywords
   fi
   if [[ ! -z $HARD ]]; then
   einfo "Adding $RESULT to package.unmask"
   echo =$RESULT >> /etc/portage/package.unmask
   fi
   eoutdent
   run ${@}
fi
}
[[ $EUID != 0 ]] && ewarn "You are not root!" && exit 1

[ -z "$1" ] && eerror "Please specify a package name"&& exit 1

[ -d /etc/portage ] || mkdir /etc/portage
einfo "Starting to merge $1"
eindent
run $1
eoutdent


Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4796
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sat Jun 10, 2006 9:48 am    Post subject: Reply with quote

Ic3M4n wrote:

è uno script che ho trovato sul forum, ma non ricordo l'autore. comunque ringrazio l'autore :lol:
il nome dello script dovrebbe essere maskmerg, utilizzo ./maskmerg =gnome-2.14xyz

Neanche io conoscevo quello script, ma ne segnalerei uno fatto in casa, che è presente nella nostra documentazione.
_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Sat Jun 10, 2006 9:53 am; edited 1 time in total
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


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

PostPosted: Sat Jun 10, 2006 9:52 am    Post subject: Reply with quote

si, lo conoscevo pure io. solo che non riuscivo a scaricarlo da nessuna parte.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4796
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sat Jun 10, 2006 9:54 am    Post subject: Reply with quote

Ic3M4n wrote:
si, lo conoscevo pure io. solo che non riuscivo a scaricarlo da nessuna parte.

Infatti, ho appena modificato il link, segnalando il nuovo testo superottimizzato di codadilupo.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
ilconte
n00b
n00b


Joined: 09 Jun 2006
Posts: 41
Location: Vicenza

PostPosted: Sat Jun 10, 2006 10:17 am    Post subject: Reply with quote

Vi ringrazio davvero! Dove posso scaricare lo script? Grazie ancora
_________________
Alessandro
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


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

PostPosted: Sat Jun 10, 2006 10:24 am    Post subject: Reply with quote

uno è li sopra, l'altro segui il link che ti ha copiato cloc3
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4796
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sat Jun 10, 2006 10:38 am    Post subject: Reply with quote

ilconte wrote:
Vi ringrazio davvero! Dove posso scaricare lo script? Grazie ancora

Apri un editor di testo, per esempio nano.
Seleziona con il mouse lo script che preferisci. Clicca con il tasto centrale dentro nano.
Salva con nome.
Da root, sposta il file dentro /usr/locale/sbin e modifica i permessi:
Code:

#chmod u+x /usr/local/sbin/nuovoscript.sh

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
ilconte
n00b
n00b


Joined: 09 Jun 2006
Posts: 41
Location: Vicenza

PostPosted: Sat Jun 10, 2006 10:50 am    Post subject: Reply with quote

Ho selezionato lo script, salvato in Gedit, spostato in /usrlocal/sbin..., cambiato i permessi ma... mi dice "Permission Denied" quando tento di avviarlo...
_________________
Alessandro
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


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

PostPosted: Sat Jun 10, 2006 11:03 am    Post subject: Reply with quote

come sono i permessi del file?
Back to top
View user's profile Send private message
ilconte
n00b
n00b


Joined: 09 Jun 2006
Posts: 41
Location: Vicenza

PostPosted: Sat Jun 10, 2006 11:18 am    Post subject: Reply with quote

Ecco il file:
-rw-r--r-- 1 1000 100 862 10 giu 13:14 ale.sh
_________________
Alessandro
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


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

PostPosted: Sat Jun 10, 2006 11:31 am    Post subject: Reply with quote

devi dargli come permessi 755. chmod 755 file
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Sat Jun 10, 2006 11:48 am    Post subject: Reply with quote

ilconte wrote:
Ecco il file:
-rw-r--r-- 1 1000 100 862 10 giu 13:14 ale.sh


non vedo nessuna X (execute) tra i permessi.. :wink:
fai come ha detto Ic3M4n...e... Benvenuto in GEntoO
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
ilconte
n00b
n00b


Joined: 09 Jun 2006
Posts: 41
Location: Vicenza

PostPosted: Sat Jun 10, 2006 11:52 am    Post subject: Reply with quote

Sono riuscito ad avviare lo script ma mi dà il seguente errore...:

localhost sbin # ./ale.sh =gnome-2.14xyz
* Starting to merge =gnome-2.14xyz
*

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

Calculating dependencies
emerge: there are no ebuilds to satisfy "=gnome-2.14xyz".

Come posso fare?

P.S. Vi ringrazio enormemente per la vostra pazienza nei miei confronti...
_________________
Alessandro
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Sat Jun 10, 2006 11:58 am    Post subject: Reply with quote

ilconte wrote:

localhost sbin # ./ale.sh =gnome-2.14xyz


forse non hai inteso gnome-2.14xyz.. al posto di xyz ci devi mettere la versione che intendi emergiare..
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Sat Jun 10, 2006 12:01 pm    Post subject: Reply with quote

prova a dargli la versione giusta.
Code:
# ./ale.sh =gnome-2.14.1


l' xyz che ti hanno postato era solo d'esempio...

Byez
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
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 1, 2  Next
Page 1 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