Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-misc/tracker:0 blocking preserved-rebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rafspiny
n00b
n00b


Joined: 03 Mar 2015
Posts: 14
Location: Amsterdam

PostPosted: Wed Feb 07, 2024 6:57 am    Post subject: app-misc/tracker:0 blocking preserved-rebuild Reply with quote

Hi all,

I can't wrap my head around this problem. I am trying to run preserved-rebuild, but it fails. See beneath
Code:

$ sudo emerge -pv @preserved-rebuild
These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.81 s (backtrack: 0/20).


emerge: there are no ebuilds to satisfy "app-misc/tracker:0".
(dependency required by "@preserved-rebuild" [argument])

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


So, I checked. app-misc/tracke is installed
Code:

$ emerge -pv app-misc/tracker

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.55 s (backtrack: 0/20).

[ebuild   R    ] app-misc/tracker-3.6.0:3/0::gentoo  USE="miners -gtk-doc -stemmer -test -vala" 2,501 KiB

Total: 1 package (1 reinstall), Size of downloads: 2,501 KiB

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


So I checked the ebuild
Code:

SLOT="3/0" # libtracker-sparql-3.0 soname version


If I read that correctly the sot is 3 and subslot is 0. So portage is correct in saying there are no ebuild to satisfy app-misc/tracker:0

Then I went checking who is depending on this ebuild.

Code:

$ equery d app-misc/tracker
 * These packages depend on app-misc/tracker:
app-cdr/brasero-3.12.3 (tracker ? app-misc/tracker:3)
app-misc/tracker-miners-3.6.2 (>=app-misc/tracker-3.6_rc:3)
gnome-base/gnome-extra-apps-44.4 (tracker ? >=app-misc/tracker-3.5.3)
gnome-base/nautilus-45.2.1-r1 (>=app-misc/tracker-3.0:3)
media-plugins/grilo-plugins-0.3.16 (tracker ? app-misc/tracker:3)
net-misc/gnome-online-miners-3.34.0-r1 (>=app-misc/tracker-2:0/2.0)


I believe that this is happening because I originally had a gnome profile but not not all those packages are still available.

Code:

emerge -pv app-misc/tracker-miners gnome-base/nautilus net-misc/gnome-online-miners

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 1.32 s (backtrack: 0/20).


emerge: there are no ebuilds to satisfy "net-misc/gnome-online-miners".

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


What would be the correct set of action to fix this?


Adding the emerge --info just in case.
Code:

Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-11.2.0, glibc-2.38-r10, 6.1.57-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.57-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-8250U_CPU_@_1.60GHz-with-glibc2.38
KiB Mem:     7909840 total,   1789840 free
KiB Swap:   15683580 total,  14166972 free
Timestamp of repository gentoo: Fri, 02 Feb 2024 20:30:01 +0000
Head commit of repository gentoo: b63c83deb3c7ddcadcdace5f68d7d5956e2ec910
Head commit of repository enlightenment-live: 5bc85a72a923d62b42765cb00fef14af40392dc9

Timestamp of repository nordvpn: Wed, 17 Jan 2024 05:33:08 +0000
Head commit of repository nordvpn: d90184c4f5f1ee26906d6bb488983b87c1787aa7

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.9.16-r1::gentoo, 3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.8-r1::gentoo
sys-devel/binutils:        2.37_p1::gentoo, 2.39-r5::gentoo, 2.40-r5::gentoo, 2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           13.0.0::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             11.2.0::gentoo, 12.3.1_p20230526::gentoo, 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            13.0.0::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

enlightenment-live
    location: /data/projects/enlightenment-live
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/enlightenment-live.git
    masters: gentoo
    priority: 0
    volatile: True

nordvpn
    location: /var/db/repos/nordvpn
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nordvpn.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @FREE @BINARY-REDISTRIBUTABLE @GPL-COMPATIBLE @FSF-APPROVED"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=skylake -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac aalib acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups curl dbus dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python readline sdl seccomp sound spell split-usr ssl startup-notification svg sysprof systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan vvapi wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en-GB it nl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_9 python3_10 python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel i965 iris fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS



