Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ingannare portage
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
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Mar 11, 2005 5:40 pm    Post subject: ingannare portage Reply with quote

ciao a tutti.
avevo letto, da qualche parte, che era possibile ingannare portage, facendogli credere che un dato pacchetto è installato quando in realtà non lo è.
mi spiego. voglio rimuovere gentoo-dev-sources, ma essendo l'unico kernel chiaramente non posso, e al primo "emerge -uD world" mi viene segnalato che manca il kernel. io però voglio usare i sorgenti di kernel.org che mi prendo io con le mie manine.

avevo letto che bastava inserire "sys-kernel/vanilla-sources" in qualche /etc/portage/qualcosa, ma non riesco a ritrovare quell'articolo.
qualcuno mi sa rinfrescare la memoria?

ciao e grazie


Last edited by .:chrome:. on Fri Mar 11, 2005 5:53 pm; edited 2 times in total
Back to top
View user's profile Send private message
alemare
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2004
Posts: 137
Location: Firenze

PostPosted: Fri Mar 11, 2005 5:44 pm    Post subject: Reply with quote

ciao! basta editare il file /etc/portage/profile/package.provided
e inserisci linee tipo:
Code:
dev-java/blackdown-jre-1.4.2.01
dev-java/blackdown-jdk-1.4.2.01

Ciao Ale
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Mar 11, 2005 5:45 pm    Post subject: Reply with quote

alemare wrote:
ciao! basta editare il file /etc/portage/profile/package.provided
e inserisci linee tipo:
Code:
dev-java/blackdown-jre-1.4.2.01
dev-java/blackdown-jdk-1.4.2.01

Ciao Ale


eccolo lì cosa era... ti ringrazio tantissimo
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Fri Mar 11, 2005 5:46 pm    Post subject: Reply with quote

man portage
man emerge
www.gentoo.org
=D
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Mar 11, 2005 5:55 pm    Post subject: Reply with quote

eh no... non ci siamo...
Code:

Calculating world dependencies /
!!! All ebuilds that could satisfy "sys-kernel/gentoo-sources" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-sources-2.6.1-r2 (masked by: package.mask)
# <johnm@gentoo.org> (1/12/2004)
# Masking all 2.6 versions of kernel packages which were originally
# 2.4 only so that we can merge 2.6 with 2.4 without forcing a
# mass upgrade.

- sys-kernel/gentoo-sources-2.4.25-r17 (masked by: profile)
- sys-kernel/gentoo-sources-2.6.11 (masked by: package.mask, ~x86 keyword)
- sys-kernel/gentoo-sources-2.6.8-r3 (masked by: package.mask)
- sys-kernel/gentoo-sources-2.6.7-r19 (masked by: package.mask, missing keyword)
- sys-kernel/gentoo-sources-2.6.11-r2 (masked by: package.mask, ~x86 keyword)
- sys-kernel/gentoo-sources-2.6.11-r3 (masked by: package.mask, ~x86 keyword)
- sys-kernel/gentoo-sources-2.6.11-r1 (masked by: package.mask, ~x86 keyword)
- sys-kernel/gentoo-sources-2.4.28-r8 (masked by: profile)
- sys-kernel/gentoo-sources-2.6.10-r7 (masked by: package.mask, ~x86 keyword)
- sys-kernel/gentoo-sources-2.6.10-r6 (masked by: package.mask)
- sys-kernel/gentoo-sources-2.4.20-r33 (masked by: profile)
- sys-kernel/gentoo-sources-2.6.9-r14 (masked by: package.mask, missing keyword)
- sys-kernel/gentoo-sources-2.6.9-r9 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "media-sound/alsa-driver-1.0.8" [ebuild])


!!! Problem with ebuild media-sound/alsa-utils-1.0.8
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
Back to top
View user's profile Send private message
BikE
Guru
Guru


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Fri Mar 11, 2005 5:57 pm    Post subject: Reply with quote

Code:

echo "=sys-kernel/gentoo-sources-2.6.9-r14 ~x86" >> /etc/portage/package.keywords
echo "=sys-kernel/gentoo-sources-2.6.9-r14" >> /etc/portage/package.unmask
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Mar 11, 2005 5:59 pm    Post subject: Reply with quote

BikE wrote:
Code:

echo "=sys-kernel/gentoo-sources-2.6.9-r14 ~x86" >> /etc/portage/package.keywords
echo "=sys-kernel/gentoo-sources-2.6.9-r14" >> /etc/portage/package.unmask


perché il pacchetto ~x86?
non dovrebbe andargli bene anche quello standard che ho appena rimosso?
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Fri Mar 11, 2005 5:59 pm    Post subject: Reply with quote

ehm.. forse non ho capito nulla perchè la cosa mi sembra troppo semplice..

Emergendo direttamente i vanilla sources non risolvi tutte e 2 le cose? E' il kernel base, e in piu' non c'è bisogno di mascherare i dev-sources gentoo..
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Mar 11, 2005 6:03 pm    Post subject: Reply with quote

ProT-0-TypE wrote:
ehm.. forse non ho capito nulla perchè la cosa mi sembra troppo semplice..
Emergendo direttamente i vanilla sources non risolvi tutte e 2 le cose? E' il kernel base, e in piu' non c'è bisogno di mascherare i dev-sources gentoo..


eh sì... ci avevo pensato anche io...
Code:

Calculating dependencies
!!! All ebuilds that could satisfy "vanilla-sources" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/vanilla-sources-2.0.40 (masked by: profile)
- sys-kernel/vanilla-sources-2.6.11 (masked by: package.mask, ~x86 keyword)
# <johnm@gentoo.org> (1/12/2004)
# Masking all 2.6 versions of kernel packages which were originally
# 2.4 only so that we can merge 2.6 with 2.4 without forcing a
# mass upgrade.

