

Code: Select all
18 Sep 2006; Carsten Lohrke <carlo@gentoo.org> kdelibs-3.5.2-r6.ebuild,
kdelibs-3.5.3-r4.ebuild, kdelibs-3.5.4-r1.ebuild:
Move kde-base/kde-env dependency here.

Code: Select all
NAME
emerge - Command-line interface to the Portage system
SYNOPSIS
emerge [options] [action] [ebuild | tbz2file | set | dependency] ...
emerge --sync | --info | --version
emerge --search somestring
emerge --help [system | config | sync
[...]
OPTIONS
[...]
--oneshot (-1)
Emerge as normal, but do not add the packages to the world profile for later updating.
Code: Select all
# emerge -av --update --deep world
These are the packages that would be merged, in order:
Calculating world dependencies /
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
app-i18n/fcitx media-sound/alsaplayer media-libs/mlt media-gfx/xzgv
... done!
[blocks B ] >=kde-base/kdelibs-3.5.4-r2 (is blocking kde-base/kde-env-3-r4)
[ebuild NS ] sys-kernel/gentoo-sources-2.6.18 USE="symlink -build (-ultra1)" 41,028 kB
[ebuild U ] app-arch/zip-2.31-r1 [2.31] USE="crypt" 0 kB
[ebuild U ] x11-libs/qt-3.3.6-r2 [3.3.6-r1] USE="cups gif ipv6 opengl xinerama -debug -doc -examples (-firebird) -immqt -immqt-bc -mysql -nas -nis -odbc -postgres -sqlite" 0 kB
[ebuild N ] kde-base/kde-env-3-r4 0 kB
[ebuild UD] kde-base/kdelibs-3.5.2-r6 [3.5.4-r2] USE="alsa cups spell ssl tiff xinerama -acl -arts -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -openexr -zeroconf (-fam%) (-lua%) (-noutempter%)" 0 kB
[ebuild UD] kde-base/libkdegames-3.5.1 [3.5.4] USE="xinerama -arts -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild UD] app-office/koffice-data-1.5.2 [1.6_beta1] USE="xinerama -arts -debug" 0 kB
[ebuild UD] app-office/koffice-libs-1.5.2 [1.6_beta1] USE="xinerama -arts -debug -doc" 0 kB
Total size of downloads: 41,028 kB
!!! Error: The above package list contains packages which cannot be installed
!!! at the same time on the same system.
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Code: Select all
# emerge --info
Portage 2.1.2_pre1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Gentoo Base System version 1.12.5
Last Sync: Wed, 20 Sep 2006 20:00:07 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -pipe -O2"
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"
LANG="en_US"
LINGUAS="en de zh_CN"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa avi berkdb bitmap-fonts cdr cjk cli crypt cups divx4linux dlloader dri dvd eds elibc_glibc emboss encode foomaticcdb foomaticdb fortran gif gimpprint gnome gpm gstreamer gtk gtk2 imlib immpt-bc input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux linguas_de linguas_en linguas_zh_CN lzw lzw-tiff mad mikmod mp3 mpeg ncurses nls nptl nptlonly ntlp opengl pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl symlink tcpd tiff truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nv video_cards_nvidia xinerama xmms xorg xpm xv xvi zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Code: Select all
tux1 jan # equery depgraph kde-base/kde-env
[ Searching for packages matching kde-base/kde-env... ]
* dependency graph for kde-base/kde-env-3-r4
`-- kde-base/kde-env-3-r4
[ kde-base/kde-env-3-r4 stats: packages (1), max depth (0) ]Code: Select all
# emerge -av k3b
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B ] >=kde-base/kdelibs-3.5.4-r2 (is blocking kde-base/kde-env-3-r4)
[ebuild N ] media-libs/taglib-1.4 USE="-debug" 0 kB
[ebuild N ] kde-base/kde-env-3-r4 0 kB
[ebuild UD] kde-base/kdelibs-3.5.2-r6 [3.5.4-r2] USE="alsa cups spell ssl tiff xinerama -acl -arts -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -openexr -zeroconf (-fam%) (-lua%) (-noutempter%)" 0 kB
[ebuild N ] kde-base/kdesu-3.5.0 USE="xinerama -arts -debug -kdeenablefinal -kdehiddenvisibility (-kdexdeltas)" 0 kB
[ebuild N ] app-cdr/k3b-1.0_pre2 USE="alsa encode kde mp3 xinerama -arts -css -debug -dvdr -dvdread -ffmpeg -flac -hal -musepack -musicbrainz -sndfile -vcd -vorbis" 3,705 kB
Total size of downloads: 3,705 kB
!!! Error: The above package list contains packages which cannot be installed
!!! at the same time on the same system.
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Quoted for emphasis. The old kdelibs needs kde-env, the new doesn't. As you canNOT install kdelibs-3.5.2 and kdelibs-3.5.4 in parallel, fix you package.keywords so that you only install either stable or unstable kde packages.davidgurvich wrote:Looks like you are mixing arch and ~arch packages. One of the arch packages is drawing in kdelibs-3.5.2 and trying to downgrade your installed kdelibs.

That commandline will update everything, including "oneshotted" packages and other dependencies. The 'D' switch forces emerge to consider the entire dependency tree of packages, instead of checking only the immediate dependencies of the packages. As an example, this catches updates in libraries that are not directly listed in the dependencies of a package.boniek wrote:I don't understand. If it wont get into world file, it won't get updated by emerge -uDN world when there will be newer version available (e.g with security fix or additional features) and you will be stuck with this version till next explicit emerge of this package. Who's gonna remember which package was "oneshotted" with hundreds of packages in our systems? Am I missing something?
Code: Select all
ACCEPT_KEYWORDS="~x86"Code: Select all
# cd /etc/portage
# mv package.keywords package.keywords.backup
# mkdir package.keywords
# mv package.keywords.backup package.keywords/other
# cd package.keywords
# wget http://allenjb.me.uk/files/kde