Thanks in advance for the support you can gave me.
_________________
Quemadmodum, magnus luctator est, non qui omnes numeros nexusque perdidicit,quorum usus sub adversario rarus est,sed qui in uno se aut altero bene ac diligenter exercuit et eorum occasiones intentus expectat,sic in hoc studio multa delectant,pauca vincunt
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30921
Location: here

PostPosted: Wed Feb 07, 2024 7:05 am    Post subject: Reply with quote

What does the emerge -cp net-misc/gnome-online-miners command output?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
rafspiny
n00b
n00b


Joined: 03 Mar 2015
Posts: 14
Location: Amsterdam

PostPosted: Wed Feb 07, 2024 7:41 am    Post subject: Reply with quote

Code:

emerge -cp net-misc/gnome-online-miners

Calculating dependencies... done!
>>> Calculating removal order...

>>> These are the packages that would be unmerged:

 net-misc/gnome-online-miners
    selected: 3.34.0-r1
   protected: none
     omitted: none

All selected packages: =net-misc/gnome-online-miners-3.34.0-r1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   1253
Packages in world:    79
Packages in system:   49
Required packages:    1252
Number to remove:     1


Is just removing it the solution then?
_________________
Quemadmodum, magnus luctator est, non qui omnes numeros nexusque perdidicit,quorum usus sub adversario rarus est,sed qui in uno se aut altero bene ac diligenter exercuit et eorum occasiones intentus expectat,sic in hoc studio multa delectant,pauca vincunt
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30921
Location: here

PostPosted: Wed Feb 07, 2024 7:44 am    Post subject: Reply with quote

Yes, no package depend on it and I don't think you use it as a standalone program.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
rafspiny
n00b
n00b


Joined: 03 Mar 2015
Posts: 14
Location: Amsterdam

PostPosted: Wed Feb 07, 2024 9:12 pm    Post subject: Reply with quote

I cleaned up. Unfortunately, I face the same problem.
It looks like no other package is depending on the 0 slot. But I can't pass this.

Code:

$ equery d app-misc/tracker
 * These packages depend on app-misc/tracker:
app-cdr/brasero-3.12.3 (tracker ? app-misc/tracker:3)
app-misc/tracker-miners-3.6.2 (>=app-misc/tracker-3.6_rc:3)
media-plugins/grilo-plugins-0.3.16 (tracker ? app-misc/tracker:3)


How can I understand which package is requiring the 0 slot?
_________________
Quemadmodum, magnus luctator est, non qui omnes numeros nexusque perdidicit,quorum usus sub adversario rarus est,sed qui in uno se aut altero bene ac diligenter exercuit et eorum occasiones intentus expectat,sic in hoc studio multa delectant,pauca vincunt
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Wed Feb 07, 2024 9:13 pm    Post subject: Reply with quote

You should always run a world upgrade, depclean, then preserved-rebuild -- as otherwise, preserved-rebuild may try to do things which are otherwise eligible for depclean (and may not even be re-emergeable).
Back to top
View user's profile Send private message
rafspiny
n00b
n00b


Joined: 03 Mar 2015
Posts: 14
Location: Amsterdam

PostPosted: Wed Feb 07, 2024 9:24 pm    Post subject: Reply with quote

Thanks. I did run update `world`
Code:

sudo emerge --ask --update --newuse --deep --with-bdeps=y @world
Password:

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 28.92 s (backtrack: 0/20).


!!! The following installed packages are masked:
- dev-lang/lua-5.4.4-r103::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Nothing to merge; quitting.

raffaele@tantalis ~ $



But when I ran depclean
Code:

