Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge update world trying to bring in masked packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mantonson
n00b
n00b


Joined: 07 Jan 2013
Posts: 8
Location: Lincoln, NE

PostPosted: Mon Jan 07, 2013 5:32 am    Post subject: Emerge update world trying to bring in masked packages Reply with quote

I've had this server running since 2006 or so, keeping it continually updated. I've run into Portage issues before, but this one has me stumped. Trying to run emerge --update world --deep wants me to add the ~amd64 keyword and bring in several unstable packages. Here's the full output from emerge --update world --deep --pretend:

Code:

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

Calculating dependencies... done!
[ebuild   R    ] dev-python/python-exec-0.1.1  PYTHON_TARGETS="(pypy2_0%*) (-pypy1_8*)"
[ebuild     U  ] app-emulation/emul-linux-x86-baselibs-20121202 [20121028]
[ebuild     U  ] dev-libs/libevent-2.0.21 [2.0.20]
[ebuild     U ~] dev-python/setuptools-0.6.33 [0.6.30-r1] PYTHON_TARGETS="(-pypy1_8) -pypy1_9% -pypy2_0% (-python3_3)"
[ebuild     U ~] dev-python/pygments-1.5-r1 [1.5] PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_8) -pypy1_9% -python2_5% -python2_6% -python3_1%"
[ebuild     U ~] dev-python/docutils-0.10 [0.9.1] PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_8) -pypy1_9% -python2_5% -python2_6% -python3_1%"
[ebuild     U  ] net-libs/neon-0.29.6-r2 [0.29.6-r1]
[ebuild     U ~] dev-libs/libxml2-2.9.0-r1 [2.8.0-r3] PYTHON_TARGETS="python2_7%* -python2_5% -python2_6%"
[ebuild     U ~] dev-libs/libxslt-1.1.28-r1 [1.1.27] PYTHON_TARGETS="python2_7%* -python2_5% -python2_6%"
[ebuild     U  ] dev-ruby/racc-1.4.8 [1.4.6-r1] USE="-doc%"
[ebuild     U  ] dev-vcs/subversion-1.7.7 [1.6.17-r7]

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

dev-python/setuptools:0

  (dev-python/setuptools-0.6.30-r1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-python/setuptools-0.6.33::gentoo, ebuild scheduled for merge) pulled in by
    dev-python/setuptools[python_targets_python2_5?,python_targets_python2_6?,python_targets_python2_7?,python_targets_python3_1?,python_targets_python3_2?,python_targets_pypy1_8?,python_targets_pypy1_9?,-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_8(-),-python_single_target_pypy1_9(-)] required by (dev-python/pygments-1.5-r1::gentoo, ebuild scheduled for merge)

dev-python/python-exec:0

  (dev-python/python-exec-0.1.1::gentoo, ebuild scheduled for merge) pulled in by
    dev-python/python-exec[python_targets_python2_5?,python_targets_python2_6?,python_targets_python2_7?,python_targets_python3_1?,python_targets_python3_2?,python_targets_python3_3?,python_targets_pypy1_8?,python_targets_pypy1_9?,python_targets_pypy2_0?,-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy1_8(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] required by (dev-python/setuptools-0.6.33::gentoo, ebuild scheduled for merge)

  (dev-python/python-exec-0.1.1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

dev-libs/libxml2:2

  (dev-libs/libxml2-2.8.0-r3::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-libs/libxml2-2.9.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/libxml2:2[python,python_targets_python2_5?,python_targets_python2_6?,python_targets_python2_7?,-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-)] required by (dev-libs/libxslt-1.1.28-r1::gentoo, ebuild scheduled for merge)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


The following keyword changes are necessary to proceed:
#required by dev-libs/libxslt-1.1.28-r1, required by @selected, required by @world (argument)
=dev-libs/libxml2-2.9.0-r1 ~amd64
#required by dev-python/pygments-1.5-r1, required by dev-python/docutils-0.10, required by www-apps/trac-1.0, required by @selected, required by @world (argument)
=dev-python/setuptools-0.6.33 ~amd64


Adding in --newuse (--update is already in there) as suggested gives me:

Code:

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

Calculating dependencies... done!
[ebuild   R    ] dev-python/python-exec-0.1.1  PYTHON_TARGETS="(pypy2_0%*) (-pypy1_8*)"
[ebuild     U  ] app-emulation/emul-linux-x86-baselibs-20121202 [20121028]
[ebuild     U  ] dev-libs/libevent-2.0.21 [2.0.20]
[ebuild     U ~] dev-python/setuptools-0.6.33 [0.6.30-r1] PYTHON_TARGETS="(-pypy1_8) -pypy1_9% -pypy2_0% (-python3_3)"
[ebuild     U ~] dev-python/pygments-1.5-r1 [1.5] PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_8) -pypy1_9% -python2_5% -python2_6% -python3_1%"
[ebuild     U ~] dev-python/docutils-0.10 [0.9.1] PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_8) -pypy1_9% -python2_5% -python2_6% -python3_1%"
[ebuild     U  ] net-libs/neon-0.29.6-r2 [0.29.6-r1]
[ebuild     U ~] dev-libs/libxml2-2.9.0-r1 [2.8.0-r3] PYTHON_TARGETS="python2_7%* -python2_5% -python2_6%"
[ebuild     U ~] dev-libs/libxslt-1.1.28-r1 [1.1.27] PYTHON_TARGETS="python2_7%* -python2_5% -python2_6%"
[ebuild     U  ] dev-ruby/racc-1.4.8 [1.4.6-r1] USE="-doc%"
[ebuild     U  ] dev-vcs/subversion-1.7.7 [1.6.17-r7]

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

