Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143665 - emerge --update --deep --newuse world wants livecd-kernel
Summary: emerge --update --deep --newuse world wants livecd-kernel
Status: RESOLVED DUPLICATE of bug 48195
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-12 06:05 UTC by Ed B
Modified: 2006-08-18 04:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of command requested (debug,180.38 KB, text/plain)
2006-08-12 12:55 UTC, Ed B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed B 2006-08-12 06:05:02 UTC
I get the problem when running:
emerge --update --deep --newuse world

Error:
blackbox ed #  emerge -uD world;
Calculating world dependencies \
emerge: there are no ebuilds to satisfy "sys-kernel/livecd-kernel".
(dependency required by "media-libs/alsa-lib-1.0.11" [ebuild])



!!! Problem resolving dependencies for dev-java/ant
!!! Depgraph creation failed.


I'm getting around this at the moment by doing:
emerge -C dev-java/ant ;  emerge --update --deep --newuse world ; emerge  dev-java/ant
I've tried solving this problem by running this:
emerge --sync;  emerge -uD world;
Also done emerge portage as well and done the above two lines.

I think (well, 99.9% sure) that this is running on stable.

blackbox ed # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dlloader doc dri eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww mad memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tetex tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vorbis x86 xml xml2 xmms xorg xsl xv zlib zlibi input_devices_keyboard input_devices_mouse input_devices_evdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ed B 2006-08-12 06:27:40 UTC
blackbox ed # emerge -pv virtual/linux-sources

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-kernel/gentoo-sources-2.6.17-r4  USE="-build -symlink" 40,472 kB

Total size of downloads: 40,472 kB
Comment 2 Zac Medico gentoo-dev 2006-08-12 12:44:10 UTC
Please attach emerge --pretend --debug output for the command that tries to pull in livecd-kernel.
Comment 3 Ed B 2006-08-12 12:55:53 UTC
Created attachment 94089 [details]
Output of command requested

Output from emerge --pretend --debug --update --deep --newuse world
Comment 4 Zac Medico gentoo-dev 2006-08-12 13:18:24 UTC
Apparently it's being pulled in to fill the virtual/alsa dependency:

Parent:    ebuild / media-libs/alsa-lib-1.0.11 merge
Depstring: virtual/alsa >=media-sound/alsa-headers-1.0.11 doc? ( >=app-doc/doxygen-1.2.6 ) sys-devel/automake sys-devel/autoconf sys-devel/libtool virtual/alsa >=media-sound/alsa-headers-1.0.11
Candidates: ['sys-devel/libtool', '>=media-sound/alsa-headers-1.0.11', 'sys-kernel/livecd-kernel', '>=app-doc/doxygen-1.2.6']

Do you have anything else to satisfy virtual/alsa?  You can probably tweak /etc/portage/profile/virtuals and/or /etc/portage/profile/package.provided to work around this.
Comment 5 Ed B 2006-08-12 13:54:51 UTC
It said....
Candidates: ['sys-devel/libtool', '>=media-sound/alsa-headers-1.0.11',
'sys-kernel/livecd-kernel', '>=app-doc/doxygen-1.2.6']

I'm not sure whether I follow what you suggested. I tried emerging the other three suggestions, and it still gives the same error:
ebuild: media-libs/alsa-lib-1.0.11
binpkg: None                                                                                                                                                                                                  -
Parent:    ebuild / media-libs/alsa-lib-1.0.11 merge
Depstring: virtual/alsa >=media-sound/alsa-headers-1.0.11 doc? ( >=app-doc/doxygen-1.2.6 ) sys-devel/automake sys-devel/autoconf sys-devel/libtool virtual/alsa >=media-sound/alsa-headers-1.0.11
Candidates: ['sys-devel/libtool', '>=media-sound/alsa-headers-1.0.11', 'sys-kernel/livecd-kernel', '>=app-doc/doxygen-1.2.6']
ebuild: sys-devel/libtool-1.5.22
binpkg: None
ebuild: media-sound/alsa-headers-1.0.11
binpkg: None                                                                                                                                                                                                  /
Parent:    ebuild / media-sound/alsa-headers-1.0.11 nomerge
Depstring:

