LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-17-2011, 05:19 AM   #1
Zmegolaz
LQ Newbie
 
Registered: Mar 2011
Location: Sweden
Distribution: Gentoo, Red Hat, Debian, Ubuntu
Posts: 7

Rep: Reputation: 0
Circular dependencies in portage, file and eselect


Hi,

I'm having some problems emerging things on my newly installed Gentoo box.

Almost everything I try to emerge gets me stuck in this circular dependency with file and eselect:

Code:
(sys-apps/file-5.05, ebuild scheduled for merge) depends on
 (app-admin/eselect-python-20100321, ebuild scheduled for merge) (buildtime)
  (app-admin/eselect-1.2.11, ebuild scheduled for merge) (buildtime)
   (sys-apps/file-5.05, ebuild scheduled for merge) (runtime)
I have set the USE flag "-python" on file, but it didn't break the loop.

Does anyone have a solution for this?
If you need any more info, just ask.

Thanks,
Zmegolaz
 
Old 04-17-2011, 01:37 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
post the output of

Code:
emerge --info
and also the output of

Code:
emerge -1av eselect-python
 
Old 04-17-2011, 02:06 PM   #3
Zmegolaz
LQ Newbie
 
Registered: Mar 2011
Location: Sweden
Distribution: Gentoo, Red Hat, Debian, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
(chroot) livecd / # emerge --info
Portage 2.1.9.45 (hardened/linux/amd64, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 16 Apr 2011 10:15:01 +0000
app-shells/bash:     4.1_p9
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-kernel/linux-headers: 2.6.36.1
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ing.umu.se/linux/gentoo/ ftp://ftp.ing.umu.se/linux/gentoo/"
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 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync3.se.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion berkdb bzip2 cgi cli cracklib crypt curl cxx dri exif fastcgi fontconfig ftp gd gif gzip hardened iconv imagemagick ipv6 jpeg jpeg2k justify lm_sensors memcache mhash mime mmx modules mudflap multilib mysql mysqli mysqlnd ncurses nptl nptlonly openmp pam pcre perl php png pppd python raw readline rrdtool session snmp sockets sse sse2 ssl sysfs tcpd threads tiff truetype unicode urandom xml xorg zip 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 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" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

(chroot) livecd / # emerge -1av eselect-python

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!


[nomerge      ] app-admin/eselect-python-20100321
[nomerge      ]  app-admin/eselect-1.2.11  USE="bash-completion -doc"
[nomerge      ]   app-shells/bash-completion-1.3
[ebuild  N    ]    app-shells/gentoo-bashcomp-20101217  0 kB
[ebuild  N    ]     app-shells/bash-completion-1.3  0 kB
[ebuild  N    ]   sys-apps/file-5.05  USE="-python -static-libs" 583 kB
[ebuild  N    ]    app-admin/eselect-python-20100321  6 kB
[ebuild  N    ]     app-admin/eselect-1.2.11  USE="bash-completion -doc" 156 kB

Total: 5 packages (5 new), Size of downloads: 744 kB

 * Error: circular dependencies:

(app-admin/eselect-python-20100321, ebuild scheduled for merge) depends on
 (app-admin/eselect-1.2.11, ebuild scheduled for merge) (buildtime)
  (sys-apps/file-5.05, ebuild scheduled for merge) (runtime)
   (app-admin/eselect-python-20100321, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

(chroot) livecd / #
 
Old 04-17-2011, 03:07 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
I don't see python in your emerge --info

what about the output of

Code:
emerge -pv python
 
Old 04-17-2011, 03:35 PM   #5
Zmegolaz
LQ Newbie
 
Registered: Mar 2011
Location: Sweden
Distribution: Gentoo, Red Hat, Debian, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for helping out. Here's the output:

Code:
(chroot) livecd / # emerge -pv python

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

Calculating dependencies... done!


[nomerge      ] dev-lang/python-3.1.3-r1  USE="ipv6 ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -gdbm -sqlite -tk -wininst"
[ebuild  N    ]  app-admin/python-updater-0.8-r1  8 kB
[ebuild  N    ]   sys-apps/portage-2.1.9.42  USE="(ipc) -build -doc -epydoc -python2 -python3 (-selinux)" LINGUAS="-pl" 747 kB
[ebuild  N    ]    dev-lang/python-3.1.3-r1  USE="ipv6 ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -gdbm -sqlite -tk -wininst" 9,658 kB
[nomerge      ] sys-apps/file-5.05  USE="-python -static-libs"
[nomerge      ]  app-admin/eselect-python-20100321
[nomerge      ]   app-admin/eselect-1.2.11  USE="bash-completion -doc"
[nomerge      ]    app-shells/bash-completion-1.3
[ebuild  N    ]     app-shells/gentoo-bashcomp-20101217  0 kB
[ebuild  N    ]      app-shells/bash-completion-1.3  0 kB
[ebuild  N    ]       app-admin/eselect-1.2.11  USE="bash-completion -doc" 156 kB
[ebuild  N    ]        sys-apps/file-5.05  USE="-python -static-libs" 583 kB
[ebuild  N    ]         app-admin/eselect-python-20100321  6 kB

Total: 8 packages (8 new), Size of downloads: 11,156 kB

 * Error: circular dependencies:

(app-admin/eselect-1.2.11, ebuild scheduled for merge) depends on
 (sys-apps/file-5.05, ebuild scheduled for merge) (runtime)
  (app-admin/eselect-python-20100321, ebuild scheduled for merge) (buildtime)
   (app-admin/eselect-1.2.11, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

(chroot) livecd / #
 
Old 04-17-2011, 03:47 PM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
This is a new install, no?

Have you been following the amd64 handbook?

http://www.gentoo.org/doc/en/handboo...book-amd64.xml

Did you use the latest stage3 tarball and latest portage snapshot?

I am not sure what you have and have not done.
 
Old 04-17-2011, 03:55 PM   #7
Zmegolaz
LQ Newbie
 
Registered: Mar 2011
Location: Sweden
Distribution: Gentoo, Red Hat, Debian, Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Correct, it's a new install.

I have followed the amd64 handbook, used the latest stage3 and tarball, yes.
I'm currently at stage 9, installing the first packages.

Right now I'm thinking about starting over, in case I missed something.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Circular dependencies linuxbriel Linux - General 2 09-08-2006 02:53 AM
ftp installation - debian - circular dependencies techlover Linux - Networking 2 12-16-2005 10:17 AM
libstdc++ : circular dependencies? yekrahs Linux - Software 21 10-23-2005 10:57 AM
How to install modules? (circular dependencies!) redss Linux - Software 1 01-07-2005 03:11 PM
sash glibc circular dependencies twosider Mandriva 2 08-09-2004 03:58 AM


All times are GMT -5. The time now is 05:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration