Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Non Sensical Blocks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Mr Incredible
n00b
n00b


Joined: 02 Oct 2005
Posts: 4

PostPosted: Mon Oct 27, 2008 4:22 pm    Post subject: Non Sensical Blocks Reply with quote

I am getting the following blocks and of course I cannot remove the offending packages - so does anyone have any idea how to remove a block? I have run revdep-rebuild and am getting a clean result. At first I thought it was a mistake and it would correct itself after someone noticed it but it has been there for over a week now.


[ebuild U ] sys-apps/portage-2.1.4.5 [2.1.4.4]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] x11-libs/gtk+-2.14.4 [2.12.12] USE="-jpeg2k%"
[blocks B ] <gnome-base/gail-1000 (is blocking x11-libs/gtk+-2.14.4)
[blocks B ] <sys-apps/portage-2.1.5 (is blocking app-shells/bash-3.2_p39)


Thanks in Advance
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Oct 27, 2008 5:19 pm    Post subject: Reply with quote

The gtk/gail one is simple, you just need to unmask =gnome-base/gail-1000 in order to install gtk+-2.14, the reason for this is because the gail library is actually a part of the gtk+ package itself now, as of 2.14.
gnome-base/gail-1000 is actually just a dummy package, there to satisfy all the ebuilds depending on the gail package and are unaware it's supplied by gtk+ now, it doesn't actually install anything.

As for the second block, I don't know exactly why bash needs a version of portage greater than 2.1.4, but you are using an ~arch keyworded version of bash and trying to emerge a stable version of portage, so such blocks aren't completely unexpected (remember, all ebuilds and eclasses are essentially bash scripts).
To solve this, you'll either need to revert to a stable version of bash, or an ~arch keyworded version of portage, I'd recommended unmasking the 2.1* versions of portage, ie
Code:
echo '=sys-apps/portage-2.1*' > /etc/portage/package.keywords


HTH
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Mr Incredible
n00b
n00b


Joined: 02 Oct 2005
Posts: 4

PostPosted: Mon Oct 27, 2008 5:49 pm    Post subject: Reply with quote

Didn't help both blocks remain. What I would like to know is what causes these blocks and where can I go to remove them as they do not make any sense.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Oct 27, 2008 6:25 pm    Post subject: Reply with quote

Mr Incredible wrote:
Didn't help both blocks remain. What I would like to know is what causes these blocks and where can I go to remove them as they do not make any sense.
They do make sense.

You can't have any version of gnome-base/gail prior to 1000 and x11-libs/gtk+-2.14 installed on the same system because they provide some of the same libraries, they would overwrite each others files, or fail to install due to file collisions.

To see where they are blocked, you need to look at the ebuilds themselves, ie line 39 of /usr/portage/x11-libs/gtk+/gtk+-2.14.4.ebuild and line 39 of /usr/portage/app-shells/bash/bash-3.2_p39.ebuild.

If you really want to forcibly remove and therefore ignore these blocks, copy those ebuilds to an overlay, remove those lines, manifest them, then prepare to break your system.

Try the following to resolve this;
Code:
emerge -1 =gnome-base/gail-1000 =sys-apps/portage-2.1.5*


If this fails due to either of the above being masked, this is a different error and they just need to be unmasked like I suggested earlier.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Mr Incredible
n00b
n00b


Joined: 02 Oct 2005
Posts: 4

PostPosted: Tue Oct 28, 2008 12:23 pm    Post subject: Reply with quote

First off I want to state that I appreciate the assistance, however I fail to see how two essential packages can be in conflict i.e. bash and portage - that is what doesn't make any sense whatsoever and gail which is not a real package as I removed the real gail in an attempt to satisfy it, is blocking gtk+. Below is the result of running your suggested command:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
emerge -1 =gnome-base/gail-1000 =sys-apps/portage-2.1.5*
Calculating dependencies... done!

[ebuild U ] sys-apps/portage-2.1.5.6 [2.1.4.4]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] gnome-base/gail-1000 [1.22.3]
[ebuild U ] x11-libs/gtk+-2.14.4 [2.12.12] USE="-jpeg2k%"
[blocks B ] <gnome-base/gail-1000 (is blocking x11-libs/gtk+-2.14.4)
[blocks B ] <sys-apps/portage-2.1.5 (is blocking app-shells/bash-3.2_p39)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Pete
Back to top
View user's profile Send private message
fiolj
n00b
n00b


Joined: 17 Mar 2008
Posts: 45
Location: Bariloche, Argentina

PostPosted: Tue Nov 11, 2008 4:14 pm    Post subject: Reply with quote

As explained by Hopeless the problem is with the version of the packages not being compatibles rather than with the packages themselves.

For gail, it has been solved in the proposed way. See also:
https://forums.gentoo.org/viewtopic-t-710117-highlight-gail.html

I'd suggest that you try first uninstalling gail and then emerge:
Code:
emerge -1 =gnome-base/gail-1000


Regards, Juan
Back to top
View user's profile Send private message
Mr Incredible
n00b
n00b


Joined: 02 Oct 2005
Posts: 4

PostPosted: Tue Nov 11, 2008 8:34 pm    Post subject: Reply with quote

Juan

Thanks, but I already tried that and a whole lot more. Then I got fed up and decided to try another distro. I have been using Gentoo for 4 years and this is not the first time I came up against one of these. I always managed to work around them before but this one got the best of me - so I have moved on. Not sure where I will land but am giving Ubuntu a try at the moment. So long Gentoo it was good while it lasted but this last one kinda soured me. I still maintain that two basic packages such as portage and bash should never come into conflict and cause blocks. If they do someone is doing something wrong. Philosophically I still like the idea of Gentoo but this kind of thing needs to find a solution if it is ever to attract a larger audience. I may still return but I will start clean and stay with 32 bit as I can't think of a single benefit I saw in using the 64 bit just a lot of hurdles. It was however a great learning experience so I don't go away empty handed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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