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 5E8691382C5 for ; Sat, 5 Dec 2020 11:05:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6632AE0908; Sat, 5 Dec 2020 11:05:43 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.14]) (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 B4DB7E08F3 for ; Sat, 5 Dec 2020 11:05:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1607166329; bh=g2anvJeF59XT99Hi1B36Hbkw7tJV7dhPnEcEKRbyxKQ=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=mB0IwbhqsEeLhwnwWMq9ClTjJAAwftMijR11N+71304rFkbBWDQFswARhvcB0IdTR D9DAO8P0eFUpvW8o4v5hIbimfyW3gT29f4aNCALRYhhtwHwwuFZSpr3JlVJYMs9ulk kw4gReO1fWPJWhpgLekr2dTtcUiFU4QB9BWiO9oU= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.178.101] ([92.195.198.203]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MN87U-1kniIS3lxg-006dP4 for ; Sat, 05 Dec 2020 12:05:29 +0100 Subject: Re: [gentoo-user] update fails, but I don't see why To: gentoo-user@lists.gentoo.org References: <92b2ae56-16e5-0f2e-ae8f-c8b3e9adea7e@gmail.com> From: n952162 Message-ID: <9654eaa3-4b60-d125-a414-816a133501f6@web.de> Date: Sat, 5 Dec 2020 12:06:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <92b2ae56-16e5-0f2e-ae8f-c8b3e9adea7e@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Provags-ID: V03:K1:7jXBhE+C67sCyg2pixR6ZQuXiyNi1WBpMljdiRvSP03GWTJJ/vu zZRFKenXoSCPjvl4ynX66LhJYT/olphC2Qjiof5iHX8dktn0IqPa/VJKA0AyjCm+9SzcUXt zf5EVMKs4bQbeXOfwiTxlPHao7ci3KaqMeIIJ8ikkBqMsbxg/iCCShKrphTfkSHrd3Mbacy W4ysH20LSMRemoVzi61mA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hcBQKLmIr9g=:CsD6QoPlZ5wzbzpgZmlRs1 a6cuZ/FNYm6j+jwIh8rTar8lSJIWUKjEAGzZCstR4bEZmlWlbfwLE6uFhnpasMpHsxY0J5yLF ScT7vSLvCcj2IKIiDFQkaPhIOOMBoCEMxSfKwwWxAyZE4WQVVPkSRdy+dhf5C9D6hK5YTbiTy nxLW335arenlmcpfgf3fKIG9ovdK7emC27xQsSizmxA6DnycRXZRAqrD4mklLcG2TxieI2Wof nYh1H6TfqL8qcSpFLq7I2gPYqpxOWSTefcIxSDvU6wqi3DUtxMoiLHyfBfzyLiSkiPfGXGi2G dSe5lTDyag0Miu7eAGctgaGdGhV5uf+cNsR7ZOsKkpWuRB7SX7h7s9bRTB6aVqkPlQPhG/JQG N/jPvf5eah6x9XpzKzsLdRpTV/oZgaF5dZOSuFzzXzdsH1W3ZhmYOmjQTZZZhYyrhSJFjwaW3 u0HXyou81RoOjaDNXr9HFDRdTMFlnflg+OEliwhBuCZ4FFTIteYL/jaJiUm1Ds6ZJziN7z8ts kDXnnWT4tndkZsIwuCgZBSZT1MKBpquXjMnmZIwPRadjSOTHRpzIzQncb3+sz8HgbhHbdWIez TVHiNgBLR9cBVses5rKfWGu63xoiySc+OmZKCrB6YjPb/ey9MN9i/W8qR6HSdNp+d/gi8bG/n SI4Y+Hh/ZT3boFyj3yNv596z/38bbaAh9zkurbMMh0YPzk9VFSXMGJq+MR58k5d01kHTbE7au nn06OYCq6Dayc2wDJCztk9rYmT0nFlNAFBeKMXbI2u64Slk3grVd+tTE09RsETw8VACMIuZFT Y4yU4vYary8mj4yEidizV8aafSomzFtnVgoLiGs6F723Pp01ZrhexZ2sHIbuUi7nONp5Zwhhd bpU9WFLMNLF1rajJjSqg== X-Archives-Salt: 8ca2c5ae-c957-4dcf-abbb-65edec9fecb1 X-Archives-Hash: 2cd50565d98e32dcef7062b446b8d7b0 On 12/5/20 11:13 AM, Dale wrote: > n952162 wrote: >> On 12/5/20 10:06 AM, n952162 wrote: >>> I understand now that you've checked this list for me.=C2=A0 That is r= eally >>> helpful.=C2=A0 Thank you. >>> >> (in that it shows me how to go about it). >> >> > > Advice from a long term user who didn't do this in the beginning.=C2=A0 = Read > that as, I learned the hard way.=C2=A0 Once you get Gentoo installed and= all > the packages you want installed completed, it is wise to add the > --oneshot option to the defaults in make.conf.=C2=A0 That helps keep the > world file clean since you won't have packages in the world file that > shouldn't be there.=C2=A0 If later you want to add a package to the worl= d > file, you have to specify that you want it added.=C2=A0 If it is already > installed, you can do a emerge -n --select y and it adds > it to the world file.=C2=A0 It will then be maintained automatically. > > When you don't do this, you end up with packages in the world file that > shouldn't be there and it causes problems later.=C2=A0 The way this happ= ens > is really simple and common.=C2=A0 Let's say you doing a update after sy= ncing > and a dependency package is giving you trouble.=C2=A0 You need to instal= l a > package individually so that you can help move emerge along with the > updates, perhaps due to a hard block.=C2=A0 Thing is, unless you remembe= r to > include the --oneshot option, it adds that package to your world file. > From then on, emerge wants to treat it like a package you installed and > not a dependency that something else originally pulled in.=C2=A0 When yo= u > have to specify a version, it gets even worse because it can cause > blockages. > > This is the line in my make.conf that you may want to consider: > > > EMERGE_DEFAULT_OPTS=3D"--with-bdeps y --backtrack=3D100 --keep-going -v = -j5 > --quiet-build=3Dn --oneshot --unordered-display" > > > Also, there is times where you want a specific version to remain > installed.=C2=A0 One example of this, a currently in use kernel version.= =C2=A0 I'm > currently running gentoo-sources 5.6.7.=C2=A0 Since I may need to rebuil= d the > kernel to add a driver or something, I want that version to remain when > running --depclean.=C2=A0 The way to do that is this: > > emerge -n --select y =3Dsys-kernel/gentoo-sources-5.6.7 > > > That will tell --depclean to not remove that package version.=C2=A0 That= same > tactic can be used for any slotted package.=C2=A0 You could use that wit= h gcc > if for example some program will only compile with a earlier version of > gcc.=C2=A0 You can have the new version of gcc but also have a older > version.=C2=A0 I'm pretty sure there is a way to tell emerge to use the = older > gcc for that one package too.=C2=A0 I think that can be done in a env fi= le. > > Hope that info helps. > > Dale > > :-)=C2=A0 :-) > Yeah, I'll give that a try.