All selected packages: =dev-util/espionage-9999 =dev-ruby/xmlrpc-0.3.2-r1 =dev-lang/python-3.9.16-r1 =sys-devel/clang-runtime-15.0.7 =dev-libs/libgnome-games-support-1.8.2 =media-libs/libdiscid-0.6.4 =dev-ruby/net-telnet-0.2.0 =media-libs/grilo-0.3.16 =media-gfx/eog-45.2 =net-libs/libzapojit-0.0.3 =dev-qt/qttest-5.15.2-r10 =app-text/xmltoman-0.6 =sys-devel/lld-15.0.7 =dev-qt/qtdeclarative-5.15.2-r14 =gui-libs/gtksourceview-5.10.0 =app-admin/apache-tools-2.4.58 =sys-devel/llvm-15.0.7-r3 =x11-libs/libwnck-43.0-r1 =app-text/cmark-0.30.3 =app-arch/file-roller-43.1 =www-client/epiphany-44.6 =app-text/evince-45.0 =media-sound/sound-juicer-3.40.0 =dev-python/inflect-6.0.4 =sys-devel/clang-13.0.0 =dev-libs/libgdata-0.18.1-r1 =dev-libs/libsass-3.6.5 =media-gfx/qrencode-4.1.1 =dev-perl/XML-Twig-3.520.0-r1 =dev-libs/libisofs-1.5.6_p1 =sys-devel/lld-16.0.6 =media-libs/gd-2.3.3-r4 =dev-python/calver-2022.06.26 =app-arch/rpm2targz-2021.03.16 =app-arch/pax-20201030 =sys-kernel/gentoo-sources-6.1.57 =net-libs/libsoup-2.74.3 =gnome-extra/sushi-45.0 =dev-libs/folks-0.15.6 =x11-libs/gtksourceview-4.8.4 =app-misc/equate-9999 =dev-python/autocommand-2.2.2 =media-libs/gegl-0.4.32 =dev-python/python-efl-9999 =sys-devel/gcc-12.3.1_p20230526 =gui-libs/libgedit-gtksourceview-299.0.4 =net-misc/vinagre-3.22.0-r3 =dev-libs/libburn-1.5.6 =dev-qt/qtwayland-5.15.2-r16 =net-libs/rest-0.8.1 =dev-perl/Tie-IxHash-1.230.0-r1 =dev-libs/libdazzle-3.40.0 =dev-vcs/egitu-9999 =media-libs/musicbrainz-5.1.0 =sys-kernel/gentoo-sources-6.1.31 =games-board/four-in-a-row-3.38.1 =sys-kernel/gentoo-sources-6.1.46 =www-servers/apache-2.4.58 =acct-group/avahi-0-r2 =dev-python/m2crypto-0.39.0-r1 =acct-group/apache-0-r3 =dev-perl/X11-Protocol-0.560.0-r2 =media-plugins/gst-plugins-v4l2-1.20.6 =dev-libs/libgee-0.20.6-r1 =media-libs/cogl-1.22.8-r2 =media-libs/clutter-1.26.4-r1 =sys-devel/clang-toolchain-symlinks-15-r2 =acct-group/netdev-0-r2 =sys-devel/binutils-2.37_p1 =net-libs/libgfbgraph-0.2.5 =dev-libs/libdaemon-0.14-r4 =app-editors/gedit-46.1-r1 =dev-qt/qtwidgets-5.15.2-r12 =sys-devel/llvm-toolchain-symlinks-15-r1 =dev-util/sysprof-capture-3.36.0-r1 =dev-libs/double-conversion-3.1.5 =sys-libs/compiler-rt-13.0.0 =media-plugins/gst-plugins-gdkpixbuf-1.20.6 =games-puzzle/hitori-44.0 =sys-libs/libunwind-1.7.2 =net-libs/libgrss-0.7.0 =dev-lang/spidermonkey-78.15.0 =dev-python/pydantic-1.10.7 =dev-python/zipp-3.11.0 =dev-libs/inih-57-r1 =x11-libs/libXres-1.2.2 =media-libs/taglib-1.13.1 =dev-libs/apr-1.7.4 =dev-python/pyxdg-0.28 =dev-cpp/gflags-2.2.2 =sys-libs/compiler-rt-sanitizers-13.0.0 =dev-qt/qtnetwork-5.15.2-r13 =dev-qt/qtcore-5.15.2-r11 =sys-kernel/gentoo-sources-6.1.67 =net-libs/telepathy-glib-0.24.2 =dev-python/appdirs-1.4.4-r2 =app-text/scdoc-1.11.2-r1 =app-text/gspell-1.12.2 =media-plugins/grilo-plugins-0.3.16 =net-irc/express-9999 =mail-client/evolution-3.50.2 =dev-lang/vala-0.50.9 =app-misc/jq-1.7_pre20201109 =media-libs/libnsgif-0.2.1-r3 =media-libs/libgphoto2-2.5.30 =dev-perl/XML-XPath-1.480.0 =dev-perl/Text-Iconv-1.700.0-r3 =dev-libs/apr-util-1.6.3 =mail-filter/bogofilter-1.2.5-r1 =sys-devel/binutils-2.40-r5 =net-libs/libcloudproviders-0.3.2 =dev-lang/sassc-3.6.2 =sys-devel/lld-toolchain-symlinks-15-r2 =dev-python/six-1.16.0-r1 =media-video/cheese-44.1 =dev-lang/ruby-2.6.9 =dev-util/sysprof-3.48.0 =dev-lang/spidermonkey-102.10.0 =dev-util/sysprof-common-3.48.0 =gui-libs/libgedit-amtk-5.8.0 =games-board/tali-40.9 =app-editors/ecrire-9999 =sys-devel/clang-15.0.7-r3 =acct-user/avahi-0-r2 =media-libs/clutter-gst-3.0.27-r2 =sys-libs/compiler-rt-15.0.7 =dev-lang/ruby-2.7.5 =media-libs/aalib-1.4_rc5-r9 =media-gfx/exiv2-0.28.1-r2 =media-libs/clutter-gtk-1.8.4-r1 =dev-python/ssl-fetch-0.4-r1 =net-libs/webkit-gtk-2.42.4-r600 =dev-qt/qtxml-5.15.2-r10 =dev-libs/weston-10.0.0 =media-plugins/gst-plugins-taglib-1.20.6 =dev-qt/qtdbus-5.15.2-r10 =gui-libs/libhandy-1.8.2 =dev-ruby/webrick-1.7.0 =sys-libs/compiler-rt-sanitizers-15.0.7 =gnome-base/gvfs-1.52.1 =app-cdr/brasero-3.12.3 =sys-kernel/gentoo-sources-6.1.53-r1 =dev-util/cmocka-1.1.5 =dev-libs/oniguruma-6.9.7.1 =app-misc/c_rehash-1.7-r1 =sys-devel/clang-runtime-13.0.0 =net-im/telepathy-mission-control-5.16.6 =dev-libs/qqwing-1.3.4-r1 =x11-libs/libxklavier-5.4-r1 =dev-lang/vala-0.52.5 =dev-python/importlib-metadata-6.0.0 =dev-libs/libcdio-2.1.0-r1 =media-gfx/eluminance-9999 =net-dns/avahi-0.8-r7 =dev-lang/go-bootstrap-1.16.6 =dev-libs/libcdio-paranoia-2.0.1 =virtual/perl-Time-HiRes-1.977.500 =dev-libs/gom-0.4 =app-misc/tracker-2.3.6-r1 =sys-auth/seatd-0.7.0-r1 =dev-libs/libmanette-0.2.6 =sys-devel/llvm-13.0.0 =media-video/gnome-video-effects-0.6.0 =sys-devel/lld-toolchain-symlinks-16-r2 =sys-devel/binutils-2.39-r5 =dev-libs/libportal-0.6 =virtual/jpeg-100-r1 =dev-libs/libpeas-1.36.0 =media-libs/libv4l-1.22.1 =dev-perl/Net-DBus-1.2.0 =media-video/totem-43.0-r1 =media-gfx/shotwell-0.32.4 =games-puzzle/lightsoff-40.0.1 =dev-build/netsurf-buildsystem-1.9 =sys-kernel/gentoo-sources-5.15.11 =media-libs/audiofile-0.3.6-r4 =media-gfx/ephoto-9999 =dev-util/sysprof-capture-3.48.0 =dev-qt/qtchooser-66-r1 =sys-apps/man-pages-posix-2017a =media-plugins/gst-plugins-gtk-1.20.6 =sys-apps/baobab-45.0 =net-wireless/crda-4.14 =dev-libs/libgweather-40.0 =sci-libs/gsl-2.7.1-r2 =media-libs/gexiv2-0.14.2 =www-apache/mod_dnssd-0.6-r2 =media-plugins/gst-plugins-jpeg-1.20.6 =dev-lang/ruby-3.0.6-r2 =app-crypt/seahorse-43.0-r3 =dev-qt/qtgui-5.15.2-r15 =media-libs/babl-0.1.88 =gui-libs/tepl-6.8.0 =games-board/iagno-3.38.1-r1 =games-puzzle/quadrapassel-40.2 =games-puzzle/five-or-more-3.32.3 =gui-libs/gdk-pixbuf-loader-webp-0.0.7 =dev-qt/qtsvg-5.15.2-r11 =net-libs/neon-0.32.4-r1 =media-libs/libmediaart-1.9.6-r1 =games-puzzle/swell-foop-41.1 =acct-user/apache-0-r3 =media-plugins/gst-plugins-vpx-1.20.6 =sys-devel/gcc-11.2.0

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   1200
Packages in world:    78
Packages in system:   49
Required packages:    996
Number to remove:     204
raffaele@tantalis ~ $ sudo emerge -pv --depclean


