Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272036 - portage blocks on minor upgrades
Summary: portage blocks on minor upgrades
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 03:41 UTC by matt black
Modified: 2009-06-01 14:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matt black 2009-06-01 03:41:50 UTC
On minor upgrades of packages such as from -r1 to -r2, emerge has blocking problems.

purple ~ # emerge -pu world

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

Calculating dependencies... done!
[ebuild     U ] dev-db/sqlite-3.6.13 [3.6.12]
[ebuild     U ] net-misc/dhcpcd-4.0.13 [4.0.7]
[ebuild     U ] media-libs/xvid-1.2.2-r1 [1.1.3] USE="-pic%" 
[ebuild     U ] media-libs/amrwb-7.0.0.3 [7.0.0.2]
[ebuild     U ] media-libs/amrnb-7.0.0.2 [7.0.0.0]
.
.
[ebuild  NS   ] app-cdr/k3b-1.0.5-r5 [1.0.5-r4] USE="alsa arts dvd dvdr encode ffmpeg flac hal mp3 musicbrainz sndfile vorbis xinerama -css -debug -emovix -musepack -vcd" LINGUAS="-af -ar -bg -br -bs -ca -cs -cy -da -de -el -en_GB -es -et -eu -fa -fi -fr -ga -gl -he -hi -hu -is -it -ja -ka -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ru -rw -se -sk -sr -sr@Latn -sv -ta -tr -uk -uz -zh_CN -zh_TW" 
[uninstall    ] app-cdr/k3b-1.0.5-r4 
[blocks b     ] <app-cdr/k3b-1.0.5-r5 ("<app-cdr/k3b-1.0.5-r5" is blocking app-cdr/k3b-1.0.5-r5)
[ebuild  NS   ] net-irc/konversation-1.1-r1 [1.1] USE="xinerama -debug" 
[uninstall    ] net-irc/konversation-1.1 
[blocks b     ] <net-irc/konversation-1.1-r1 ("<net-irc/konversation-1.1-r1" is blocking net-irc/konversation-1.1-r1)
[ebuild  NS   ] media-sound/transkode-0.7-r2 [0.7-r1] USE="ffmpeg gstreamer mplayer xine xinerama -amarok -debug -wavpack" 
[uninstall    ] media-sound/transkode-0.7-r1 
[blocks b     ] media-sound/transkode:0 ("media-sound/transkode:0" is blocking media-sound/transkode-0.7-r2)
purple ~ # 

note the Slotting flag and the strange blocking messages, such as:

"<app-cdr/k3b-1.0.5-r5" is blocking app-cdr/k3b-1.0.5-r5

I do not understand the transkode:0 reference.

*  media-sound/transkode
      Latest version available: 0.7-r2
      Latest version installed: 0.7-r1

Expected behavior is that emerge would upgrade the above apps without having to clean the previous versions.

k3b, konversation and transkode were unmasked in /etc/portage/package.keywords, but I had just removed konversation from package.keywords as it wished to upgrade to konversation-1.2_alpha.

Thank you for your attention, 

Matt

------------------

Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.25-gentoo-r7purple x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7purple-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5
Timestamp of tree: Sun, 31 May 2009 17:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 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.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo  		http://distro.ibiblio.org/pub/linux/distributions/gentoo  http://www.gtlib.gatech.edu/pub/gentoo  "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa amd64 arts asf bash-completion berkdb bluetooth bonobo branding bzip2 cairo caps cddb cdinstall cdparanoia cdr cdrw cli cracklib crypt cups curl dbus dga dri dts dv dvd dvdnav dvdr dvdread dvi eds emboss encode esd evo fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb ftp galago gdbm gif gimp-print glut gnome gnome-keyring gnutls gpm gstreamer gtk gtk2 hal hardcoded-tables hddtemp httpd iconv id3tag imagemagick isdnlog ithreads jabber jack java joystick jpeg kde kpathsea ladspa lame ldap libcaca libnotify libsamplerate libwww lm_sensors logrotate mad matroska midi mikmod mime mjpeg mmap mmx mmxext mng mp3 mpeg mplayer mudflap multilib musicbrainz mysql ncurses nls noamazon nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pcre pdf perl png postproc ppds pppd python qt3 qt3support qt4 quicktime readline reflection resolvconf rtsp ruby samba sdl server session sndfile sox speech speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification stream svg sysfs taglib tcpd theora threads tiff truetype unicode usb userlocales utempter vdpau vim-syntax visualization vlm vorbis x264 xcomposite xine xinerama xml xorg xulrunner xv xvid zlib" 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="	dummy fbdev nv nvidia radeon radeonhd v4l vesa vga vmware "
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2009-06-01 04:44:44 UTC
The "blockers" you see are soft blockers ("[blocks b     ]"), not hard blockers ("[blocks B     ]").  In certain cases (like this one), portage can, and will, automatically resolve them, by removing the old package.  The actual issue in this case seems to be that the -r2 is in a different slot than -r1, but they can collide, so the old slot is blocked.  If you just let the upgrade complete normally, everything should Just Work™.
Comment 2 Rafał Mużyło 2009-06-01 14:50:43 UTC
(In reply to comment #1)
> If you just let the upgrade complete normally, everything should Just Work™.
>
Exactly.