public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Multiple package instances within a single package slot
Date: Fri, 04 Oct 2013 13:01:19 +0200	[thread overview]
Message-ID: <524E9FFF.1040505@gmail.com> (raw)
In-Reply-To: <524E9D8B.4020301@wonkology.org>

On 04/10/2013 12:50, Alex Schuster wrote:
> Hi there!
> 
> Some may remember me from posting here often. But since a year, I have a
> new life, and much less time for sitting at my computer. Sigh. And my
> beloved Gentoo got a little outdated.
> 
> So, a @world update does not work. I thought I give emerge -e @world a
> try, this should sort out the problems, but this also does not go well.
> 
> I don't want to bother you with the whole lot of output emerge gives me,
> and just ask a specific question at the moment. I get the 'Multiple
> package instances within a single package slot have been pulled into the
> dependency graph, resulting in a slot conflict' message, and several
> affected packages. One example is claws:
> 
> mail-client/claws-mail:0
> 
>   (mail-client/claws-mail-3.9.0-r1::gentoo, ebuild scheduled for merge)
>   pulled in by ~mail-client/claws-mail-3.9.0 required by
>   (mail-client/claws-mail-address_keeper-1.0.7::gentoo, ebuild scheduled
>   for merge)
> 
>   (mail-client/claws-mail-3.9.2::gentoo, ebuild scheduled for merge)
>   pulled in by (no parents that aren't satisfied by other packages in
>   this slot)
> 
> Looking at the ebuild, I see that claws-mail-address_keeper rdepends on
> claws-mail-3.9.0. But being on ~amd86, 3.9.2 would be current.

No, that is not the right assumption.

Portage doesn't guess what versions are dependencies, it reads the
ebuild and does exactly what the ebuild says.

The ebuild for claws-mail-address_keeper say it depends on
~claws-mail-3.9.0, that means any revision of 3.9.0.

Portage *must not* decide to use 3.9.1 or 3.9.2, because the ebuild has
clearly told it not to.

The solution is to get the maintainer to bump the DEPENDS for that
plugin, or to use claws-mail-3.9.0, or to stop using that plugin.


emerge output is confusing. The last line you quoted is just portage
telling you that 3.9.2 would normally be the choice it would make, but
the lines above it says it's going to pick 3.9.0 instead,a nd why


> 
> I can solve this by masking versions greater than 3.9.0. Two questions:

No you can't. That will just produce different blockers

> 
> Why can't portage deal with this itself, and simply install the highest
> version that fulfills all requirements?


See above. It could deal with it if the ebuild didn't tell it something
different


> 
> And how do I notice an update to claws-mail-address_keeper that would
> allow a newer version of claws-mail? Other than remembering those masks
> and go through them once in a while?

emerge -avuND world

will tell you when updates are available


> 
> Similar problems happen with sys-boot/syslinux, pulled in by
> sys-boot/unetbootin, media-sound/jack-audio-connection-kit, pulled in by
> app-emulation/emul-linux-x86-soundlibs, and all dev-qt packages, where I
> did not yet figure out what to do.


Often with a box that is a while out of date, it is easier to just
unmerge blocking packages and add them back in. I've had this with Qt
more than once.



> 
> I am running portage 2.2.7.
> 
>     Alex
> 


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  reply	other threads:[~2013-10-04 11:06 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-04 10:50 [gentoo-user] Multiple package instances within a single package slot Alex Schuster
2013-10-04 11:01 ` Alan McKinnon [this message]
2013-10-04 11:51 ` Kerin Millar
2013-10-04 15:40   ` Alex Schuster
2013-10-04 19:39     ` Alan McKinnon
2013-10-05 15:59       ` Alex Schuster
2013-10-05 16:22         ` Bruce Hill
2013-10-05 19:51           ` Alan McKinnon
2013-10-05 18:02         ` Neil Bothwick
2013-10-05 18:30           ` Alex Schuster
2013-10-05 19:53             ` Alan McKinnon
2013-10-05 20:35             ` Neil Bothwick
2013-10-06 10:09             ` Helmut Jarausch
2013-10-06 22:01               ` Alex Schuster
2013-10-06 22:42                 ` Neil Bothwick
2013-10-04 11:56 ` Neil Bothwick
  -- strict thread matches above, loose matches on Subject: below --
2013-03-05 23:21 Valmor de Almeida
2013-03-06  1:36 ` Matt Joyce
2013-03-06  3:46 ` Walter Dnes
2013-03-06  6:39 ` Alan McKinnon
2013-03-06 20:25   ` Valmor de Almeida
2013-03-06 21:17     ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=524E9FFF.1040505@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox