Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Cannot emerge xorg suddenly...

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
43 posts
  • 1
  • 2
  • Next
Author
Message
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

Cannot emerge xorg suddenly...

  • Quote

Post by The_Great_Sephiroth » Tue Feb 10, 2015 10:42 pm

I updated my laptop a day or two ago, as well as another I setup for a friend. I noticed we both suddenly got a boatload of Perl crap pulled in when we did "emerge -avuND @world". No clue why, but I had to accept it. Now I am installing Gentoo onto a new laptop and I cannot get xorg-server and the foomatic stuff to come in.

Code: Select all

!!! 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.18.2-r2:0/5.18::gentoo, installed) pulled in by
    =dev-lang/perl-5.18* required by (virtual/perl-Module-Build-0.400.300-r1:0/0::gentoo, installed)
    ^              ^^^^^                                                                                                                                   
    dev-lang/perl:0/5.18=[-build(-)] required by (dev-perl/TermReadKey-2.300.200-r1:0/0::gentoo, installed)
                 ^^^^^^^^                                                                                                                      
    (and 3 more with the same problems)

  (dev-lang/perl-5.20.1-r4:0/5.20::gentoo, ebuild scheduled for merge) pulled in by
    =dev-lang/perl-5.20* required by (virtual/perl-Sys-Syslog-0.330.0-r1:0/0::gentoo, ebuild scheduled for merge)
    ^              ^^^^^                                                                                                                                                
    (and 5 more with the same problem)
What the heck is with all of this Perl stuff? Can I opt out of Perl? If not, how do I make heads or tails of this? I know it says 5.18.2 is installed, but I personally did NOT install it. Something must have pulled it in or it was in the stage3-amd64 archive.

*EDIT*

Oh, and my emerge command is "emerge -av xorg-server mesa-progs foomatic-db-ppds foomatic-db-engine". Worked fine every time until now, and I am fairly sure it has to do with whatever the heck brought down all that Perl last week.
Ever picture systemd as what runs "The Borg"?
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Tue Feb 10, 2015 10:47 pm

OK, I thought that maybe Perl was just updated, so i thought I'd clean out my system. Using "emerge -aD --depclean" results in this error.

Code: Select all

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 * 
 *   dev-lang/perl:0/5.18=[-build(-)] pulled in by:
 *     dev-perl/Archive-Zip-1.300.0-r1
 * 
 *   dev-lang/perl:0/5.18=[-build(-)] pulled in by:
 *     app-text/po4a-0.45-r1
 * 
 *   dev-lang/perl:0/5.18=[-build(-)] pulled in by:
 *     dev-perl/SGMLSpm-1.03-r7
 * 
 *   dev-lang/perl:0/5.18=[-build(-)] pulled in by:
 *     dev-perl/Locale-gettext-1.50.0-r1
 * 
 *   dev-lang/perl:0/5.18=[-build(-)] pulled in by:
 *     dev-perl/Text-CharWidth-0.40.0-r1
 * 
 *   dev-lang/perl:0/5.18=[-build(-)] pulled in by:
 *     dev-perl/Text-WrapI18N-0.60.0-r1
 * 
 * Have you forgotten to do a complete update prior to depclean? The
 * most comprehensive command for this purpose is as follows:
 * 
 *   emerge --update --newuse --deep --with-bdeps=y @world
 * 
 * Note that the --with-bdeps=y option is not required in many
 * situations. Refer to the emerge manual page (run `man emerge`)
 * for more information about --with-bdeps.
 * 
 * Also, note that it may be necessary to manually uninstall
 * packages that no longer exist in the portage tree, since it may
 * not be possible to satisfy their dependencies.
Something is broken with all of this new Perl stuff, and I am lost. I already did "emerge -avuND @world" on my laptop and let is complete.

*UPDATE*

Yep, I appear to be up-to-date...

Code: Select all

~ $ sudo emerge -avuND @world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

Nothing to merge; quitting.
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Tue Feb 10, 2015 10:53 pm

See

Code: Select all

man perl-cleaner
- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Wed Feb 11, 2015 2:17 pm

Thanks! I checked my friend's laptop (the one I updated) and it had this issue also, and could not update. I fixed it on HERS by doing "emerge -avuND --with-bdeps=y @world". I will read the manual page you referenced now. Thanks! I will report success or failure.
Ever picture systemd as what runs "The Borg"?
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Wed Feb 11, 2015 2:32 pm

Alright, on a system which is already working, such as mine or my friend's, using "perl-cleaner --all" OR "emerge -avuND --with-bdeps=yes @world" will fix it. Using the Perl cleaner will do NOTHING on a new install, and if I try the emerge method it tries to pull in all kinds of junk I don't want because I do not have the system setup yet. How can I fix this on a new install before X and KDE are installed? The latest stag3 is from December and that is most-likely the issue.
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Wed Feb 11, 2015 2:44 pm

