Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mascherare sorgenti suspend2-sources
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
sawyer
n00b
n00b


Joined: 22 Jun 2006
Posts: 28

PostPosted: Mon Jun 25, 2007 9:11 am    Post subject: Mascherare sorgenti suspend2-sources Reply with quote

Ciao a tutti..
allora il problema è il solito: non voglio aggiornare per ora i sorgenti del kernel suspend2-sources...

Allora ho messo in package.mask la riga:
Code:

>=sys-kernel/suspend2-sources-2.6.20-r6


Ma quando dò l'update dei pacchetti lui sì mi ha mascherato tutti i sorgenti che gli ho detto io, ma in compenso vuole scaricarmi:
Code:

[ebuild  N    ] sys-kernel/gentoo-sources-2.6.20-r8  USE="-build -symlink" 42,598 kB


che non mi servono assolutamente a niente.

Non riesco a trovare una soluzione al problema e vi sari grato se riusciste ad aiutarmi.
Grazie
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Mon Jun 25, 2007 9:53 am    Post subject: Reply with quote

il problema che tu hai mascherato i suspend2-sources, ma hai anche installati sulla macchina i gentoo-sources, e non li hai mascherati, di conseguenza te li vuole aggiornare, non mi sembra nulla di anormale.

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


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

PostPosted: Mon Jun 25, 2007 10:16 am    Post subject: Reply with quote

Il problema è che un source installato ci vuole, per forza di cose. Siccome l'ebuild dei suspend2 che hai mascherato è anche l'unico allora portage pensa che tu non hai installato nessun kernel e ti chiede di installare i gentoo-sources di default.

Hai due alternative
o emergi i nuovi sorgenti, tanto li scarica e li scompatta solamente, il kernel corrente non viene toccato
o scarichi l'ebuild di quelli che hai installato adesso da qui e te lo metti in un overlay
_________________
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
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Mon Jun 25, 2007 4:37 pm    Post subject: Reply with quote

Code:

emerge -C gentoo-sources suspend2-sources

Quando puoi vuoi aggiornare il kernel, li installi con un bel --oneshot e vivi felice!! :wink:
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


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

PostPosted: Mon Jun 25, 2007 5:36 pm    Post subject: Reply with quote

@crisandbea
@skypjack

i gentoo-sources, da quello che riporta, non sono installati. Altrimenti li segnerebbe come [N S], visto che ogni versione fa slot a se stante.
Il problema, ribadisco, è che ha mascherato l'unica versione disponibile in portage dei suspend2-sources. Quindi o se la piglia così com'è oppure si mette un ebuild in overlay a pace a tutto.

Byez

p.s. IMHO, ovviamente
_________________
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
sawyer
n00b
n00b


Joined: 22 Jun 2006
Posts: 28

PostPosted: Mon Jun 25, 2007 7:11 pm    Post subject: Reply with quote

Si Onip, hai centrato il problema: i gentoo-sources non sono installati...

Ma allora che senso ha poter mascherare (come è scritto sul manuale) i sorgenti del kernel superiore alla versione installata, se poi comunque portage reclama l'assenza dei sorgenti? (Oltretutto i suspend2-sources sono già installati, non vedo perchè per lui non esistano affatto quando cerco di evitare l'ugrade in questo modo)

:?
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Mon Jun 25, 2007 7:50 pm    Post subject: Reply with quote

Credo che la versione installate non esista più in portage, quindi....
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Mon Jun 25, 2007 8:27 pm    Post subject: Reply with quote

Mascherare un pacchetto serve solo a evitare che portage cerchi di aggiornarlo ma se la versione che hai installato è ormai fuori da portage per il sistema è come se non esistesse.

Per ovviare all'inconveniente ti suggerire di utilizzare il file package.provided che è adatto alla tua situazione.
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


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

PostPosted: Mon Jun 25, 2007 8:31 pm    Post subject: Reply with quote

bandreabis wrote:
Credo che la versione installate non esista più in portage, quindi....

quindi ho dato il link al viewcvs di gentoo dove si trovano tutti gli ebuild, anche quelli rimossi 8)
Anche package.provided è un'opzione valida, me l'ero dimenticata.

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
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Tue Jun 26, 2007 6:22 am    Post subject: Reply with quote

package.provided, concordo, dimenticavo... :wink:
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Tue Jun 26, 2007 5:26 pm    Post subject: Reply with quote

Onip wrote:
bandreabis wrote:
Credo che la versione installate non esista più in portage, quindi....

quindi ho dato il link al viewcvs di gentoo dove si trovano tutti gli ebuild, anche quelli rimossi 8)
Anche package.provided è un'opzione valida, me l'ero dimenticata.

Byez


Esatto! :P
_________________
Il numero di post non fa di me un esperto! Anzi!
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