public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: n952162 <n952162@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] update fails, but I don't see why
Date: Sat, 5 Dec 2020 09:48:23 +0100	[thread overview]
Message-ID: <63e5512e-b040-51ee-06eb-b17e4bd6b68c@web.de> (raw)
In-Reply-To: <FD775ZRI.PDORU6PR.BCKWBKMX@2I7IUQ6S.4B7NAYRQ.Y76XNIU7>

On 12/4/20 11:40 PM, Jack wrote:
> You seem to not really understand how gentoo works.


Yes, that's absolutely true.


> Most of the time, yes, you do need to do a depclean.  It's pretty
> common to do it after every world update.  In general, it gets rid of
> things emerged as a dependency of something else, and no longer
> needed, either because you explicitly removed what pulled them in, or
> that package was modified to no longer need it.


Yes, I've read that many times.  It's just this line in emerge(1) that
unsettles:

      WARNING: Inexperienced users are advised to use --pretend or --ask
with this
               option in order to see a preview of which packages will
be uninstalled.  Al-
               ways study the list of packages to be cleaned for any
obvious mistakes. Note
               that packages listed in package.provided (see portage(5))
may be removed  by
               depclean, even if they are part of the world set.


>>
> Do you understand why it shows separate lines for "selected" and
> "omitted"


No.  Did I miss that in my readings of the documentation?



> You need to check this list carefully.  If it is going to remove
> anything you really want to keep, add it to the world file.  In cases
> where it is removing old version(s), you should be fine, unless you
> know some reason the old one is still necessary for you, but this
> seems unlikely.
>>
>> All selected packages: =sys-kernel/gentoo-sources-5.4.66
>> =media-libs/glu-9.0.1 =sys-devel/llvm-8.0.1 =app-text/openjade-1.3.2-r9
>> =media-libs/portmidi-217-r3 =virtual/cargo-1.37.0
>> =dev-python/sqlalchemy-1.3.3 =sys-devel/gcc-8.3.0-r1
>> =sys-devel/llvm-9.0.1 =dev-python/sphinxcontrib-websupport-1.1.0
>> =sys-devel/clang-runtime-8.0.1 =x11-libs/wxGTK-3.0.4-r2
>> =media-gfx/potrace-1.15 =x11-drivers/xf86-video-dummy-0.3.8
>> =sys-apps/rescan-scsi-bus-1.57-r1 =dev-libs/libcroco-0.6.13
>> =dev-go/blackfriday-1.2_p20150720 =sys-devel/gcc-9.2.0-r2
>> =app-admin/metalog-20181125 =sys-libs/cracklib-2.9.7
>> =sys-kernel/gentoo-sources-5.4.60 =sys-devel/clang-runtime-10.0.0
>> =sys-kernel/gentoo-sources-5.4.38 =dev-python/typing-3.7.4.3
>> =dev-lang/vala-0.42.7 =media-libs/gegl-0.3.34
>> =media-gfx/mypaint-brushes-1.3.0-r1 =virtual/shadow-0
>> =dev-python/bz2file-0.98 =sys-libs/compiler-rt-10.0.0
>> =dev-python/asn1crypto-0.22.0 =virtual/glu-9.0-r2
>> =sys-devel/binutils-2.32-r1 =sys-apps/sg3_utils-1.42
>> =sys-kernel/gentoo-sources-4.19.72 =virtual/python-enum34-2
>> =x11-drivers/xf86-video-intel-2.99.917_p20190301 =dev-lang/mujs-1.0.5
>> =app-editors/nano-4.2 =dev-python/pyblake2-1.1.2
>> =app-admin/killproc-2.13-r1 =sys-libs/compiler-rt-sanitizers-10.0.0
>> =dev-python/whoosh-2.7.4 =x11-drivers/xf86-video-vesa-2.4.0
>> =sys-libs/compiler-rt-8.0.1 =dev-python/sphinx_rtd_theme-0.2.4
>> =sys-fs/btrfs-progs-4.19 =sys-devel/clang-8.0.1 =virtual/libffi-3.3_rc0
>> =sys-devel/clang-runtime-9.0.1 =x11-libs/libXScrnSaver-1.2.3
>> =sys-devel/clang-9.0.1 =virtual/modutils-0 =sys-apps/sdparm-1.10
>> =media-libs/freeglut-3.2.1 =dev-lang/vala-0.46.7
>> =x11-drivers/xf86-input-keyboard-1.9.0
>> =x11-drivers/xf86-video-nouveau-1.0.16
>> =dev-go/sanitized-anchor-name-0_pre20151027
>> =x11-drivers/xf86-video-fbdev-0.5.0 =x11-drivers/xf86-input-mouse-1.9.3
>> =app-text/docbook-sgml-dtd-3.0-r4 =sys-libs/compiler-rt-9.0.1
>> =dev-libs/iniparser-3.1-r1 =sys-devel/binutils-2.33.1-r1
>> =virtual/python-typing-0-r1 =sys-libs/compiler-rt-sanitizers-8.0.1
>> =dev-python/pyxattr-0.6.0-r1 =app-text/docbook-dsssl-stylesheets-1.79-r4
>> =dev-libs/libpthread-stubs-0.4-r1 =virtual/python-ipaddress-1.0-r1
>> =sys-libs/compiler-rt-sanitizers-9.0.1
>>

"You need to check this list carefully. "  I haven't a clue what to
check for.  I didn't add any of those.  I presume that anything I
explicitly added would be in the world file.

Is the point here that I should write a script that always ensures that
nothing in my world file has crept into this list somehow?

I'm sure there's lots of things that I need that I didn't explicitly
add.  But I wouldn't know what they are, in order to check for them. 
... okay, I see gcc up there.  I know I need gcc.  Presumably, it's just
one slot that's going to be removed. So I need to check if another slot
will remain populated.  That's presumably in the previous emerge output
somewhere.  Is that the point?

I mean, at one point of time or another, everything there was needed,
whether I recognize it or not.  That's not a sufficient test - whether
it's obvious to me or not.


>> >>> 'Selected' packages are slated for removal.
>> >>> 'Protected' and 'omitted' packages will not be removed.
> Explicitly stated, just so you know.
>

Okay, indeed, I did miss that and it's significance.  I'll look again
and see if I dare doing a depclean.


> Jack
>


  reply	other threads:[~2020-12-05  8:47 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 [this message]
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
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=63e5512e-b040-51ee-06eb-b17e4bd6b68c@web.de \
    --to=n952162@web.de \
    --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