- sys-kernel/vanilla-sources-2.6.10 (masked by: package.mask)
- sys-kernel/vanilla-sources-2.6.5 (masked by: package.mask, missing keyword)
- sys-kernel/vanilla-sources-2.4.29 (masked by: profile, ~x86 keyword)
- sys-kernel/vanilla-sources-2.6.11.2 (masked by: package.mask, ~x86 keyword)
- sys-kernel/vanilla-sources-2.4.27 (masked by: profile)
- sys-kernel/vanilla-sources-2.4.28 (masked by: profile)
- sys-kernel/vanilla-sources-2.4.24-r1 (masked by: profile)
- sys-kernel/vanilla-sources-2.6.7 (masked by: package.mask, missing keyword)
- sys-kernel/vanilla-sources-2.4.22 (masked by: profile)
- sys-kernel/vanilla-sources-2.4.23 (masked by: profile)
- sys-kernel/vanilla-sources-2.2.26 (masked by: profile)
- sys-kernel/vanilla-sources-2.4.21 (masked by: profile)
- sys-kernel/vanilla-sources-2.4.26 (masked by: profile)
- sys-kernel/vanilla-sources-2.4.20 (masked by: profile)
- sys-kernel/vanilla-sources-2.4.25 (masked by: profile)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
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: Fri Mar 11, 2005 6:10 pm    Post subject: Reply with quote

Code:
star_platinum root # emerge -pv development-sources

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

Calculating dependencies ...done!
[ebuild  N    ] sys-kernel/development-sources-2.6.10-r1  -build -doc -symlink 0 kB


questi sono i vanilla sources per il 2.6.x
_________________
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
BikE
Guru
Guru


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Fri Mar 11, 2005 6:25 pm    Post subject: Reply with quote

k.gothmog wrote:
BikE wrote:
Code:

echo "=sys-kernel/gentoo-sources-2.6.9-r14 ~x86" >> /etc/portage/package.keywords
echo "=sys-kernel/gentoo-sources-2.6.9-r14" >> /etc/portage/package.unmask


perché il pacchetto ~x86?
non dovrebbe andargli bene anche quello standard che ho appena rimosso?

Dev'essere che ero ubriaco quando ho postato.... sorry :lol: :lol:
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Mar 11, 2005 6:52 pm    Post subject: Reply with quote

Cazzantonio wrote:
Code:
star_platinum root # emerge -pv development-sources

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

Calculating dependencies ...done!
[ebuild  N    ] sys-kernel/development-sources-2.6.10-r1  -build -doc -symlink 0 kB


questi sono i vanilla sources per il 2.6.x


ok. questo ha risolto una parte del problema, ma resta quello originale, che no capisco a cosa sia dovuto...
ho compilato a mano il kernel 2.6.11.1, e ora, devo ricompilare perl, in seguito ad un aggiornamento, però mi viene dato in output questo:
Code:
Errno architecture (i686-linux-thread-multi-2.6.10-gentoo-r6) does not match executable architecture (i686-linux-thread-multi-2.6.11.1) at /usr/lib/perl5/5.8.5/i686-linux-thread-multi/Errno.pm line 11.
Compilation failed in require at lib/File/Path.pm line 166.
BEGIN failed--compilation aborted at lib/File/Path.pm line 166.
Compilation failed in require at lib/AutoSplit.pm line 8.
BEGIN failed--compilation aborted at lib/AutoSplit.pm line 8.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
make: *** [preplibrary] Error 9


per la cronaca, ho i flag nptl, ithreads e pthreads attivi
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Fri Mar 11, 2005 9:05 pm    Post subject: Reply with quote

Con che header hai ricompilato le glibc ? prova a ricompilarle con gli header del kernel che hai attualemte installati.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
BikE
Guru
Guru


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Sat Mar 12, 2005 12:17 am    Post subject: Reply with quote

k.gothmog wrote:

ok. questo ha risolto una parte del problema, ma resta quello originale, che no capisco a cosa sia dovuto...
ho compilato a mano il kernel 2.6.11.1, e ora, devo ricompilare perl, in seguito ad un aggiornamento, però mi viene dato in output questo:
Code:
Errno architecture (i686-linux-thread-multi-2.6.10-gentoo-r6) does not match executable architecture (i686-linux-thread-multi-2.6.11.1) at /usr/lib/perl5/5.8.5/i686-linux-thread-multi/Errno.pm line 11.
Compilation failed in require at lib/File/Path.pm line 166.
BEGIN failed--compilation aborted at lib/File/Path.pm line 166.
Compilation failed in require at lib/AutoSplit.pm line 8.
BEGIN failed--compilation aborted at lib/AutoSplit.pm line 8.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
make: *** [preplibrary] Error 9


per la cronaca, ho i flag nptl, ithreads e pthreads attivi


https://bugs.gentoo.org/show_bug.cgi?id=84868
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Mar 12, 2005 12:31 pm    Post subject: Reply with quote

BikE wrote:
https://bugs.gentoo.org/show_bug.cgi?id=84868

sono riuscito a risolvere con un emerge -e
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 Mar 12, 2005 12:49 pm    Post subject: Reply with quote

cappero! ti sei ricompilato tutto il mondo? 8O
_________________
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
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Mar 12, 2005 12:57 pm    Post subject: Reply with quote

Cazzantonio wrote:
cappero! ti sei ricompilato tutto il mondo? 8O


no, scusa... lo davo per scontato, ma quello che ho fatto è un
Code:
emerge -e perl
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