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: Sun, 6 Dec 2020 00:46:07 -0600	[thread overview]
Message-ID: <07c70eb3-ce71-1017-38d3-8a45ab1ea3bf@gmail.com> (raw)
In-Reply-To: <d070ec39-6e32-d12e-2e39-c6d1718aefa5@gmail.com>

Victor Ivanov wrote:
> On 05/12/2020 10:13, Dale wrote:
>> 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.
>
> Excellent pro-tip for keeping your world file clean! While I
> personally use the reverse of this (i.e. I manually add -1 to things I
> do not want to end up in my world file) this is a lot more of a sane
> approach for the every day person or those new to Gentoo.
>
> On a side note, '--select y' is not necessary as it is implied by '-n'.
>
> One thing I would add as well is that regular 'world' cleaning is good
> practice to have regardless of the above. Every couple of months (on
> average, I don't really keep track) I tend to look at my world file
> and take note of entries that may have found their way there either
> automatically (lack of -1) or something I used to use and no longer
> need. These can be cleaned up with --deselect, followed by --depclean
> e.g.:
>
>     # emerge --deselect ATOM [ATOM...]
>     # emerge -a --depclean
>
> Last time round I only deselected 2-3 packages but that removed about
> 30 or so unnecessary dependencies, so pretty chuffed. Disk space is
> cheap these days and there's little reason to be so pedantic, but I
> tend to get quite a satisfying feeling when my system becomes 'leaner'
> so I do it anyway. Having fewer packages installed also helps speed up
> portage's dependency resolution stage during updates which is already
> an incredibly slow process (depending on CPU's single thread
> performance ofc).
>
> - Victor
>

I'll try leaving off the --select part next time.  At one point, it
would work only when both were there.  Maybe something changed???  Maybe
I had another setting that had to be overridden??? Who knows. 

I've looked through my world file a few times but never found anything
that didn't belong there.  With --oneshot being the default, I don't
have to worry about forgetting to add -1 or anything.  It's there
already.  There is on occasion a package I no longer use that I remove. 
For some, especially those new to Gentoo, adding that --oneshot is a
good move.  I've often wondered why it isn't the default. 

Hope the advice helps someone.  Wish I had it way back then.  ;-)

Dale

:-)  :-) 


  reply	other threads:[~2020-12-06  6:46 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
2020-12-05 11:06                               ` n952162
2020-12-05 13:42                               ` Victor Ivanov
2020-12-06  6:46                                 ` Dale [this message]
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=07c70eb3-ce71-1017-38d3-8a45ab1ea3bf@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