LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (http://www.linuxquestions.org/questions/gentoo-87/)
-   -   Blocked packages (http://www.linuxquestions.org/questions/gentoo-87/blocked-packages-732641/)

CollieJim 06-13-2009 01:52 AM

Blocked packages
 
Hi

I've been using 64-bit Gentoo for a while now with few problems. The lack of Flash almost made me switch to 32-bit, but it's available now.

However, the last 2 times I tried to 'emerge -aDu world', it would not proceed due to blocked packages. I had not installed anything related to KDE 3.5, but got blocking messages indicating that kdelibs-3.5.9-r4 was needed but blocked.

I emerged it separately (why was it not blocked then?) but subsequent 'emerge -aDu world' gave the same messages, like I had done nothing.

Now I get the following. How do I recover? Remove KDE completely and start over? I've tried KDE 4 and don't like it much.

# emerge -ep world

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

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

kde-base/kdelibs:3.5

('ebuild', '/', 'kde-base/kdelibs-3.5.10-r6', 'merge') pulled in by
=kde-base/kdelibs-3.5* required by ('ebuild', '/', 'app-cdr/k3b-1.0.5-r5', 'merge')
~kde-base/kdelibs-3.5.10 required by ('ebuild', '/', 'kde-base/libkonq-3.5.10', 'merge')
kde-base/kdelibs required by world
(and 7 more)

('ebuild', '/', 'kde-base/kdelibs-3.5.9-r4', 'merge') pulled in by
~kde-base/kdelibs-3.5.9 required by ('ebuild', '/', 'kde-base/kdebase-3.5.9-r4', 'merge')
~kde-base/kdelibs-3.5.9 required by ('ebuild', '/', 'kde-base/kdeadmin-3.5.9', 'merge')
kde-base/kdelibs required by world
(and 12 more)

If I continue to have problems updating, when all I do is a monthly update world, I will have to look to another distro.

TIA
Jim

d2_racing 06-13-2009 09:28 PM

Hi, can you post this :

Code:

# emerge --info
# cat /etc/portage/package.use
# cat /etc/portage/package.keywords
# emerge -auDNvt world


CollieJim 06-14-2009 04:10 AM

Thanks for the reply. Here it is...

500 17:07:25 /# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8-05 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-05-x86_64-AMD_Processor_model_-with-glibc2.2.5
Timestamp of tree: Fri, 12 Jun 2009 07:20:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: 2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/jeh/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo "
LC_ALL="en_AU"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/jeh/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/jeh/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session smb spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv xvmc" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

501 17:07:42 /# cat /etc/portage/package.use
net-misc/ntp caps
dev-java/blackdown-jre nsplugin
app-emulation/qemu kqemu
app-emulation/qemu-softmmu kqemu
app-emulation/qemu-user kqemu
502 17:08:06 /# cat /etc/portage/package.keywords
sys-block/partimage -~x86
app-emulation/qemu ~amd64
app-emulation/qemu-softmmu ~amd64
app-emulation/qemu-user ~amd64
503 17:08:20 /# emerge -auDNvt world

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

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

kde-base/kdelibs:3.5

('ebuild', '/', 'kde-base/kdelibs-3.5.10-r6', 'merge') pulled in by
=kde-base/kdelibs-3.5* required by ('ebuild', '/', 'app-cdr/k3b-1.0.5-r5', 'merge')
~kde-base/kdelibs-3.5.10 required by ('ebuild', '/', 'kde-base/libkonq-3.5.10', 'merge')
kde-base/kdelibs required by world
(and 7 more)

('ebuild', '/', 'kde-base/kdelibs-3.5.9-r4', 'merge') pulled in by
~kde-base/kdelibs-3.5.9 required by ('installed', '/', 'kde-base/kdewebdev-3.5.9', 'nomerge')
kde-base/kdelibs required by world
~kde-base/kdelibs-3.5.9 required by ('installed', '/', 'kde-base/kdegames-3.5.9', 'nomerge')
(and 12 more)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy ">=media-gfx/exiv2-0.18" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-gfx/exiv2-0.18.1-r1 (masked by: ~amd64 keyword)
- media-gfx/exiv2-0.18.1 (masked by: ~amd64 keyword)
- media-gfx/exiv2-0.18 (masked by: package.mask)
/jeh/portage/profiles/package.mask:
# Stefan Briesenick <sbriesen@gentoo.org> (11 Jun 2009)
# media-gfx/digiKam 0.10.0-r1 crashes with SIGABRT with
# media-gfx/exiv2-0.18. media-gfx/exiv2-0.18.1 works fine,
# but is not stabilized yet. (bug #273577).


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "media-libs/libkexiv2-0.1.8" [ebuild])
(dependency required by "media-gfx/digikam-0.9.4" [ebuild])
(dependency required by "world" [argument])

504 17:09:20 /#

i92guboj 06-14-2009 11:16 AM

Quote:

Originally Posted by CollieJim (Post 3573295)
Code:

kde-base/kdelibs:3.5

  ('ebuild', '/', 'kde-base/kdelibs-3.5.10-r6', 'merge') pulled in by
    =kde-base/kdelibs-3.5* required by ('ebuild', '/', 'app-cdr/k3b-1.0.5-r5', 'merge')
    ~kde-base/kdelibs-3.5.10 required by ('ebuild', '/', 'kde-base/libkonq-3.5.10', 'merge')
    kde-base/kdelibs required by world
    (and 7 more)

  ('ebuild', '/', 'kde-base/kdelibs-3.5.9-r4', 'merge') pulled in by
    ~kde-base/kdelibs-3.5.9 required by ('installed', '/', 'kde-base/kdewebdev-3.5.9', 'nomerge')
    kde-base/kdelibs required by world
    ~kde-base/kdelibs-3.5.9 required by ('installed', '/', 'kde-base/kdegames-3.5.9', 'nomerge')
    (and 12 more)


Usually, you can work around it by uninstalling the given package, then emerge -auDvN world again so whatever is needed can be re-emerged (in the updated version). So try to emerge -C kdelibs, then do emerge -auDvN world, and see what happens.

Quote:

!!! All ebuilds that could satisfy ">=media-gfx/exiv2-0.18" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-gfx/exiv2-0.18.1-r1 (masked by: ~amd64 keyword)
- media-gfx/exiv2-0.18.1 (masked by: ~amd64 keyword)
- media-gfx/exiv2-0.18 (masked by: package.mask)
/jeh/portage/profiles/package.mask:
# Stefan Briesenick <sbriesen@gentoo.org> (11 Jun 2009)
# media-gfx/digiKam 0.10.0-r1 crashes with SIGABRT with
# media-gfx/exiv2-0.18. media-gfx/exiv2-0.18.1 works fine,
# but is not stabilized yet. (bug #273577).
Add this line to /etc/portage/package.keywords:

Code:

=media-gfx/exiv2-0.18.1 ~amd64
I guess that should work.

d2_racing 06-14-2009 11:32 PM

And if it's not working, then you may need this :

Code:

=media-gfx/exiv2-0.18.1-r1 ~amd64
=media-gfx/digikam-0.9.4
=media-libs/libkdcraw-0.1.4-r2 ~amd64


CollieJim 06-15-2009 10:16 AM

Thanks. I think I may have a more serious problem though.
I followed the suggestions above, and things went from bad to worse. 57 blocking messages now. They were probably masked by the ones above. Not only that, but now xorg cannot find the glx module. Then the wacom module could not be found.

I have emerged Xfce4 so I have a usable desktop. Tomorrow I will get a new hdd and install 32-bit gentoo. Hopefully there will be fewer problems updating...

i92guboj 06-15-2009 10:27 AM

57 blockers are not necesarily any worse than 3 or 4. They can all be cause by a single package. Don't be scared by long error messages. The solution to this problem might just be as simple as the other one. So if you want, post the thing here and I'll take a look at it.

About the xorg stuff, each time you update or recompile xorg with sensibly different settings you will need to recompile all the modules attached to it as well. Just like when you update your kernel you have also to recompile external drivers against the new one.

So you will probably need to recompile your graphics driver and xf86-input-wacom (or whatever it's called) as well. If that doesn't work, then look into the log (/var/log/Xorg.0.log). It's the first place to look into when X is giving you problems.


All times are GMT -5. The time now is 09:12 AM.