Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot emerge xorg suddenly...
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Tue Feb 10, 2015 10:42 pm    Post subject: Cannot emerge xorg suddenly... Reply with quote

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:

!!! 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"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Tue Feb 10, 2015 10:47 pm    Post subject: Reply with quote

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:

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:

~ $ 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"?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Feb 10, 2015 10:53 pm    Post subject: Reply with quote

See
Code:
man perl-cleaner
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Feb 11, 2015 2:17 pm    Post subject: Reply with quote

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"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Feb 11, 2015 2:32 pm    Post subject: Reply with quote

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"?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Feb 11, 2015 2:44 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Feb 11, 2015 3:01 pm    Post subject: Reply with quote

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"?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Feb 11, 2015 3:19 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Feb 11, 2015 3:43 pm    Post subject: Reply with quote

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 :)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Feb 11, 2015 3:48 pm    Post subject: Reply with quote

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

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Feb 11, 2015 3:53 pm    Post subject: Reply with quote

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

!!! 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:

>>> 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"?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Feb 11, 2015 4:37 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Feb 11, 2015 8:18 pm    Post subject: Reply with quote

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"?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Feb 11, 2015 8:43 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Feb 11, 2015 10:39 pm    Post subject: Reply with quote

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"?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Feb 12, 2015 1:10 pm    Post subject: Reply with quote

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:
    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.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Thu Feb 12, 2015 1:36 pm    Post subject: Reply with quote

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"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Thu Feb 12, 2015 3:10 pm    Post subject: Reply with quote

Update fails also.
Code:

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"?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Feb 12, 2015 3:30 pm    Post subject: Reply with quote

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:
grep ACCEPT_KEYWORDS /etc/portage/make.conf
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Thu Feb 12, 2015 3:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Thu Feb 12, 2015 3:41 pm    Post subject: Reply with quote

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

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.
_________________
Ever picture systemd as what runs "The Borg"?


Last edited by The_Great_Sephiroth on Thu Feb 12, 2015 3:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Feb 12, 2015 3:43 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Thu Feb 12, 2015 3:49 pm    Post subject: Reply with quote

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"?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Feb 12, 2015 3:52 pm    Post subject: Reply with quote

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:
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.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Thu Feb 12, 2015 3:55 pm    Post subject: Reply with quote

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?
_________________
Ever picture systemd as what runs "The Borg"?


Last edited by The_Great_Sephiroth on Thu Feb 12, 2015 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Feb 12, 2015 4:00 pm    Post subject: Reply with quote

Yeah; sorry. That must be written to stderr or else suppressed by pipe detection. Try again with
Code:
emerge --verbose --update --deep --changed-use @selected 2>&1 | wgetpaste
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Thu Feb 12, 2015 4:02 pm; edited 1 time in total
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
Goto page 1, 2  Next
Page 1 of 2

 
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