Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Switching to "unstable"
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
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Tue Jun 20, 2017 7:18 pm    Post subject: Switching to "unstable" Reply with quote

I want to switch to unstable and added ACCEPT_KEYWORDS="~amd64" to my make.conf

I do get some strange messages in output of

Code:
gentoo@gentoo ~ $ sudo emerge -uDU --with-bdeps=y @world
Calculating dependencies... done!

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

sys-libs/readline:0

  (sys-libs/readline-7.0_p3:0/7::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-libs/readline-7.0:0= required by (app-shells/bash-4.4_p12:0/0::gentoo, ebuild scheduled for merge)
    ^^                  ^^^^^^                                                                                                                                                       

  (sys-libs/readline-6.3_p8-r3:0/0::gentoo, installed) pulled in by
    >=sys-libs/readline-4.1:0/0= required by (net-misc/ntp-4.2.8_p10-r1:0/0::gentoo, installed)
                           ^^^^^                                                                                                   
    (and 4 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

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.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The ebuild selected to satisfy ">=media-libs/gexiv2-0.6.1" has unmet requirements.
- media-libs/gexiv2-0.10.6::gentoo USE="python -introspection -static-libs -test" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_4 -python3_5"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( introspection )

  The above constraints are a subset of the following complete expression:
    python? ( introspection any-of ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 ) ) test? ( python )

(dependency required by "media-gfx/gimp-2.9.4-r3::gentoo" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Am i missing something fundamental here?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


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

PostPosted: Tue Jun 20, 2017 7:36 pm    Post subject: Reply with quote

Yup. Portage output could be easier to read. This
Code:
!!! The ebuild selected to satisfy ">=media-libs/gexiv2-0.6.1" has unmet requirements.
- media-libs/gexiv2-0.10.6::gentoo USE="python -introspection -static-libs -test" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_4 -python3_5"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( introspection )
means that media-libs/gexiv2 must be built with the introspection USE flag if it's being built with the python USE flag. Change that in make.conf or package.use.

For the "multiple packages within a single slot have been pulled into the dependency graph" type errors, well, the dependency resolver is somewhat broken. Try --backtrack=100 and report back.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Tue Jun 20, 2017 7:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 753
Location: Glasgow, UK

PostPosted: Tue Jun 20, 2017 7:41 pm    Post subject: Reply with quote

gexiv2 is telling you that if you want python scripting support then you need to also enable the introspection useflag. This will be because gobject-introspection will be used to generate the python bindings. This is nothing to do with unstable and if you didn't encounter it before is purely because the package itself has changed, or your useflags have.

The readline issue is a peculiarity of emerge. Resolving dependencies is complicated, and is not guaranteed to complete in finite time, so there is a limit to the depth of the search that the dependency resolution algorithm performs. This means that sometimes, usually when a package requires a version bump of a fundamental library a long way back up the dependency tree, portage can't finish working out the dependencies before it hits the limit.

The solution is to specify a larger value by passing --backtrack=30 or so to give portage a chance to figure it out.

Also, I recommend passing -v to portage as a matter of course, it can sometimes give you the extra information you need to figure it out.

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Tue Jun 20, 2017 7:42 pm    Post subject: Reply with quote

John R. Graham wrote:
Yup. Portage output could be easier to read. This
Code:
!!! The ebuild selected to satisfy ">=media-libs/gexiv2-0.6.1" has unmet requirements.
- media-libs/gexiv2-0.10.6::gentoo USE="python -introspection -static-libs -test" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_4 -python3_5"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( introspection )
means that media-libs/gexiv2 must be built with the introspection USE flag if it's being built with the python USE flag. Change that in make.conf or package.use.

For the "multiple packages within a single slot have been pulled into the dependency graph" type errors, well, the dependency resolver is somewhat broken. Try --backtrack=100 and report back.

- John


John.
Thanks. I didnn't realize ( introspection ) is the required use flags. I thought it perhaps it was "... -introspection -static-libs -test" that was required.
I'll add this one, and have learned how to read the output more "humanly" :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54420
Location: 56N 3W

PostPosted: Tue Jun 20, 2017 7:44 pm    Post subject: Reply with quote

tuggbuss,

Turn on FEATURES= buildpkg, it will be your "get out of jail free" card when things break.
Don't update just before your system absolutely must work because it might not.

Read about FEATURES=buildpkg and emerge -K in
Code:
man make.conf
man emerge


The testing branch isn't scary if you are careful.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Tue Jun 20, 2017 7:46 pm    Post subject: Reply with quote

Telemin wrote:
gexiv2 is telling you that if you want python scripting support then you need to also enable the introspection useflag. This will be because gobject-introspection will be used to generate the python bindings. This is nothing to do with unstable and if you didn't encounter it before is purely because the package itself has changed, or your useflags have.

The readline issue is a peculiarity of emerge. Resolving dependencies is complicated, and is not guaranteed to complete in finite time, so there is a limit to the depth of the search that the dependency resolution algorithm performs. This means that sometimes, usually when a package requires a version bump of a fundamental library a long way back up the dependency tree, portage can't finish working out the dependencies before it hits the limit.

The solution is to specify a larger value by passing --backtrack=30 or so to give portage a chance to figure it out.

Also, I recommend passing -v to portage as a matter of course, it can sometimes give you the extra information you need to figure it out.

-Telemin-


This also is great info. I'll adapt this too. Thanks.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jun 20, 2017 7:59 pm    Post subject: Reply with quote

NeddySeagoon gave you a real better info.

Being stuck at first emerge output because you have enable unstable is really a hint that you should keep a way to get back to stable easy.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Tue Jun 20, 2017 8:04 pm    Post subject: Reply with quote

NeddySeagoon wrote:
tuggbuss,

Turn on FEATURES= buildpkg, it will be your "get out of jail free" card when things break.
Don't update just before your system absolutely must work because it might not.

Read about FEATURES=buildpkg and emerge -K in
Code:
man make.conf
man emerge


The testing branch isn't scary if you are careful.


I did get some other (conflict) issues, related to

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


So i'll do this another day, having time to read things through. I thought it was a "10-15 minute thing" to switch :)
But never mind, i'll get my hands dirty when i'm concentrated enough.

I have some other computers i can test things on before. Thanks for your effort and help.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Tue Jun 20, 2017 8:07 pm    Post subject: Reply with quote

krinn wrote:
NeddySeagoon gave you a real better info.

Being stuck at first emerge output because you have enable unstable is really a hint that you should keep a way to get back to stable easy.


So true, just curiosity.
I'm actually not "needing" unstable at all. But will try when i do have time to read.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54420
Location: 56N 3W

PostPosted: Tue Jun 20, 2017 8:31 pm    Post subject: Reply with quote

tuggbuss,

There is in general, no way back to stable. Your system will break horribly if you succeed in downgrading glibc.
Your choices to revert are reinstall or mask things that are ahead of stable and wait for it to catch up.

I've been running testing since May 2002 with only one or two bad experiences.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Wed Jun 21, 2017 5:24 am    Post subject: Reply with quote

NeddySeagoon wrote:
tuggbuss,

There is in general, no way back to stable. Your system will break horribly if you succeed in downgrading glibc.
Your choices to revert are reinstall or mask things that are ahead of stable and wait for it to catch up.

I've been running testing since May 2002 with only one or two bad experiences.


There is no "danger" for me running unstable, coming from Arch Linux Testning, and messed around with Debian SID without any major hiccups.
Breaking things or reinstall is not really an issue, i only have the OS on the drive, all data is on another drive.

I simply see it as a learning curve, it's educating and most of all fun. IF it breaks, and is "unfixable" (like glibc) well than i simply reinstall, learning a few more tricks on the way.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54420
Location: 56N 3W

PostPosted: Wed Jun 21, 2017 8:38 am    Post subject: Reply with quote

tuggbuss,

There are very few ways to break a gentoo install so badly that a reinstall is the only option, downgrading glibc isn't one of them.
A reinstall may be faster but in most cases it can be fixed.

With the approach you display with
tuggbuss wrote:
I simply see it as a learning curve, it's educating and most of all fun. IF it breaks, and is "unfixable" (like glibc) well than i simply reinstall, learning a few more tricks on the way.

you will be OK with Gentoo.

Its not really, if, its when. Bookmark Fix My Gentoo for when you need it.
Of course, you may not be able to get to your bookmarks then. :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Wed Jun 21, 2017 7:13 pm    Post subject: Reply with quote

NeddySeagoon wrote:
tuggbuss,

There are very few ways to break a gentoo install so badly that a reinstall is the only option, downgrading glibc isn't one of them.
A reinstall may be faster but in most cases it can be fixed.

With the approach you display with
tuggbuss wrote:
I simply see it as a learning curve, it's educating and most of all fun. IF it breaks, and is "unfixable" (like glibc) well than i simply reinstall, learning a few more tricks on the way.

you will be OK with Gentoo.

Its not really, if, its when. Bookmark Fix My Gentoo for when you need it.
Of course, you may not be able to get to your bookmarks then. :)


Thanks, again.
I have a bunch of other computers/devices i can use to read some man pages on. Iv'e bookmarked the "fix" page.

Well, now my sweet Gentoo Linux is updating to "testing" (not unstable :) )
404 packages. This will take some time. Hopefully everything runs well.
Back to top
View user's profile Send private message
Xanadu
Guru
Guru


Joined: 10 Oct 2002
Posts: 335
Location: Hour West of Philly (USA)

PostPosted: Wed Jun 21, 2017 7:16 pm    Post subject: Reply with quote

NeddySeagoon wrote:
There are very few ways to break a gentoo install so badly that a reinstall is the only option, downgrading glibc isn't one of them.
A reinstall may be faster but in most cases it can be fixed.


Agreed. If you care enough about your machine and wanting to learn more about how it works, it will keep working.

Code:

$ ls -lt --full-time /etc/ssh
total 624
(snip)
-rw------- 1 root root    545 2002-10-17 16:45:54.000000000 -0400 ssh_host_key
-rw-r--r-- 1 root root    349 2002-10-17 16:45:54.000000000 -0400 ssh_host_key.pub
-rw------- 1 root root    883 2002-10-17 16:43:11.000000000 -0400 ssh_host_rsa_key
-rw-r--r-- 1 root root    240 2002-10-17 16:43:11.000000000 -0400 ssh_host_rsa_key.pub
-rw------- 1 root root    672 2002-10-17 16:42:48.000000000 -0400 ssh_host_dsa_key
-rw-r--r-- 1 root root    620 2002-10-17 16:42:48.000000000 -0400 ssh_host_dsa_key.pub


Yes, really 2002. Hence my forum join date. As many reading this can quickly surmise, this install has seen many many many changes over the (almost) 15 years since I installed it.

(obviously different hardware back then, but same install.)

Unfortunately I accidentally deleted my emerge.log some years ago, but, it still goes back a little ways:

Code:
$ head -n1 /var/log/emerge.log
1184285954: Started emerge on: Jul 12, 2007 20:19:14



And just for funzies:

Code:
$ ls -l --full-time /README.maintainer
-rw-r--r-- 1 root root 3473 2002-05-08 15:19:08.000000000 -0400 /README.maintainer

$ tail -n5 /README.maintainer

Best Regards,

Daniel Robbins
drobbins@gentoo.org


https://archives.gentoo.org/gentoo-announce/message/c426925c15a3688740e1fcbbc32f001b


M.
_________________
I'm not a prophet or a stone-age man
I'm just a mortal with potential of a super man

-David Bowie
Back to top
View user's profile Send private message
saboya
Guru
Guru


Joined: 28 Nov 2006
Posts: 552
Location: Brazil

PostPosted: Wed Jun 21, 2017 7:41 pm    Post subject: Reply with quote

I would stick to stable and unmask specific packages that you wish to test on ~amd64, but that's just me.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Wed Jun 21, 2017 7:46 pm    Post subject: Reply with quote

Xanadu wrote:
NeddySeagoon wrote:
There are very few ways to break a gentoo install so badly that a reinstall is the only option, downgrading glibc isn't one of them.
A reinstall may be faster but in most cases it can be fixed.


Agreed. If you care enough about your machine and wanting to learn more about how it works, it will keep working.

Code:

$ ls -lt --full-time /etc/ssh
total 624
(snip)
-rw------- 1 root root    545 2002-10-17 16:45:54.000000000 -0400 ssh_host_key
-rw-r--r-- 1 root root    349 2002-10-17 16:45:54.000000000 -0400 ssh_host_key.pub
-rw------- 1 root root    883 2002-10-17 16:43:11.000000000 -0400 ssh_host_rsa_key
-rw-r--r-- 1 root root    240 2002-10-17 16:43:11.000000000 -0400 ssh_host_rsa_key.pub
-rw------- 1 root root    672 2002-10-17 16:42:48.000000000 -0400 ssh_host_dsa_key
-rw-r--r-- 1 root root    620 2002-10-17 16:42:48.000000000 -0400 ssh_host_dsa_key.pub


Yes, really 2002. Hence my forum join date. As many reading this can quickly surmise, this install has seen many many many changes over the (almost) 15 years since I installed it.

(obviously different hardware back then, but same install.)

Unfortunately I accidentally deleted my emerge.log some years ago, but, it still goes back a little ways:

Code:
$ head -n1 /var/log/emerge.log
1184285954: Started emerge on: Jul 12, 2007 20:19:14



And just for funzies:

Code:
$ ls -l --full-time /README.maintainer
-rw-r--r-- 1 root root 3473 2002-05-08 15:19:08.000000000 -0400 /README.maintainer

$ tail -n5 /README.maintainer