I often select the most basic profile until my system is bootable and stable in a text only mode for this very reason. Try default/linux/x86/13.0 or the equivalent amd64 one if you're 64-bit.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Wed Feb 11, 2015 3:01 pm

My system is bootable. In fact I booted into it and emerged my core things (screen, openssh-blacklist, acpitool, etc etc). I then tried X and hit this. I believe the problem is that the stage3 from December has an older Perl in it and after syncing up during the live CD phase, it is trying to force me to use the new one but it is confused. So what should I do? I want to use the KDE profile when installing X.
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Wed Feb 11, 2015 3:19 pm

Then you need to report the exact error message that emerge is reporting on a --deep --newuse (or --changed-use) --update of @world. Installs of new software go much smoother when your system us up to date.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Wed Feb 11, 2015 3:43 pm

John R. Graham wrote:Then you need to report the exact error message that emerge is reporting
These "error message", are not error message, emerge reporting blockers are not errors :)
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Wed Feb 11, 2015 3:48 pm

A semantic distinction I'm happy to concede. :wink:

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Wed Feb 11, 2015 3:53 pm

Either way, here is your message. Pasted directly from an SSH session.

Code: Select all

!!! 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.18.2-r2:0/5.18::gentoo, installed) pulled in by
    =dev-lang/perl-5.18* required by (virtual/perl-Module-Build-0.400.300-r1:0/0::gentoo, installed)
    ^              ^^^^^                                                                                                                                   
    dev-lang/perl:0/5.18=[-build(-)] required by (dev-perl/TermReadKey-2.300.200-r1:0/0::gentoo, installed)
                 ^^^^^^^^                                                                                                                      
    (and 3 more with the same problems)

  (dev-lang/perl-5.20.1-r4:0/5.20::gentoo, ebuild scheduled for merge) pulled in by
    =dev-lang/perl-5.20* required by (virtual/perl-Sys-Syslog-0.330.0-r1:0/0::gentoo, ebuild scheduled for merge)
    ^              ^^^^^                                                                                                                                                
    (and 5 more with the same problem)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
I already tried rebuilding the packages referenced when trying to unmerge stuff. Is it possible to "slipstream" the current Perl into the old stage3 tarball so I can just install and go?

*EDIT*

After rebuilding the packages I was able to depclean with no issues, until this...

Code: Select all

>>> Unmerging (2 of 2) dev-lang/python-3.4.1...
!!! Error: No Python interpreter available
exiting
Packages installed:   243
Packages in world:    31
Packages in system:   44
Required packages:    243
Number removed:       2
This is very odd to me, and one reason i personally despise all the scripting languages like Python and LUA.
Ever picture systemd as what runs "The Borg"?
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Wed Feb 11, 2015 4:37 pm

You seriously let depclean remove python without asking yourself?
go with eselect python list and set one that you might still have in your system.

if you have no more python, you are the depclean winner of the month.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Wed Feb 11, 2015 8:18 pm

I used "-aD --depclean" and it looked fine to me. worked on my already working systems. I just went through this again. Installed, all good. Built kernel, all good. Got into system, check! installed a few shell utilities. Tried installing X, Perl kills me. Rebuild Perl packages. Attempt a depclean. Python is removed. Other Python will not select for some reason.

Something is truly borked here. I did not have this issue until last week. Something that has been updated has hosed me. My only choice now is to put my projects on hold until we get a new stage3 tarball with the Perl stuff in it. I cannot get this working and apparently the other Python needs the new Perl to be selected? o_O
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Wed Feb 11, 2015 8:43 pm

Error messages, please. Show us what you did and what the result was. "I tried it and it didn't work," just doesn't cut it for Gentoo support.

Also, are you trying to build on the testing branch? perl-5.20 shouldn't be unmasked on stable.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Wed Feb 11, 2015 10:39 pm

I am not trying testing. I will paste every command I do in order tomorrow when I reload it, again. It is sitting at the office now and I am home. I will post every error but for size's sake I will not post successful results.

For now, here is the process I use.
  • Boot live CD
  • Partition (GPT normally)
  • Format partitions
  • Mount everything correctly, unzip the latest stage3 archive
  • Copy in my existing make.conf, kernel .config, and package.* files which I backed up before trying again
  • Chroot into the new setup
  • Do a webrsync and sync
  • Select my profile
  • Set timezone and configure the package (sys-libs/timezone-data)
  • Edit the locale.gen file and generate them
  • Select my locale (enUS.UTF8)
  • Update the environment and source the profile again
  • Emerge linux-firmware, then gentoo-sources
  • Build kernel, install modules, install kernel
  • Emerge genkernel and install initramfs
  • Emerge GRUB2, install it, and create the config
  • Emerge syslog-ng, cronie, and logrotate
  • Set syslog-ng, cronie, and sshd to start at default
  • Set root password
  • Exit chroot and reboot
  • Emerge a few shell utilities
  • Attempt to emerge X and foomatic stuff, hit issue
