Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is this a circular dependency?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 64

PostPosted: Fri Feb 07, 2025 5:03 pm    Post subject: Is this a circular dependency? Reply with quote

I was trying to remove gnome keyring
Code:
# emerge --ask --depclean --verbose gnome-keyring

Calculating dependencies... done!
  gnome-base/gnome-keyring-46.2 pulled in by:
    virtual/secret-service-0 requires gnome-base/gnome-keyring

>>> No packages selected for removal by depclean
# emerge --ask --depclean --verbose virtual/secret-service

Calculating dependencies... done!
  virtual/secret-service-0 pulled in by:
    app-crypt/libsecret-0.21.4-r2 requires virtual/secret-service, =virtual/secret-service-0

>>> No packages selected for removal by depclean
# emerge --ask --depclean --verbose app-crypt/libsecret

Calculating dependencies... done!
  app-crypt/libsecret-0.21.4-r2 pulled in by:
    app-crypt/gcr-3.41.1-r2 requires >=app-crypt/libsecret-0.20
    app-crypt/gcr-4.2.1 requires >=app-crypt/libsecret-0.20

>>> No packages selected for removal by depclean
# emerge --ask --depclean --verbose app-crypt/gcr

Calculating dependencies... done!
  app-crypt/gcr-3.41.1-r2 pulled in by:
    gnome-base/gnome-keyring-46.2 requires >=app-crypt/gcr-3.27.90:0/1=[gtk], >=app-crypt/gcr-3.27.90:0=[gtk]

_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2012

PostPosted: Fri Feb 07, 2025 5:39 pm    Post subject: Reply with quote

For runtime, yes. For build time, no.
The virtual is not required at build time and app-crypt/libsecret lists the virtual as a post-install dependency as to not confuse portage.

If you want to possibly remove them, place all 4 package atoms on the command-line together
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 64

PostPosted: Fri Feb 07, 2025 5:59 pm    Post subject: Reply with quote

Thanks grknight, I think perhaps it might be impossible after all
Code:
# emerge --ask --depclean --verbose gnome-keyring virtual/secret-service app-crypt/libsecret app-crypt/gcr app-crypt/pinentry

Calculating dependencies... done!
  app-crypt/gcr-3.41.1-r2 pulled in by:
    gnome-base/gnome-keyring-46.2 requires >=app-crypt/gcr-3.27.90:0=[gtk], >=app-crypt/gcr-3.27.90:0/1=[gtk]
    gnome-base/gvfs-1.52.3 requires app-crypt/gcr:0/1=, app-crypt/gcr:0=

  app-crypt/gcr-4.2.1 pulled in by:
    app-crypt/pinentry-1.3.1 requires app-crypt/gcr:4[gtk]

  app-crypt/libsecret-0.21.4-r2 pulled in by:
    app-crypt/gcr-3.41.1-r2 requires >=app-crypt/libsecret-0.20
    app-crypt/gcr-4.2.1 requires >=app-crypt/libsecret-0.20

  app-crypt/pinentry-1.3.1 pulled in by:
    app-crypt/gnupg-2.4.7 requires app-crypt/pinentry

  gnome-base/gnome-keyring-46.2 pulled in by:
    virtual/secret-service-0 requires gnome-base/gnome-keyring

  virtual/secret-service-0 pulled in by:
    app-crypt/libsecret-0.21.4-r2 requires virtual/secret-service, =virtual/secret-service-0

>>> No packages selected for removal by depclean


I definitely don't want to get rid of gnupg
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23101

PostPosted: Fri Feb 07, 2025 6:55 pm    Post subject: Reply with quote

app-crypt/pinentry only requires app-crypt/gcr if USE=gtk is set. You say you want to remove gnome-keyring. As I read your output, if you build app-crypt/pinentry with USE=-gtk, that will remove the requirement for gcr, which will let you remove gcr, libsecret, secret-service, gnome-keyring.

Whether you are willing to remove the gtk+ related functionality of pinentry is a separate question. I use pinentry without gtk+, and have been satisfied with it.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 64

PostPosted: Fri Feb 07, 2025 8:35 pm    Post subject: Reply with quote

Thanks Hu, I tried rebuilding app-crypt/pinentry with USE=-gtk, and removed one version of gcr, but another was retained as a dependency of gnome-base/gvfs, which is required for apps like thunar and evince. It isn't important, I was just trying to do a bit of "housekeeping", but the house is as tidy as it can be, it seems. Thanks for the suggestion though.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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