Full log here: https://pastebin.com/bZVyVAnT
Sorry it was too long to paste here.

That is not right. Removing gcc I currently use, the kernel sources and a lot of other things I use.
I think I am unraveling a different problem looking at depclean output.
_________________
Quemadmodum, magnus luctator est, non qui omnes numeros nexusque perdidicit,quorum usus sub adversario rarus est,sed qui in uno se aut altero bene ac diligenter exercuit et eorum occasiones intentus expectat,sic in hoc studio multa delectant,pauca vincunt
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Wed Feb 07, 2024 11:00 pm    Post subject: Reply with quote

No, depclean is critical to: a) run regularly; b) run before preserved-rebuild. It is not optional.

You should emerge --noreplace things you want to keep because you're currently using it. You really shouldn't be using an old version of GCC 11 though, you should use the latest version instead (even the latest GCC 11). You can also --exclude gentoo-sources if you want instead, as it can't read what 'eselect kernel' points to.
Back to top
View user's profile Send private message
rafspiny
n00b
n00b


Joined: 03 Mar 2015
Posts: 14
Location: Amsterdam

PostPosted: Tue Mar 19, 2024 9:18 pm    Post subject: Reply with quote

sam_ wrote:
No, depclean is critical to: a) run regularly; b) run before preserved-rebuild. It is not optional.