This method has worked a hundred times or more. This only started last week. Details will follow tomorrow.
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Feb 12, 2015 1:10 pm

This all looks good and sensible. Add one step for me, please. Between "Exit chroot and reboot" and "Emerge a few shell utilities", please add
  • Fully update the system by running

    Code: Select all

    emerge --update --deep --changed-use @selected
At the first point that perl-5.20* is mentioned (or other blockage, really), please stop & report.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Thu Feb 12, 2015 1:36 pm

Very well, I will do that now. I am in the office and I just formatted all of the partitions. I will report back, but I am in and out all day (I am the IT manager here) so please forgive any delay in response.
Ever picture systemd as what runs "The Borg"?
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Thu Feb 12, 2015 3:10 pm

Update fails also.

Code: Select all

source /etc/profile && export PS1="(chroot) $PS1"
emerge-webrsync && emerge --sync
eselect profile set 6
echo "US/Eastern" > /etc/timezone
emerge --config sys-libs/timezone-data
echo "en_US ISO-8859-1" > /etc/locale.gen && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen
eselect locale set 5
env-update && source /etc/profile && export PS1="(chroot) $PS1"
emerge linux-firmware && emerge gentoo-sources
cd /usr/src/linux
make && make modules_install && make install
emerge genkernel && genkernel --install initramfs
emerge sys-boot/grub && grub2-install /dev/sda && grub2-mkconfig -o /boot/grub/grub.cfg
emerge syslog-ng cronie logrotate
rc-update add syslog-ng default
rc-update add cronie default
rc-update add sshd default
emerge --update --deep --changed-use @selected
Your update command results in the picture below. Perl has really hosed me. I really need a new stage3 tarball with the new Perl already in it.

Picture of error
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Feb 12, 2015 3:30 pm

The new Perl is not stabilized, so it will not be in a new tarball (except by mistake). Do you have any files at all in /etc/portage/package.keywords (or package.accept_keywords)? If so, please post them. Also, please post the output of

Code: Select all

grep ACCEPT_KEYWORDS /etc/portage/make.conf
- John
Last edited by John R. Graham on Thu Feb 12, 2015 3:41 pm, edited 1 time in total.
I can confirm that I have received between 0 and 499 National Security Letters.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Thu Feb 12, 2015 3:41 pm

In my /etc/portage/package.accept_keywords I have the following.

Code: Select all

dev-util/codeblocks ~amd64
media-gfx/rawtherapee ~amd64
games-strategy/0ad ~amd64
games-strategy/0ad-data ~amd64
There is nothing in make.conf for "ACCEPT_KEYWORDS".

Oh, and I do realize that Perl isn't stabilized but it confuses me as to why it is being pulled. I guess I am just ready to solve this issue. I have a new server I need to setup for a client and I cannot do it due to this bug. I worked on this for a few days alone before posting. I like to solve things myself so I learn, and this one is bugging me. Thanks for your continued help. You and Neddy are great assets to Gentoo.
Last edited by The_Great_Sephiroth on Thu Feb 12, 2015 3:48 pm, edited 1 time in total.
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Feb 12, 2015 3:43 pm

Have you installed any of these things mentioned in package.accept_keywords yet?

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Thu Feb 12, 2015 3:49 pm

No, I posted the commands I type EXACTLY as I did them. Nothing has been installed beyond them.
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Feb 12, 2015 3:52 pm

Okay, understood. Something strange is going on. Regardless of my previous admonishment, install just wgetpaste and then get me the entire emerge output that you posted from your picture. Run

Code: Select all

emerge --update --deep --changed-use @selected | wgetpaste
and then post the resultant link.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Thu Feb 12, 2015 3:55 pm

Alright, here is the link that you requested.

*UPDATE*

It isn't uploading the error message I sent you, but if I run the command without wgetpaste I see the error.

*UPDATE*

Wait, will wgetpaste capture things output as an error instead of normal output?
Last edited by The_Great_Sephiroth on Thu Feb 12, 2015 4:00 pm, edited 1 time in total.
Ever picture systemd as what runs "The Borg"?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10897
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Feb 12, 2015 4:00 pm

Yeah; sorry. That must be written to stderr or else suppressed by pipe detection. Try again with

Code: Select all

emerge --verbose --update --deep --changed-use @selected 2>&1 | wgetpaste
- John
Last edited by John R. Graham on Thu Feb 12, 2015 4:02 pm, edited 1 time in total.
I can confirm that I have received between 0 and 499 National Security Letters.
Top
Post Reply

43 posts
  • 1
  • 2
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy