public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] update fails, but I don't see why
Date: Sat, 5 Dec 2020 04:13:28 -0600	[thread overview]
Message-ID: <92b2ae56-16e5-0f2e-ae8f-c8b3e9adea7e@gmail.com> (raw)
In-Reply-To: <c3174d60-d3c1-bbbf-a5ce-02dbdcb75200@web.de>

n952162 wrote:
> On 12/5/20 10:06 AM, n952162 wrote:
>>
>> I understand now that you've checked this list for me.  That is really
>> helpful.  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.  Read
that as, I learned the hard way.  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.  That helps keep the
world file clean since you won't have packages in the world file that
shouldn't be there.  If later you want to add a package to the world
file, you have to specify that you want it added.  If it is already
installed, you can do a emerge -n --select y <package name> and it adds
it to the world file.  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.  The way this happens
is really simple and common.  Let's say you doing a update after syncing
and a dependency package is giving you trouble.  You need to install a
package individually so that you can help move emerge along with the
updates, perhaps due to a hard block.  Thing is, unless you remember 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.  When you
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="--with-bdeps y --backtrack=100 --keep-going -v -j5
--quiet-build=n --oneshot --unordered-display"


Also, there is times where you want a specific version to remain
installed.  One example of this, a currently in use kernel version.  I'm
currently running gentoo-sources 5.6.7.  Since I may need to rebuild the
kernel to add a driver or something, I want that version to remain when
running --depclean.  The way to do that is this:

emerge -n --select y =sys-kernel/gentoo-sources-5.6.7


That will tell --depclean to not remove that package version.  That same
tactic can be used for any slotted package.  You could use that with gcc
if for example some program will only compile with a earlier version of
gcc.  You can have the new version of gcc but also have a older
version.  I'm pretty sure there is a way to tell emerge to use the older
gcc for that one package too.  I think that can be done in a env file.

Hope that info helps. 

Dale

:-)  :-) 


  reply	other threads:[~2020-12-05 10:13 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 20:33 [gentoo-user] update fails, but I don't see why n952162
2020-12-03 20:48 ` antlists
2020-12-03 21:04   ` Matt Connell (Gmail)
2020-12-03 21:06 ` tastytea
2020-12-03 21:11   ` Adam Carter
2020-12-04  8:13     ` n952162
2020-12-07 12:31       ` John Covici
2020-12-07 12:59         ` Arve Barsnes
2020-12-07 13:07           ` John Covici
2020-12-03 22:04   ` Victor Ivanov
2020-12-03 23:08   ` Neil Bothwick
2020-12-04  8:41   ` n952162
2020-12-04  8:53     ` Arve Barsnes
2020-12-04  9:10       ` antlists
2020-12-04  9:35       ` n952162
2020-12-04 10:07         ` Arve Barsnes
2020-12-04 19:52           ` n952162
2020-12-04 20:00             ` n952162
2020-12-04 20:25               ` n952162
2020-12-04 21:49                 ` Arve Barsnes
2020-12-04 22:13                   ` n952162
2020-12-04 22:19                     ` n952162
2020-12-04 22:40                       ` Jack
2020-12-05  8:48                         ` n952162
2020-12-06 12:32                           ` Neil Bothwick
2020-12-05  9:06                         ` n952162
2020-12-05  9:41                           ` n952162
2020-12-05 10:13                             ` Dale [this message]
2020-12-05 11:06                               ` n952162
2020-12-05 13:42                               ` Victor Ivanov
2020-12-06  6:46                                 ` Dale
2020-12-12 22:08                           ` n952162
2020-12-12 22:35                             ` Neil Bothwick
2020-12-13  0:09                               ` Dan Egli
2020-12-13 19:31                                 ` n952162
2020-12-13 19:48                                   ` n952162
2020-12-13 20:49                                     ` Arve Barsnes
2020-12-13 19:56                                   ` cal
     [not found]                               ` <32af647f-a0e1-77e7-ff0f-4a5495e45f6b@web.de>
2020-12-13  8:18                                 ` Neil Bothwick
2020-12-13  8:57                                   ` n952162
2020-12-13  9:55                                     ` Michael
2020-12-13 21:10                                       ` n952162
2020-12-13 21:51                                         ` Dale
2020-12-14  0:04                                         ` Michael
2020-12-14  6:58                                           ` n952162
2020-12-13 10:07                                   ` n952162
2020-12-13 10:09                                     ` n952162
2020-12-13 22:10                                     ` Walter Dnes
2020-12-20 16:49                                     ` Peter Humphrey
2020-12-13 18:58                                   ` n952162
2020-12-13 19:48                                     ` Mark Knecht
2020-12-13 20:06                                       ` Dale
2020-12-13 21:02                                         ` n952162
2020-12-13 21:14                                           ` n952162
2020-12-13 21:40                                             ` Dale
2020-12-14  6:38                                               ` n952162
2020-12-13 21:31                                           ` Dale
2020-12-14  3:46                                             ` [gentoo-user] " Grant Edwards
2020-12-14  6:47                                             ` [gentoo-user] " n952162
2020-12-13 21:39                                           ` antlists
2020-12-14  6:50                                             ` n952162
2020-12-13 23:41                                           ` Neil Bothwick
2020-12-13 23:35                                     ` Neil Bothwick
2020-12-14  3:54                                     ` [gentoo-user] " Grant Edwards
2020-12-14  6:54                                       ` n952162
2020-12-14  8:43                                         ` Neil Bothwick
2020-12-14  8:51                                         ` Dale
2020-12-14 10:17                                           ` Wols Lists
2020-12-14 12:55                                             ` n952162
2020-12-14 16:32                                               ` Michael
2020-12-14 23:38                                               ` antlists
2020-12-14 23:47                                                 ` Grant Edwards
2020-12-13  8:49                               ` [gentoo-user] " n952162
2020-12-04 22:46                       ` Neil Bothwick
2020-12-05  8:54                         ` n952162
2020-12-06 12:27                           ` Neil Bothwick
2020-12-04 10:08       ` Adam Carter
2020-12-29 22:07 ` [gentoo-user] update fails, but I don't see why [PROGRESS] n952162
2020-12-29 22:16   ` n952162
2020-12-29 22:32     ` Dale
2020-12-29 22:55     ` Neil Bothwick
2020-12-30  0:05       ` Michael
2020-12-30  0:21         ` Dale
2020-12-30  7:26           ` n952162
2020-12-30  7:22         ` n952162
2020-12-30  9:53           ` Michael
2020-12-30  7:42         ` n952162
2020-12-30  8:35           ` Arve Barsnes
2020-12-30 11:56             ` n952162

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=92b2ae56-16e5-0f2e-ae8f-c8b3e9adea7e@gmail.com \
    --to=rdalek1967@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