Best Regards,

Daniel Robbins
drobbins@gentoo.org


https://archives.gentoo.org/gentoo-announce/message/c426925c15a3688740e1fcbbc32f001b


M.


Holy heck. 15y. Iv'e worked with AS/400 with about 18 y on it's neck (even uptime around 14 y, but it's in corporate environment, different story)

This is absolutley amazing.

E: Daniel Robbins, is that "Funtoo Linux" Daniel?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Jun 21, 2017 7:52 pm    Post subject: Reply with quote

tuggbuss wrote:
E: Daniel Robbins, is that "Funtoo Linux" Daniel?

LOL because i always see him first with a Gentoo tag myself

And yes, it's him
Back to top
View user's profile Send private message
Xanadu
Guru
Guru


Joined: 10 Oct 2002
Posts: 335
Location: Hour West of Philly (USA)

PostPosted: Wed Jun 21, 2017 7:53 pm    Post subject: Reply with quote

tuggbuss wrote:
E: Daniel Robbins, is that "Funtoo Linux" Daniel?


Yes the very same. Long story short, he (for the sake of argument) started Gentoo. Some things... changed... and he left to "put the fun back into Gentoo". Hence Funtoo.

EDIT:

I found the exact quote:
https://en.wikipedia.org/wiki/Daniel_Robbins_(computer_programmer)#Formation_of_Gentoo_Linux_distribution



M.
_________________
I'm not a prophet or a stone-age man
I'm just a mortal with potential of a super man

-David Bowie


Last edited by Xanadu on Wed Jun 21, 2017 8:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Wed Jun 21, 2017 8:00 pm    Post subject: Reply with quote

Well, that was quick. Don't know if it was successful though.
Can i check if im on testing some how?

The emerge stopped after around 150 packeges, but no errors, just a prompt that i have to update 3 conf files, which i did, and rebooted fine.

Is there a way for me to check if im still on stable, or if my switch to "testing" went all the way, so to speak?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8956

PostPosted: Wed Jun 21, 2017 8:03 pm    Post subject: Reply with quote

If there is nothing left to update, and you did the previous emerge with ~arch, then by definition you are 'on' unstable.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Jun 21, 2017 8:03 pm    Post subject: Reply with quote

Xanadu wrote:
Yes the very same. Long story short, he (for the sake of argument) started Gentoo. Some things... changed... and he left to "put the fun back into Gentoo". Hence Funtoo.

He didn't really left, sure he is heading funtoo, but he is still a gentoo dev ; you cannot really leave your baby alone :)
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Wed Jun 21, 2017 8:05 pm    Post subject: Reply with quote

Xanadu wrote:
tuggbuss wrote:
E: Daniel Robbins, is that "Funtoo Linux" Daniel?


Yes the very same. Long story short, he (for the sake of argument) started Gentoo. Some things... changed... and he left to "put the fun back into Gentoo". Hence Funtoo.


M.


Aha, cool. Iv'e installed Funtoo a couple of times. It's kinda like Gentoo Linux i think.
Back to top
View user's profile Send private message
Xanadu
Guru
Guru


Joined: 10 Oct 2002
Posts: 335
Location: Hour West of Philly (USA)

PostPosted: Wed Jun 21, 2017 8:06 pm    Post subject: Reply with quote

krinn wrote:
He didn't really left, sure he is heading funtoo, but he is still a gentoo dev ; you cannot really leave your baby alone :)


Ah. OK. That's very good to know. I honestly didn't know how much involvement he still had/has with Gentoo proper. Things seemed kinda heated for a little while there quite a number of years ago and I didn't know if time healed wounds or if bridges had been burned.


M.
_________________
I'm not a prophet or a stone-age man
I'm just a mortal with potential of a super man

-David Bowie
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Wed Jun 21, 2017 8:11 pm    Post subject: Reply with quote

asturm wrote:
If there is nothing left to update, and you did the previous emerge with ~arch, then by definition you are 'on' unstable.


I did an update, and it's resuming. 245 packages left :) Going to bed, I'll catch up tomorrow.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Jun 21, 2017 8:13 pm    Post subject: Reply with quote

Xanadu wrote:
krinn wrote:
He didn't really left, sure he is heading funtoo, but he is still a gentoo dev ; you cannot really leave your baby alone :)


Ah. OK. That's very good to know. I honestly didn't know how much involvement he still had/has with Gentoo proper. Things seemed kinda heated for a little while there quite a number of years ago and I didn't know if time healed wounds or if bridges had been burned.


M.

i have just check gentoo dev list and he is not in it, but i have saw his contributions in bugzilla as a dev, he might have a special status
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