emerge: there are no ebuilds to satisfy "sys-kernel/livecd-kernel".
(dependency required by "media-libs/alsa-lib-1.0.11" [ebuild])



!!! Problem resolving dependencies for dev-java/ant
!!! Depgraph creation failed.

==============================================================================
Zac Medico said:
> Do you have anything else to satisfy virtual/alsa?  You can probably tweak
/etc/portage/profile/virtuals and/or /etc/portage/profile/package.provided to
work around this.

Can you give me any pointers please on how to go about this? Forgive my ignorance, but I'd guess that anything in the livecd build should be available as part of the kernel source that I should have?
Comment 6 Zac Medico gentoo-dev 2006-08-13 00:32:33 UTC
You need one of these packages to satisfy the virtual/alsa dependency:

media-sound/alsa-driver
sys-kernel/ck-sources
sys-kernel/gentoo-sources
sys-kernel/git-sources
sys-kernel/hardened-sources
sys-kernel/hppa-sources
sys-kernel/mips-sources
sys-kernel/mm-sources
sys-kernel/openblocks-sources
sys-kernel/openvz-sources
sys-kernel/rsbac-sources
sys-kernel/sh-sources
sys-kernel/suspend2-sources
sys-kernel/systrace-sources
sys-kernel/usermode-sources
sys-kernel/vanilla-sources
sys-kernel/vserver-sources
sys-kernel/xbox-sources
sys-kernel/xen-sources

You can give a portage a hint about what package you'd want to satisfy that virtual via /etc/portage/profile/virtuals.  The virtuals file is documented in `man portage`.

Do you have any idea where that livecd-kernel is comming from?  Apparently it doesn't exist in the portage tree.  Do you have it installed?  If so, you should uninstall it.
Comment 7 Ed B 2006-08-13 04:19:53 UTC
(In reply to comment #6)
> You need one of these packages to satisfy the virtual/alsa dependency:
> 
...
> sys-kernel/gentoo-sources
...
> 
> You can give a portage a hint about what package you'd want to satisfy that
> virtual via /etc/portage/profile/virtuals.  The virtuals file is documented in
> `man portage`.

Ah, thanks. I wasn't sure what the difference between the two options were and what consequential impact one of the choices would have over another.

> Do you have any idea where that livecd-kernel is comming from?  Apparently it
> doesn't exist in the portage tree.  Do you have it installed?  If so, you
> should uninstall it.
> 
I have emerged sys-kernel/gentoo-sources and that seems to have got rid of that issue. I can only think that this livecd-kernel came from the liveCD I used to install gentoo from. (Stage 3?? Perhaps from http://www.gentoo.org/doc/en/handbook/2006.0/handbook-x86.xml?part=1&chap=4 :
"Using the LiveCD kernel

You must use the kernel present on the LiveCD for the GRP/networkless install. This is merely a gentoo-sources kernel compiled by genkernel, Gentoo's automated compilation utility, and will give you a kernel that automatically detects and configures your hardware upon boot.

Select LiveCD kernel and continue to the next screen. " )


I've run an emerge -C sys-kernel/livecd-kernel and now I get other warnings which I'm 99% sure aren't related... (for completeness, I've included them here)
!!! Error: the <=x11-base/xorg-x11-6.9 package conflicts with another package;
!!!        the two packages cannot be installed on the same system together.
!!!        Please use 'emerge --pretend' to determine blockers.
I'll work on determining what the issue is on that. 

So I think that removing that kernel package has worked, but the only reason I think that I would have it is if I followed some documentation which told me to copy it across (or possible I missed a step after I was supposed to do it).
Comment 8 Zac Medico gentoo-dev 2006-08-13 10:57:52 UTC
Apparently the installer cd in the only way to get that livecd-kernel package.  This bug is a combination of bug 48195 with poor handling of old-style virtuals. Hopefully they'll make virtual/alsa into a new-style virtual soon...

*** This bug has been marked as a duplicate of 48195 ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-08-18 04:22:28 UTC
*** Bug 144300 has been marked as a duplicate of this bug. ***