• [gentoo-user] Re: problem with emerge depclean after world update

    From Nuno Silva@21:1/5 to John Covici on Sat Oct 1 12:00:04 2022
    On 2022-09-30, John Covici wrote:

    Hi. So, when I tried to do my emerge depclean after my world update,
    which went through with no problems, I get the following message:

    Calculating dependencies... done!
    * Dependencies could not be completely resolved due to
    * the following required packages not being installed:
    *
    * >=app-text/poppler-0.16.0:0/123=[cairo] pulled in by:
    * app-misc/tracker-miners-3.4.0

    But I have:

    ebuild R ] app-text/poppler-22.09.0:0/124::gentoo USE="cairo cxx introspection jpeg jpeg2k lcms png qt5 tiff utils -boost -cjk -curl
    -debug -doc -nss -verify-sig"
    and
    ebuild R ] app-misc/tracker-miners-3.4.0:3::gentoo USE="exif gif gstreamer iso jpeg networkmanager pdf playlist rss (seccomp) tiff
    upower xml -cue -ffmpeg -gsf -iptc -raw -test -xmp -xps"

    So, what have I done wrong this time -- or is it some kind of bug
    somewhere?

    Thanks in advance for any suggestions.

    When was tracker-miners-3.4.0 last built? It RDEPENDS on [1]:

    ">=app-text/poppler-0.16.0:=[cairo]"

    So if tracker-miners was built with poppler:0/123, and if I'm
    understanding "man 5 ebuild" correctly, it will require a 0/123-slotted
    version of poppler to be installed. Given that tracker-miners accepts
    any later version, rebuilding it will hopefully be enough.

    [1] https://gitweb.gentoo.org/repo/gentoo.git/tree/app-misc/tracker-miners/tracker-miners-3.4.0.ebuild#n47

    --
    Nuno Silva

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Edwards@21:1/5 to Wol on Mon Oct 3 16:20:01 2022
    On 2022-09-30, Wol <antlists@youngman.org.uk> wrote:

    Does that mean an update typically cleans a replaced package
    automagically?

    Yes (except for slotted packages). A "normal" upgrade emerge removes
    the old version.

    I thought that usually they got left behind and that was
    why you needed depclean - to remove all the old versions?

    Nope (except sometimes for slotted packages).

    Depclean is for clearing out stuff that was installed automagically as
    a dependancy but now doesn't need to be installed at all because

    1. Whataver pulled it in as dependency got manually removed.

    2. A package's dependencies got changed.

    Certainly that's what I remember of depclean of old - the list of stuff
    being cleaned was mostly old versions of what was installed.

    That happens for slotted packages and for things like kernel sources.

    On my systems, the only things that typically get removed by depclean
    are old versions of gentoo-sources and the occasional old slot of
    binutils (or whatever).

    --
    Grant

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)