This is a discussion on Stop emerging gentoo-sources? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Something on my system insists on adding gentoo-sources-2.4.28-r5 whenever I do "emerge -uD world". I don't use the Gentoo ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Something on my system insists on adding gentoo-sources-2.4.28-r5 whenever I do "emerge -uD world". I don't use the Gentoo kernel (and I'm using a 2.6 kernel anyway) so I don't need this package. However, if I unmerge it, it just shows up again next time. How can I determine which of my many packages has this as a dependency? |
| |||
| In alt.os.linux.gentoo, micromoog uttered the immortal words: > Something on my system insists on adding gentoo-sources-2.4.28-r5 > whenever I do "emerge -uD world". I don't use the Gentoo kernel (and > I'm using a 2.6 kernel anyway) so I don't need this package. However, > if I unmerge it, it just shows up again next time. > > How can I determine which of my many packages has this as a dependency? Nothing usually depends on a kernel package directly. It looks like Portage thinks an older gentoo-sources package is installed. What is the output of "equery list gentoo-sources"? You need gentoolkit installed to use equery. -- Andy. |
| |||
| Andy Fraser wrote: > In alt.os.linux.gentoo, micromoog uttered the immortal words: > > > Something on my system insists on adding gentoo-sources-2.4.28-r5 > > whenever I do "emerge -uD world". I don't use the Gentoo kernel (and > > I'm using a 2.6 kernel anyway) so I don't need this package. However, > > if I unmerge it, it just shows up again next time. > > > > How can I determine which of my many packages has this as a dependency? > > Nothing usually depends on a kernel package directly. It looks like Portage > thinks an older gentoo-sources package is installed. > > What is the output of "equery list gentoo-sources"? You need gentoolkit > installed to use equery. > > -- > Andy. Nothing from the equery: [~]# equery list gentoo-sources Searching for package 'gentoo-sources' in all categories among: * installed packages [~]# and when I do "emerge -uDp world", the line for this package shows it as new: [~]# emerge -uDp world |grep sources [ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5 [~]# |
| |||
| In alt.os.linux.gentoo, micromoog uttered the immortal words: >> What is the output of "equery list gentoo-sources"? You need > gentoolkit >> installed to use equery. > Nothing from the equery: > > [~]# equery list gentoo-sources > Searching for package 'gentoo-sources' in all categories among: > * installed packages > [~]# Then try "equery depends gentoo-sources" and see if anything crawls out. -- Andy. |
| |||
| micromoog wrote: > Andy Fraser wrote: > > In alt.os.linux.gentoo, micromoog uttered the immortal words: > > > > > Something on my system insists on adding gentoo-sources-2.4.28-r5 > > > whenever I do "emerge -uD world". I don't use the Gentoo kernel > (and > > > I'm using a 2.6 kernel anyway) so I don't need this package. > However, > > > if I unmerge it, it just shows up again next time. > > > > > > How can I determine which of my many packages has this as a > dependency? > > > > Nothing usually depends on a kernel package directly. It looks like > Portage > > thinks an older gentoo-sources package is installed. > > > > What is the output of "equery list gentoo-sources"? You need > gentoolkit > > installed to use equery. > > > > -- > > Andy. > > > Nothing from the equery: > > [~]# equery list gentoo-sources > Searching for package 'gentoo-sources' in all categories among: > * installed packages > [~]# > > > and when I do "emerge -uDp world", the line for this package shows it > as new: > > [~]# emerge -uDp world |grep sources > [ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5 > [~]# OK, I figured out from context that it's "alsa-driver" that wants "gentoo-sources": [~]# emerge -p alsa-driver These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5 [ebuild U ] media-sound/alsa-headers-1.0.8_rc1 [1.0.5a] [ebuild NS ] media-sound/alsa-driver-1.0.8_rc1 .. . . and looking into media-sound/alsa-driver-1.0.8_rc1.ebuild reveals: DEPEND="${RDEPEND} sys-devel/patch virtual/linux-sources >=sys-devel/autoconf-2.50 sys-apps/debianutils" So, why? and is there anything I can do about it? |
| |||
| Andy Fraser wrote: > In alt.os.linux.gentoo, micromoog uttered the immortal words: > > >> What is the output of "equery list gentoo-sources"? You need > > gentoolkit > >> installed to use equery. > > > Nothing from the equery: > > > > [~]# equery list gentoo-sources > > Searching for package 'gentoo-sources' in all categories among: > > * installed packages > > [~]# > > Then try "equery depends gentoo-sources" and see if anything crawls out. > > -- > Andy. Strangely, nothing did crawl out, even though it looks like "alsa-driver" depends on it (see my other most recent post). |
| |||
| micromoog wrote: > micromoog wrote: > > Andy Fraser wrote: > > > In alt.os.linux.gentoo, micromoog uttered the immortal words: > > > > > > > Something on my system insists on adding gentoo-sources-2.4.28-r5 > > > > whenever I do "emerge -uD world". I don't use the Gentoo kernel > > (and > > > > I'm using a 2.6 kernel anyway) so I don't need this package. > > However, > > > > if I unmerge it, it just shows up again next time. > > > > > > > > How can I determine which of my many packages has this as a > > dependency? > > > > > > Nothing usually depends on a kernel package directly. It looks like > > Portage > > > thinks an older gentoo-sources package is installed. > > > > > > What is the output of "equery list gentoo-sources"? You need > > gentoolkit > > > installed to use equery. > > > > > > -- > > > Andy. > > > > > > Nothing from the equery: > > > > [~]# equery list gentoo-sources > > Searching for package 'gentoo-sources' in all categories among: > > * installed packages > > [~]# > > > > > > and when I do "emerge -uDp world", the line for this package shows it > > as new: > > > > [~]# emerge -uDp world |grep sources > > [ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5 > > [~]# > > > > OK, I figured out from context that it's "alsa-driver" that wants > "gentoo-sources": > > > [~]# emerge -p alsa-driver > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5 > [ebuild U ] media-sound/alsa-headers-1.0.8_rc1 [1.0.5a] > [ebuild NS ] media-sound/alsa-driver-1.0.8_rc1 > > > . . . and looking into media-sound/alsa-driver-1.0.8_rc1.ebuild > reveals: > > DEPEND="${RDEPEND} > sys-devel/patch > virtual/linux-sources > >=sys-devel/autoconf-2.50 > sys-apps/debianutils" > > > > So, why? and is there anything I can do about it? And, as sometimes happens, once someone got me pointed in the right direction, I found my answer here: http://www.gentoo.org/doc/en/migration-to-2.6.xml "Some Linux 2.4 users will have previously installed the alsa-driver package to benefit from the new audio capabilities included in Linux 2.6. If you were one of these users, and you followed the advice given earlier in this document about building ALSA with the 2.6 kernel sources (as opposed to using the alsa-driver package), then you can safely remove this to prevent future conflicts." So, I don't need the alsa-driver package at all, and will remove it posthaste. Thanks, Andy. |
| |||
| In alt.os.linux.gentoo, micromoog uttered the immortal words: [snip] > "Some Linux 2.4 users will have previously installed the alsa-driver > package to benefit from the new audio capabilities included in Linux > 2.6. If you were one of these users, and you followed the advice given > earlier in this document about building ALSA with the 2.6 kernel > sources (as opposed to using the alsa-driver package), then you can > safely remove this to prevent future conflicts." > > > So, I don't need the alsa-driver package at all, and will remove it > posthaste. My next thought was alsa-driver. :-) > Thanks, Andy. I don't think I did anything there. -- Andy. |
| |||
| OK, now that I've poked around some, my question gets harder: I need various ALSA-related things for a lot of software I use. For example, jack-audio-connection-kit. However, emerging just that package leads me back to the beginning: jack-audio-connection-kit depends on alsa-lib which depends on alsa-driver which depends on gentoo-sources. So, my new, harder question: assuming jack-audio-connection-kit is a hard requirement for me, is it possible for me to manage my own kernel entirely and not have a kernel in my installed Portage tree, or do I have to have some kernel or another in there just to make Portage happy? I've tried "emerge -i sys-kernel/development-sources-2.6.10-r1" to inject a stub (which works), but then attempting to emerge jack still insists on getting the 2.4 tree (via the dependency chain above). |
| ||||
| micromoog wrote: > OK, now that I've poked around some, my question gets harder: I need > various ALSA-related things for a lot of software I use. For example, > jack-audio-connection-kit. However, emerging just that package leads > me back to the beginning: > > jack-audio-connection-kit depends on alsa-lib > which depends on alsa-driver > which depends on gentoo-sources. > > So, my new, harder question: assuming jack-audio-connection-kit is a > hard requirement for me, is it possible for me to manage my own kernel > entirely and not have a kernel in my installed Portage tree, or do I > have to have some kernel or another in there just to make Portage > happy? > > I've tried "emerge -i sys-kernel/development-sources-2.6.10-r1" to > inject a stub (which works), but then attempting to emerge jack still > insists on getting the 2.4 tree (via the dependency chain above). OK, more talking to myself: I was able to "solve" the problem with emerge -i sys-kernel/gentoo-sources-2.4.28-r5 Now I can emerge jack, alsa, etc. to my heart's content without having the vanilla 2.4 sources added. This seems like a nasty hack, though, and I wonder if it'll hold up forever or if I'll have to inject a newer gentoo-sources at some point in the future. |