Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Several blocks, help (solved)
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
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Apr 05, 2016 3:43 pm    Post subject: Several blocks, help (solved) Reply with quote

Code:
[ebuild  NS    ] sys-devel/gcc-4.9.3:4.9.3::gentoo [4.7.3-r1:4.7.4::gentoo, 4.8.4:4.8.5::gentoo] USE="cxx fortran nls nptl openmp sanitize (-altivec) (-awt) -cilk -debug -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) (-multilib) -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 87939 KiB
[uninstall     ] sys-devel/gcc-4.7.3-r1:4.7.4::gentoo  USE="cxx fortran nls nptl openmp (-altivec) (-awt) -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -mudflap (-multilib) -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla"
[uninstall     ] sys-devel/gcc-4.8.4:4.8.5::gentoo  USE="cxx fortran nls nptl openmp sanitize (-altivec) (-awt) -debug -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -mudflap (-multilib) -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla"
[blocks b      ] <sys-devel/gcc-4.9 ("<sys-devel/gcc-4.9" is blocking sys-devel/gcc-4.9.3)

Total: 176 packages (106 upgrades, 55 new, 5 in new slots, 10 reinstalls, 3 uninstalls), Size of downloads: 596956 KiB
Conflict: 6 blocks

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

dev-lang/perl:0

  (dev-lang/perl-5.22.1:0/5.22::gentoo, ebuild scheduled for merge) pulled in by
    =dev-lang/perl-5.22* required by (virtual/perl-CPAN-Meta-2.150.1:0/0::gentoo, ebuild scheduled for merge)
    ^              ^^^^^                                                                                             
    (and 5 more with the same problem)

  (dev-lang/perl-5.20.2:0/5.20::gentoo, installed) pulled in by
    =dev-lang/perl-5.20* required by (virtual/perl-ExtUtils-ParseXS-3.240.0:0/0::gentoo, installed)
    ^              ^^^^^                                                                                             
    dev-lang/perl:0/5.20=[-build(-)] required by (dev-perl/XML-Parser-2.410.0-r2:0/0::gentoo, installed)
                 ^^^^^^^^                                                                                           
    (and 21 more with the same problems)


Full output of 'emerge -uDNv world'
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim


Last edited by Bigun on Tue Apr 05, 2016 6:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Apr 05, 2016 4:10 pm    Post subject: Reply with quote

Try merging portage-2.2.26 first, seems to have worked better for me afterwards.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue Apr 05, 2016 4:32 pm    Post subject: Reply with quote

Packages that do not affect system can be removed, that is what I usually do when having hard blocks. If they are needed portage will pull them back later. Make sure your world file is clean, atoms recorded there will give you blocks.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Apr 05, 2016 4:38 pm    Post subject: Reply with quote

eccerr0r wrote:
Try merging portage-2.2.26 first, seems to have worked better for me afterwards.


Also blocked:

Code:
Calculating dependencies... done!
[ebuild  N     ] sys-apps/install-xattr-0.5
[ebuild  N     ] dev-python/packaging-15.3-r2  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) -python3_3 (-python3_5)"
[ebuild  N     ] dev-python/setuptools-18.4  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) -python3_3 (-python3_5)"
[ebuild  N     ] dev-python/certifi-2015.11.20  PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) -python3_3 (-python3_5)"
[ebuild  N     ] dev-python/pyxattr-0.5.5  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) -python3_3 (-python3_5)"
[ebuild     U  ] sys-apps/portage-2.2.26 [2.2.18] USE="xattr*" PYTHON_TARGETS="python3_4* -python3_3* (-python3_5)"

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

sys-apps/portage:0

  (sys-apps/portage-2.2.26:0/0::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/portage (Argument)

  (sys-apps/portage-2.2.18:0/0::gentoo, installed) pulled in by
    sys-apps/portage[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] required by (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)

_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Apr 05, 2016 4:45 pm    Post subject: Reply with quote

Buffoon wrote:
Packages that do not affect system can be removed, that is what I usually do when having hard blocks. If they are needed portage will pull them back later. Make sure your world file is clean, atoms recorded there will give you blocks.


How can I check and see what packages are in the world file?

*edit*

Found it

Code:
app-admin/syslog-ng
app-arch/rar
app-editors/nano
app-misc/screen
app-portage/gentoolkit
app-portage/layman
app-portage/ufed
app-text/wgetpaste
dev-util/strace
media-tv/plex-media-server
net-firewall/pglinux
net-fs/cifs-utils
net-fs/nfs-utils
net-ftp/ftp
net-misc/ntp
net-misc/telnet-bsd
net-misc/unison
net-misc/whois
net-p2p/rtorrent
sys-apps/hdparm
sys-apps/isapnptools
sys-apps/pciutils
sys-apps/portage
sys-apps/smartmontools
sys-apps/usbutils
sys-block/parted
sys-boot/grub
sys-devel/distcc
sys-devel/gdb
sys-fs/mdadm
sys-fs/ntfs3g
sys-fs/xfsprogs
sys-kernel/gentoo-sources
sys-process/htop
sys-process/vixie-cron
www-client/links
www-client/lynx


Kinda boring
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim


Last edited by Bigun on Tue Apr 05, 2016 5:28 pm; edited 2 times in total
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue Apr 05, 2016 5:25 pm    Post subject: Reply with quote

From memory (not at a Gentoo box right now) less /var/lib/portage/world. Only packages you know you want installed must be there, all dependencies and unknown packages have to go. No package should have version recorded, unless you really know why you need a specific version and are ready to deal with consequences.

Edit: Your world is sane.
Back to top
View user's profile Send private message
skiwarz
Apprentice
Apprentice


Joined: 23 Feb 2014
Posts: 263

PostPosted: Tue Apr 05, 2016 5:58 pm    Post subject: Reply with quote

I vaguely recall having to use
Code:
emerge --oneshot portage
for the portage update. Maybe that's why you're getting the portage blocker. I know it's not in my world file, but it IS in yours.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Apr 05, 2016 6:12 pm    Post subject: Reply with quote

skiwarz wrote:
I vaguely recall having to use
Code:
emerge --oneshot portage
for the portage update. Maybe that's why you're getting the portage blocker. I know it's not in my world file, but it IS in yours.


Tried that, I also removed portage from the world file and it made no difference.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue Apr 05, 2016 6:15 pm    Post subject: Reply with quote

Next thing is emerge --nodeps, --oneshot (-1) should be used every time when you do not want package recorded in world.

Last edited by Buffoon on Tue Apr 05, 2016 6:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
skiwarz
Apprentice
Apprentice


Joined: 23 Feb 2014
Posts: 263

PostPosted: Tue Apr 05, 2016 6:16 pm    Post subject: Reply with quote

Code:
emerge --unmerge app-portage/gentoolkit-0.3.0.9-r2
emerge --oneshot portage
emerge gentoolkit
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue Apr 05, 2016 6:20 pm    Post subject: Reply with quote

skiwarz wrote:
Code:
emerge --unmerge app-portage/gentoolkit-0.3.0.9-r2
emerge --oneshot portage
emerge gentoolkit


One more time, --oneshot will not help with blocks. Back up your current package with quickpkg and upgrade with --nodeps. If it breaks restore from package you created with quickpkg, if it does not break proceed happily with system upgrade.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Apr 05, 2016 6:23 pm    Post subject: Reply with quote

skiwarz wrote:
Code:
emerge --unmerge app-portage/gentoolkit-0.3.0.9-r2
emerge --oneshot portage
emerge gentoolkit


Nice catch, going to see if the builds complete.

*edit*

So far it is, I'll re-post if something else comes up. I'll mark as solved for now.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
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