Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Circular dependency error
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
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 51

PostPosted: Wed Mar 05, 2025 3:54 pm    Post subject: Circular dependency error Reply with quote

Hi Experts -

I installed a new Gentoo on a server , rebooted and it came up cleanly. However, any package that I am trying to install , I am getting below Circular dependency error -

Quote:
[nomerge ] net-misc/rsync-3.3.0-r2::gentoo USE="acl iconv ssl xattr -examples -lz4 -rrsync -stunnel -system-zlib -verify-sig -xxhash -zstd" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
[ebuild N ] dev-libs/openssl-3.3.3:0/3::gentoo USE="asm quic -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 17,679 KiB
[ebuild N ] sys-libs/zlib-1.3.1-r1:0/1::gentoo USE="-minizip -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 1,276 KiB

Total: 187 packages (187 new), Size of downloads: 637,734 KiB

* Error: circular dependencies:

(sys-libs/libcap-2.71:0/0::gentoo, ebuild scheduled for merge) depends on
(sys-libs/pam-1.7.0_p20241230-r3:0/0::gentoo, ebuild scheduled for merge) (buildtime)
(sys-libs/libcap-2.71:0/0::gentoo, ebuild scheduled for merge) (runtime)

It might be possible to break this cycle
by applying the following change:
- sys-libs/libcap-2.71 (Change USE: -pam)

Note that this change can be reverted, once the package has been installed.

Note that the dependency graph contains a lot of cycles.
Several changes might be required to resolve all cycles.
Temporarily changing some use flag for all packages might be the better option.


please suggest what needs to be done to get this fixed. Appreciate all your help in advance.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2040

PostPosted: Wed Mar 05, 2025 4:07 pm    Post subject: Reply with quote

This is very suspicious of /var/db/pkg being empty with the small amounts of output posted. This must have been populated by the install or it will be difficult to recover from.
Is something not mounted properly? Or, conversely, is a different mount hiding this path?
Back to top
View user's profile Send private message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 51

PostPosted: Wed Mar 05, 2025 4:35 pm    Post subject: Reply with quote

Thank you very much grknight, it was the exact issue that you pointed, appreciate all your help.
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