From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 72C5F13888F for ; Wed, 14 Oct 2015 05:43:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB19321C019; Wed, 14 Oct 2015 05:43:29 +0000 (UTC) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A933221C004 for ; Wed, 14 Oct 2015 05:43:28 +0000 (UTC) Received: by wicgb1 with SMTP id gb1so215250934wic.1 for ; Tue, 13 Oct 2015 22:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=NE2H7Z/lROtFEx8MvJj79fsf88xFlcolRHz11KAvefc=; b=V1uSxoVjeaTaER3b9bjGfJjJML0SCHP4unqqJ/viwHhykkJek/Qe0QT1Mw+7m0cbU6 kwOH/heHaNrfzmTns+SBUpSr7Skv14zB5DXVj/5PYduSBrt4d3kxn8MKl2AYkzA7zoe7 WznEljFF24g1SEMYuLKhAHFu8JCxRPQgvDvs4JljEA2kDmWVGDpJHnZBxQbDUr/KQUq+ 0XIy6aMfzopZxetBOhiYvkHQCm6Qe8em8Tob2CtpJxyqtwtzbxQCPcWkRI/XwGv4bUiP VomYZjDDU8iQkXAvj0og4TRxzt41l6HdkSQZ2nxDCjnxX4LXWNrcM2Rq5DtZ5pDo3lL5 82CQ== X-Received: by 10.195.17.163 with SMTP id gf3mr1459154wjd.105.1444801407401; Tue, 13 Oct 2015 22:43:27 -0700 (PDT) Received: from [172.20.0.40] (105-237-194-214.access.mtnbusiness.co.za. [105.237.194.214]) by smtp.googlemail.com with ESMTPSA id ex17sm17711349wid.23.2015.10.13.22.43.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 22:43:26 -0700 (PDT) Subject: Re: [gentoo-user] Re: 'emerge --update @world -pv' keeps trying to upgrade to a masked package To: gentoo-user@lists.gentoo.org References: <561DA7A2.3000206@gmail.com> <561DB197.2070300@gmail.com> <561DB592.4060504@gmail.com> From: Alan McKinnon X-Enigmail-Draft-Status: N1110 Message-ID: <561DEB50.4020203@gmail.com> Date: Wed, 14 Oct 2015 07:42:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <561DB592.4060504@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 6068888a-b0b0-4cd1-9c0f-cb235793b03d X-Archives-Hash: eda9afeacff0bbcf391d91189f9cbefd On 14/10/2015 03:53, Dale wrote: > Marat BN wrote: >> Ah, I think I figured out what was the problem. Looked down further in >> the Portage output, and saw this: >> >> The following mask changes are necessary to proceed: >> (see "package.unmask" in the portage(5) man page for more details) >> # required by gnome-extra/nm-applet-1.0.6::gentoo >> # required by net-misc/networkmanager-pptp-1.0.6::gentoo[gtk] >> # required by @selected >> # required by @world (argument) >> # /etc/portage/package.mask: >> # 2015-09-19--01 >> =net-misc/networkmanager-1.0.6 >> # required by net-misc/networkmanager-pptp-1.0.6::gentoo[gtk] >> # required by @selected >> # required by @world (argument) >> # /etc/portage/package.mask: >> # 2015-09-14--01 >> =gnome-extra/nm-applet-1.0.6 >> # required by net-misc/networkmanager-1.0.6::gentoo[bluetooth] >> # required by gnome-extra/nm-applet-1.0.6::gentoo >> # required by net-misc/networkmanager-pptp-1.0.6::gentoo[gtk] >> # required by @selected >> # required by @world (argument) >> # /etc/portage/package.mask: >> # 2015-06-22--01 >> =net-wireless/bluez-5.33 >> >> >> It appears that 'net-misc/networkmanager-1.0.6' was being pulled in by >> 'gnome-extra/nm-applet-1.0.6::gentoo', >> 'net-misc/networkmanager-pptp-1.0.6::gentoo[gtk]', and so on, and these >> were just being reported further down below. >> >> So I added them to '/etc/portage/package,mask' as well and the problem >> went away. >> >> >> -- Marat >> >> -------- Original Message -------- >> Subject: 'emerge --update @world -pv' keeps trying to upgrade to a >> masked package >> From: Marat BN >> To: gentoo-user@lists.gentoo.org >> Date: 10/13/2015 05:53 PM >> >>> Hello there, >>> >>> I'm having a curious problem trying to update my system. >>> >>> I issue the command: >>> >>> emerge --update @world -pv >>> >>> >>> Portage comes back with the following: >>> >>> !!! Multiple package instances within a single package slot have been pulled >>> !!! into the dependency graph, resulting in a slot conflict: >>> >>> net-wireless/bluez:0 >>> >>> (net-wireless/bluez-4.101-r9:0/0::gentoo, installed) pulled in by >>> net-wireless/bluez:0/0= required by >>> (media-sound/pulseaudio-5.0-r7:0/0::gentoo, installed) >>> ^^^^^ >>> >>> >>> >>> >> (net-wireless/blueman-1.23-r2:0/0::maratbn, installed) >>> ^ ^ >>> >>> >>> >>> >>> (net-wireless/bluez-5.33:0/3::gentoo, ebuild scheduled for merge) >>> pulled in by >>> >=net-wireless/bluez-5 required by >>> (net-misc/networkmanager-1.0.6:0/0::gentoo, ebuild scheduled for merge) >>> ^^ ^ >>> >>> >>> >>> >>> >>> >>> But I have the following line in my '/etc/portage/package.mask': >>> >>> =net-misc/networkmanager-1.0.6:0/0::gentoo >>> >>> >>> So doesn't this tell portage not to upgrade to it? Why does it still >>> schedule it for merge? >>> >>> >>> Thanks a lot, >>> Marat >>> > > I started to post that it looked like some other package was pulling it > in but portage's output is sometimes cryptic at best. Sometimes I can > figure it out but usually, I have to get Alan or Neil to pull out their > magic decoder ring and uncrypt the thing. > > Anyway, glad you got it sorted out and all is well again. To figure out that "required by/pulled in by/installed" listing, you have to think like a programmer. That whole listing is not so much portage telling you what it will do, it's portage telling you how it got to the point where there's a problem. Think of it like debugger output - emerge runs, there's a problem and the dev asks for a memory dump of the dep tree emerge has evaluated so far. A little bit lower you find the helpful hint the some judicious unmasking might get around it. But what's really missing is a clear message about a mask. Portage is often like a 10 year old telling you why they are upset. Lots of tears and wailing, but no real description of /why/... :-) -- Alan McKinnon alan.mckinnon@gmail.com