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 EAC0D138206 for ; Wed, 3 Jan 2018 22:14:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C27E3E08F0; Wed, 3 Jan 2018 22:14:40 +0000 (UTC) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 44F0DE08BE for ; Wed, 3 Jan 2018 22:14:40 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id i11so268364wmf.4 for ; Wed, 03 Jan 2018 14:14:40 -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=o6jpRbz3MVesgclnjaw/4ekHK0fm0pEAYW7hvZR3VDM=; b=hjCvqR+cPvXNLuIx9XQ85l1t8xT+Eux+/qcFMqY6PQAjZQu16rYrSxoYDBQ4Ngs7qM uvEe26cf3EH/gJlgEVE3WKylrN2QCFtcTFuLZE02lYVoGuxqXM2PBLCjfOt9HzKJ0Mz4 SE067R+l//y+59mQ4kRHki6mqbHlFlqHO4g+pOaAoVfiRbOYuq/P5aeZtoAhbo800Hmx CXf4Iyqnh0xlSa5W4UtowMwBtc7cOCQbLqWg+lEbYQNvDSCz/Lp/a3B7S5JKEv2YW7e9 4iGAzPN/LqYHvIZX4cNjRv9+P2xSpipKmdM5IsFtcYxqQJFQw4VXw79RLFq2aAiz+kRH 9djQ== 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=o6jpRbz3MVesgclnjaw/4ekHK0fm0pEAYW7hvZR3VDM=; b=N3LzViwQv0ENsjMaxpqkzNLbQmMDp221rGUms0GZM+MteNzoXqMbITcP4KrviONYCv hHOHCuPfdfLvz9KJQBE1iuXJx8uox6l/om/jlxHHI9QsmP/mpqsmcNcy/JjE6GQkXvkb zQqOvnh+EKRvNMgxfeq75k24kuQ68/0A7fPW1wZPQTGcgGZcQKAMHkG6cW/atXUh/lqT 1z/DAkrDsx/91hdFpQL+mHNfN9Xcra7kCCB/abF2VfwlDnkOOwSGYuIrbx+nKFE8Fz13 QR7JZ71RtUERim8w3VIKKQevC2FJu8tnMt6L0Dd63qZB29zXvIbsvMByUl6T340+TxQZ QD5g== X-Gm-Message-State: AKGB3mK2csfxjwPIabo0RlU0sdkjkhJbOvBxWBelFOqgVdKYyCWADJ4P 760jauZByXG6vzPuxZz0atbbozNM X-Google-Smtp-Source: ACJfBovUqZTD3GrM/VHrfYx+5AoKg9mB58NJzqJznoqU54nmIF5EQCh7vrTGdjlOpJ8MWCHXAMzbvQ== X-Received: by 10.80.177.153 with SMTP id m25mr4612084edd.181.1515017678909; Wed, 03 Jan 2018 14:14:38 -0800 (PST) Received: from [172.20.0.40] ([197.101.48.133]) by smtp.googlemail.com with ESMTPSA id a16sm1162177edd.19.2018.01.03.14.14.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jan 2018 14:14:37 -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> <5A4BE1CD.4060802@youngman.org.uk> <3239C0A8-E11B-48FA-A7DF-68DE83DD3BAF@stellar.eclipse.co.uk> <5A4D515D.70302@youngman.org.uk> From: Alan McKinnon Message-ID: Date: Thu, 4 Jan 2018 00:09:08 +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: ddc69897-c440-41d9-a00d-9d8bc6956919 X-Archives-Hash: b451eedaafd2621020f4fe6fc4eb13cb On 04/01/2018 00:02, Stroller wrote: > >> On 3 Jan 2018, at 21:55, Wols Lists wrote: >> >> What would be nice, would be if "emerge --depclean" had the smarts to >> recognise that /usr/src/linux pointed to the current active kernel, and >> didn't wipe that when it cleaned out everything else :-) That way, at >> most you could have the current and latest kernel sources available >> pretty easily. > > You've jogged a long-hibernating memory - the accidental removal of the current sources tree in an accident like this may be the exact reason why I refuse to allow kernel versions to be actively emerged. I think that's a mountain and a molehill. You still have the image in /boot, config in /boot or in the running kernel, libs in /lib/modules and the bootloader is intact. Delete the sources? - Re-emerge them. 90 seconds. - Re-compile using existing config. 20 minutes So deleting the sources for the running kernel is a doh! moment. But no biggie, and certainly not cause for changing your routine (all in my own not at all humble opinion, of course) -- Alan McKinnon alan.mckinnon@gmail.com