You should emerge --noreplace things you want to keep because you're currently using it. You really shouldn't be using an old version of GCC 11 though, you should use the latest version instead (even the latest GCC 11). You can also --exclude gentoo-sources if you want instead, as it can't read what 'eselect kernel' points to.


Thanks! I used `noreplace` and fixed the list of packages.
I ran the commands again.

Code:

sudo emerge --depclean

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 *
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence of this, it often becomes necessary to run
 * `emerge --update --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
Packages installed:   1194
Packages in world:    264
Packages in system:   49
Required packages:    1194
Number removed:       0


depclean is ok now. I try to run @preserved-rebuild

Code:

raffaele@tantalis ~ $ sudo  emerge @preserved-rebuild

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
Dependency resolution took 1.59 s (backtrack: 0/20).


emerge: there are no ebuilds to satisfy "dev-libs/libgweather:2".
(dependency required by "@preserved-rebuild" [argument])


A got the same problem on a different package. If I try to install the package again
Code:

>>> Recording dev-libs/libgweather in "world" favorites file...
--- replaced obj /usr/share/doc/libgweather-4.4.0/NEWS.bz2
>>> Completed (1 of 1) dev-libs/libgweather-4.4.0::gentoo
--- replaced dir /usr/share/doc
 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/msgpack-6.0.0-r1
 *  - /usr/lib64/libmsgpackc.so.2
 *  - /usr/lib64/libmsgpackc.so.2.0.0
 *      used by /usr/bin/eovim (app-editors/eovim-9999)
>>> package: media-libs/libjxl-0.9.1-r1
 *  - /usr/lib64/libjxl.so.0.8
 *  - /usr/lib64/libjxl.so.0.8.2
 *      used by /usr/lib64/evas/modules/image_loaders/jxl/v-1.27/module.so (dev-libs/efl-9999)
 *      used by /usr/lib64/evas/modules/image_savers/jxl/v-1.27/module.so (dev-libs/efl-9999)
 *  - /usr/lib64/libjxl_threads.so.0.8
 *  - /usr/lib64/libjxl_threads.so.0.8.2
 *      used by /usr/lib64/evas/modules/image_loaders/jxl/v-1.27/module.so (dev-libs/efl-9999)
 *      used by /usr/lib64/evas/modules/image_savers/jxl/v-1.27/module.so (dev-libs/efl-9999)



Equery results
Code:

raffaele@tantalis ~ $ equery d dev-libs/libgweather
 * These packages depend on dev-libs/libgweather:
gnome-base/gnome-settings-daemon-45.0 (>=dev-libs/libgweather-4.2.0:4)
gnome-extra/evolution-data-server-3.50.2-r1 (weather ? >=dev-libs/libgweather-4.2.0:4)
raffaele@tantalis ~ $ equery d dev-libs/libgweather:4
 * These packages depend on dev-libs/libgweather:
gnome-base/gnome-settings-daemon-45.0 (>=dev-libs/libgweather-4.2.0:4)
gnome-extra/evolution-data-server-3.50.2-r1 (weather ? >=dev-libs/libgweather-4.2.0:4)
raffaele@tantalis ~ $ equery d dev-libs/libgweather:2
 * These packages depend on dev-libs/libgweather:



I tried to see if I had any package in the tree with that dependency
Code:

raffaele@tantalis ~ $ grep -RHn -P 'dev-libs/libgweather[\d\.-]+:2' /var/db/repos/gentoo/
raffaele@tantalis ~ $ grep -RHn -P 'dev-libs/libgweather[\d\.-]+:4' /var/db/repos/gentoo/ | head -n 3
/var/db/repos/gentoo/gnome-base/gnome-applets/gnome-applets-3.46.0.ebuild:28:   >=dev-libs/libgweather-4.2.0:4=
/var/db/repos/gentoo/gnome-base/gnome-applets/gnome-applets-3.50.0.ebuild:28:   >=dev-libs/libgweather-4.2.0:4=
/var/db/repos/gentoo/gnome-base/gnome-panel/gnome-panel-3.46.0.ebuild:28:   >=dev-libs/libgweather-4.2.0:4=
raffaele@tantalis ~ $

I could not find any.

Code:

ls -lha /usr/lib64/libgweather*
lrwxrwxrwx 1 root root   19 Dec 30  2021 /usr/lib64/libgweather-3.so -> libgweather-3.so.16
lrwxrwxrwx 1 root root   23 Dec 30  2021 /usr/lib64/libgweather-3.so.16 -> libgweather-3.so.16.0.0
-rwxr-xr-x 1 root root 191K Dec 30  2021 /usr/lib64/libgweather-3.so.16.0.0
lrwxrwxrwx 1 root root   18 Mar 19 22:01 /usr/lib64/libgweather-4.so -> libgweather-4.so.0
lrwxrwxrwx 1 root root   24 Mar 19 22:01 /usr/lib64/libgweather-4.so.0 -> libgweather-4.so.0.400.0
-rwxr-xr-x 1 root root 190K Mar 19 22:01 /usr/lib64/libgweather-4.so.0.400.0

/usr/lib64/libgweather:
total 1012K
drwxr-xr-x   2 root root    8 Dec 30  2021 .
drwxr-xr-x 147 root root  40K Mar 19 22:01 ..
-rw-r--r--   1 root root 600K Dec 30  2021 Locations.bin

/usr/lib64/libgweather-4:
total 1.1M
drwxr-xr-x   2 root root    8 Feb 17 19:53 .
drwxr-xr-x 147 root root  40K Mar 19 22:01 ..
-rw-r--r--   1 root root 631K Mar 19 22:01 Locations.bin


I cannot find anything depending on libgweather:2. Any suggestions on how to proceed?
_________________
Quemadmodum, magnus luctator est, non qui omnes numeros nexusque perdidicit,quorum usus sub adversario rarus est,sed qui in uno se aut altero bene ac diligenter exercuit et eorum occasiones intentus expectat,sic in hoc studio multa delectant,pauca vincunt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum