Few days ago while going through some major dependency hell with revdep-rebuild.
I ran `eselect python set 2` and switched to python3.2 instead of v2, still same problems..
I unmerged python 2.7.3 thinking I don't need it since I have 3.2.3 installed.
Then I noticed more dependancy issues and several apps not running as expected (bind, eclean, and some 20 other) as they require 2.7.3.
Now.. I can't get 2.7.3-r3 re-installed anymore! It compiles right but keeps complaining in the Install stage
Code: Select all
>>> Source compiled.
>>> Test phase [not enabled]: dev-lang/python-2.7.3-r3
>>> Install python-2.7.3-r3 into /var/tmp/portage/dev-lang/python-2.7.3-r3/image/ category dev-lang
make DESTDIR=/var/tmp/portage/dev-lang/python-2.7.3-r3/image/ altinstall maninstall
>>> Completed installing python-2.7.3-r3 into /var/tmp/portage/dev-lang/python-2.7.3-r3/image/
>>> Installing (1 of 12) dev-lang/python-2.7.3-r3
* checking 3953 files for package collisions
1000 files checked ...
2000 files checked ...
3000 files checked ...
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). Once again, please do NOT file
* a bug report unless you have completely understood the above message.
*
* Detected file collision(s):
*
* /usr/share/gdb/auto-load/usr/lib64/-gdb.py
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* dev-lang/python-3.2.3-r2:3.2::gentoo
* /usr/share/gdb/auto-load/usr/lib64/-gdb.py
*
* Package 'dev-lang/python-2.7.3-r3' NOT merged due to file collisions.
* If necessary, refer to your elog messages for the whole content of the
* above message.
>>> Failed to install dev-lang/python-2.7.3-r3, Log file:
>>> '/var/log/portage/dev-lang:python-2.7.3-r3:20130424-002724.log'
* Messages for package dev-lang/python-2.7.3-r3:
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). Once again, please do NOT file
* a bug report unless you have completely understood the above message.
*
* Detected file collision(s):
*
* /usr/share/gdb/auto-load/usr/lib64/-gdb.py
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* dev-lang/python-3.2.3-r2:3.2::gentoo
* /usr/share/gdb/auto-load/usr/lib64/-gdb.py
*
* Package 'dev-lang/python-2.7.3-r3' NOT merged due to file collisions.
* If necessary, refer to your elog messages for the whole content of the
* above message.
* GNU info directory index is up-to-date.Code: Select all
# eselect python list
Available Python interpreters:
[1] python3.2 *I'm really stuck.. v3.2.3 is colliding with 2.7.3 for that gdb.py file (possibly other too?). I tried many ways to get around this but can't figure it out.
I thought of unmerging python 3.2.3 then emerging 2.7.3 but far too many depend on python, including portage.. Too risky ?
Code: Select all
# emerge --info
Portage 2.1.11.55 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_Sempron-tm-_Processor_LE-1200-with-gentoo-2.1
KiB Mem: 2058132 total, 454200 free
KiB Swap: 2016152 total, 2003544 free
Timestamp of tree: Wed, 24 Apr 2013 00:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [disabled]
app-shells/bash: 4.2_p37
dev-lang/python: 3.2.3-r2
dev-util/ccache: 3.1.9
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="a52 aac aalib accessibility acl afs amd64 amr apache2 berkdb bzip2 cgi cli color cracklib crypt ctype cxx daemon dbus device-mapper diskio dri elf extensions fam fastcgi ffmpeg flac fontconfig fortran gd gdbm glib gnutls gpm hddtemp iconv imap innodb ipfilter ipod ipv6 jpeg lame lm_sensors mmx mmxext modules mp4 mp4live mudflap multilib mysql mysqli ncurses nfs nls nptl ogg openmp oss pam pcre php png policykit python qt3support readline remote rrdtool samba sensord session sockets sse sse2 ssl ssse3 tcpd theora threads unicode upnp v4l vcd vhosts vmware-tools vorbis web webdav webinterface x264 xattr xvid zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHONWhat do you recommend I should do to resolve this ?
Edit: If there's a way to move everything to the later python v3, that's also on my list of solutions.
Thanks a lot.



