From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2A0C138206 for ; Wed, 3 Jan 2018 22:53:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1A78E08D4; Wed, 3 Jan 2018 22:53:10 +0000 (UTC) Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::229]) (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 56CDFE07FA for ; Wed, 3 Jan 2018 22:53:10 +0000 (UTC) Received: by mail-wr0-x229.google.com with SMTP id p6so894563wrd.0 for ; Wed, 03 Jan 2018 14:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=8bsPziNlkHw2HBBCvIiQx6krEAOjc8ND5riCqbk0yEc=; b=nvJot1mTHh6MKrjnU/HcIB0YlgXD/3zWq3pCdaXtFK/2v5h+YKgzYTmUDOi9ecxjJW Bw8cy3wunwLT4ldc058hB8/onrPElKAH0W0wiiwxpnsrhQybEM4dDd1AVIlenXJP+mdv X4xf00qBGlcx+UKKfr6dpHMEUIKXafo+iay6hJQbUS7zBsRZcZp7Of1hYyIqrpC8eVYb Be7qvH4l4K7amc58zFhmDtM1qZ/0cEyijV/mtMuQdLOaXLzzV73GHKnEcev2gYm1yf25 /VPbNBJTMc5bq0ksQwriAQG+fcj9AWEA/G5vC5o1/gs4/1p6BGbk5ILYTDpAA35WFCCL L88w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8bsPziNlkHw2HBBCvIiQx6krEAOjc8ND5riCqbk0yEc=; b=Nr46O1wdCipMs4TiE2dpUOE9DmS/OEVBLpv9fdnea6JOFhzo5i602tdWafqJ+PyeXX uWZPVQ1+fp4o4q6luizZ8qLZR75JrQMw/ZubLVmNDkdr8IIUVOqHLlgsvYBYAMcHKcfL 1LN0XnkGFIKvS2hQf83+mzn4UViC58PqibG7MbBMsl7CyCADZCWnhXeUZVE7BX10uw1J IK+e51NrbzWEEPEjmbKmcLdjF0r2JQnGWRJGghYmcMMkOt18ONImdSjnR4wO5dX3Fj25 WWoK3dPmlqUfXuQsRGbpuctRgLMaxIabcgIEGxSp+wuDDvUgJaP+PcBtHwQqEah5oU6D E/HQ== X-Gm-Message-State: AKGB3mKn9KbgjbzpepLpcDJOydz2dtx4+49GMiF1p18z5Cfq/s+vJdRQ 8SEGRdhlz733PPzt8hcCiGvqWqt3 X-Google-Smtp-Source: ACJfBovSdZZV/phA6k1LjtqJ9DjejrggN5nd18drxtxGY468hWjHo1hZ9UakykNtDLslX0JpqMBgAA== X-Received: by 10.223.175.198 with SMTP id y6mr392089wrd.106.1515019988815; Wed, 03 Jan 2018 14:53:08 -0800 (PST) Received: from [172.20.0.40] ([197.101.48.133]) by smtp.googlemail.com with ESMTPSA id m201sm1962516wma.13.2018.01.03.14.53.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jan 2018 14:53:08 -0800 (PST) Subject: Re: [gentoo-user] old kernels are installed during the upgrade To: gentoo-user@lists.gentoo.org References: <2CA973AB-B583-4F4F-A0B3-0FE347A672BD@stellar.eclipse.co.uk> <20180103215332.5fe6b77a@digimed.co.uk> <1D3E7160-0997-4DE5-9EB9-DC3C2EDC62BE@stellar.eclipse.co.uk> <9c550e9a-ad38-0e6c-f32e-9dc0b6466794@gmail.com> From: Alan McKinnon Message-ID: <442b8f35-50ca-65c2-a919-f905ce19e72b@gmail.com> Date: Thu, 4 Jan 2018 00:47:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.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: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Archives-Salt: 842a2638-ee44-47f8-ae00-2a17f5ff19b1 X-Archives-Hash: 5f3e525c978fa71bc7f51b9835d75aa7 On 04/01/2018 00:41, Stroller wrote: > >> On 3 Jan 2018, at 22:11, Alan McKinnon wrote: >> >>>>> >>>>> $ grep -e source /var/lib/portage/world >>>>> sys-kernel/gentoo-sources:4.9.34 >>>> ... >>> >>> I guess this risks that emerge will try to install 4.9.34-r1 during a future update, but I don't believe I've ever experienced that. >> >> Only if the highest-versioned emerged sources are <4.9.34-r1 > > Yes, in the quoted example above I grepped my world file for sources and 4.9.34 is currently installed. > >>> >>>> If you do want to use versions, I'd recommend using ~ rather than = to >>>> pick up patch-level updates. >>> >>> What do you mean by this exactly, please? >> >> =4.9.34 selects that exact version and only that specific version >> ~4.9.34 select that version and also 4.9.34-r1. There might need to be a >> * on the end of ~4.9.34, I don;t quite recall. Answer in portage's man pages > > I thought it was something like that, but searched `man portage` for "~" more than one way, and didn't find reference to this. Am I blind? man 5 ebuild Section "Extended Atom Prefixes", it is near the top, probably first page on most screen sizes. The location is very non-obvious, I only know of it because I refr to it often once I found it -- Alan McKinnon alan.mckinnon@gmail.com