dev-python/setuptools:0

  (dev-python/setuptools-0.6.30-r1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-python/setuptools-0.6.33::gentoo, ebuild scheduled for merge) pulled in by
    dev-python/setuptools[python_targets_python2_5?,python_targets_python2_6?,python_targets_python2_7?,python_targets_python3_1?,python_targets_python3_2?,python_targets_pypy1_8?,python_targets_pypy1_9?,-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_8(-),-python_single_target_pypy1_9(-)] required by (dev-python/pygments-1.5-r1::gentoo, ebuild scheduled for merge)

dev-python/python-exec:0

  (dev-python/python-exec-0.1.1::gentoo, ebuild scheduled for merge) pulled in by
    dev-python/python-exec[python_targets_python2_5?,python_targets_python2_6?,python_targets_python2_7?,python_targets_python3_1?,python_targets_python3_2?,python_targets_python3_3?,python_targets_pypy1_8?,python_targets_pypy1_9?,python_targets_pypy2_0?,-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy1_8(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] required by (dev-python/setuptools-0.6.33::gentoo, ebuild scheduled for merge)

  (dev-python/python-exec-0.1.1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

dev-libs/libxml2:2

  (dev-libs/libxml2-2.8.0-r3::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-libs/libxml2-2.9.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/libxml2:2[python,python_targets_python2_5?,python_targets_python2_6?,python_targets_python2_7?,-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-)] required by (dev-libs/libxslt-1.1.28-r1::gentoo, ebuild scheduled for merge)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


The following keyword changes are necessary to proceed:
#required by dev-libs/libxslt-1.1.28-r1, required by @selected, required by @world (argument)
=dev-libs/libxml2-2.9.0-r1 ~amd64
#required by dev-python/pygments-1.5-r1, required by dev-python/docutils-0.10, required by www-apps/trac-1.0, required by @selected, required by @world (argument)
=dev-python/setuptools-0.6.33 ~amd64
beta remote-backup # sudo emerge --update world --deep --newuse --pretend

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

Calculating dependencies... done!
[ebuild   R    ] dev-python/python-exec-0.1.1  PYTHON_TARGETS="(pypy2_0%*) (-pypy1_8*)"
[ebuild     U  ] app-emulation/emul-linux-x86-baselibs-20121202 [20121028]
[ebuild     U  ] dev-libs/libevent-2.0.21 [2.0.20]
[ebuild     U ~] dev-python/setuptools-0.6.33 [0.6.30-r1] PYTHON_TARGETS="(-pypy1_8) -pypy1_9% -pypy2_0% (-python3_3)"
[ebuild   R    ] sys-libs/cracklib-2.8.19  USE="-build%"
[ebuild     U ~] dev-python/pygments-1.5-r1 [1.5] PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_8) -pypy1_9% -python2_5% -python2_6% -python3_1%"
[ebuild     U ~] dev-python/docutils-0.10 [0.9.1] PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_8) -pypy1_9% -python2_5% -python2_6% -python3_1%"
[ebuild   R    ] net-libs/libpcap-1.3.0  USE="-canusb%"
[ebuild   R    ] sys-apps/busybox-1.20.2  USE="static* -systemd%"
[ebuild     U  ] dev-ruby/racc-1.4.8 [1.4.6-r1] USE="-doc%"
[ebuild     U ~] dev-libs/libxml2-2.9.0-r1 [2.8.0-r3] PYTHON_TARGETS="python2_7%* -python2_5% -python2_6%"
[ebuild     U ~] dev-libs/libxslt-1.1.28-r1 [1.1.27] PYTHON_TARGETS="python2_7%* -python2_5% -python2_6%"
[ebuild   R    ] dev-libs/glib-2.32.4-r1  USE="(-doc%)"
[ebuild     U  ] net-libs/neon-0.29.6-r2 [0.29.6-r1]
[ebuild   R    ] net-misc/openssh-5.9_p1-r4  USE="-bindist%"
[ebuild     U  ] dev-vcs/subversion-1.7.7 [1.6.17-r7]

The following keyword changes are necessary to proceed:
#required by dev-python/pygments-1.5-r1, required by dev-python/docutils-0.10, required by www-apps/trac-1.0, required by @selected, required by @world (argument)
=dev-python/setuptools-0.6.33 ~amd64
#required by dev-libs/libxslt-1.1.28-r1, required by @selected, required by @world (argument)
=dev-libs/libxml2-2.9.0-r1 ~amd64


I'm using the latest amd64 10.0 profile:

Code:

Available profile symlink targets:
  [1]   default/linux/amd64/10.0 *
  [2]   default/linux/amd64/10.0/selinux
  [3]   default/linux/amd64/10.0/desktop
  [4]   default/linux/amd64/10.0/desktop/gnome
  [5]   default/linux/amd64/10.0/desktop/kde
  [6]   default/linux/amd64/10.0/developer
  [7]   default/linux/amd64/10.0/no-multilib
  [8]   default/linux/amd64/10.0/server
  [9]   default/linux/amd64/10.0/x32
  [10]  hardened/linux/amd64
  [11]  hardened/linux/amd64/selinux
  [12]  hardened/linux/amd64/no-multilib
  [13]  hardened/linux/amd64/no-multilib/selinux
  [14]  hardened/linux/uclibc/amd64


And here's my emerge --info:

Code:

Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.3.8-gentoo x86_64)
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-Intel-R-_Pentium-R-_D_CPU_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sun, 06 Jan 2013 19:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.6.8, 2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi amd64 apache2 apm berkdb bzip2 cgi cli cracklib crypt curl cxx dri dvd exif fastcgi fbcon force-cgi-redirect fortran ftp gd gdbm gif gpm iconv imagemagick imap innodb ipv6 java jpeg libwww lm_sensors maildir mime mmx modules mudflap multilib mysql ncurses nls nptl nptlonly offensive openmp pam pcre pdf perl php png pppd python readline samba sasl session sockets spell sse sse2 ssl tcpd threads unicode usb vhosts xml 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Any suggestions? I can't figure out how to get past this.
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 507
Location: Wales, UK

PostPosted: Mon Jan 07, 2013 6:29 am    Post subject: Reply with quote

Are you saying that all the masked packages are being pulled in by portage, or have you unmasked some of them yourself?

Looking at:

Quote:
#required by dev-python/pygments-1.5-r1, required by dev-python/docutils-0.10, required by www-apps/trac-1.0, required by @selected, required by @world (argument)


suggests either dev-python/pygments or dev-python/docutils is unmasked, and this in turn is leading portage to want to unmask other dependencies.

My system here is basically "stable", with a selection of unmasked packages and occasionally I come across this type of issue. I often find that a package I had previously unmasked due to a bug with an earlier version is now being upgraded, so I can remove the mask and stay at the stable level for that package (which I had previously installed as unstable). I now unmask specific versions of a package only to avoid this.

If your system is a mix of stable and unstable packages, you have basically two choices. Either unmask the requested package, and the other stable packages asking for the stable version, or downgrade the packages asking for the unstable version to stable.
Back to top
View user's profile Send private message
mantonson
n00b
n00b


Joined: 07 Jan 2013
Posts: 8
Location: Lincoln, NE

PostPosted: Mon Jan 07, 2013 6:40 am    Post subject: Reply with quote

I haven't unmasked any packages, that's why it's so strange that it's trying to pull in masked packages and wants me to add the ~amd64 keyword. My /etc/portage/package.unmask is empty.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon Jan 07, 2013 8:53 am    Post subject: Reply with quote

please add the -t switch to the emerge line and post the output here.

frankly I have no idea why people don't use that switch when reporting such problems...
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 507
Location: Wales, UK

PostPosted: Mon Jan 07, 2013 12:23 pm    Post subject: Reply with quote

mantonson wrote:
I haven't unmasked any packages, that's why it's so strange that it's trying to pull in masked packages and wants me to add the ~amd64 keyword. My /etc/portage/package.unmask is empty.


How about the directory (or possibly file) /etc/portage/package.keywords/? This would have any unmasking of unstable packages. If should be a directory now, but could be a file. If it is a directory, and file in there will be read and the contents processed.

In addition, do use the -t switch as DaggyStyle suggests and post the output!
Back to top
View user's profile Send private message
mantonson
n00b
n00b


Joined: 07 Jan 2013
Posts: 8
Location: Lincoln, NE

PostPosted: Tue Jan 08, 2013 6:16 am    Post subject: Reply with quote

Thank you everyone, paulj nailed it. I completely forgot about the package.keywords file and I had an errant entry in there - one of the dependencies for Trac was masked when I installed it however many years ago, and I never removed it. Thank you again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum