Circular dependency problem
Affected Version
yay v12.5.0 - libalpm v15.0.0
Describe the bug
When I try to install ruby-rails from the AUR, this happens: -> ruby-railsruby-activemodel circular dependencies not allowed -> ruby-actionpackruby-actionview circular dependencies not allowed -> ruby-actionpackruby-railties circular dependencies not allowed -> ruby-railsruby-activemodel circular dependencies not allowed -> ruby-actionpackruby-actionview circular dependencies not allowed -> ruby-actionpackruby-railties circular dependencies not allowed AUR Explicit (1): ruby-rails-8.0.2-1 AUR Dependency (10): ruby-actionmailer-8.0.2-1, ruby-activerecord-8.0.2-1, ruby-actioncable-8.0.2-1, ruby-sprockets-rails-3.5.2-1, ruby-sprockets-4.2.1-3, ruby-actionpack-8.0.2-5, ruby-actionview-8.0.2-2, ruby-websocket-1.2.11-1, ruby-railties-8.0.2-3, ruby-activemodel-8.0.2-1 AUR Check Dependency (5): ruby-selenium-webdriver-4.33.0-1, ruby-rack-cache-1.17.0-1, ruby-capybara-3.40.0-1, ruby-useragent-0.16.11-1, ruby-bcrypt-3.1.20-4 Sync Dependency (18): ruby-nio4r-2.7.4-3, ruby-mail-2.8.1-7, ruby-websocket-driver-0.8.0-1, ruby-concurrent-1.3.4-4, ruby-xpath-3.2.0-5, ruby-rails-html-sanitizer-1.6.2-3, ruby-regexp_parser-2.10.0-2, ruby-addressable-2.8.7-2, ruby-rack-test-2.2.0-2, ruby-erubi-1.13.1-3, ruby-nokogiri-1.18.8-1, ruby-rack-3.1.16-1, ruby-rubyzip-2.4.1-1, ruby-rails-dom-testing-2.3.0-1, ruby-mini_mime-1.1.5-3, ruby-method_source-1.1.0-3, ruby-thor-1.3.2-4, ruby-activesupport-8.0.2-1 Sync Check Dependency (6): ruby-launchy-3.1.1-1, ruby-msgpack-1.8.0-2, ruby-rackup-2.2.1-3, ruby-rack-session-2.1.0-2, ruby-sqlite3-2.6.0-3, ruby-builder-3.2.4-6 Sync Make Dependency (2): ruby-rspec-3.13.1-1, ruby-rake-compiler-1.3.1-1 :: [1mPKGBUILD up to date, skipping download: ruby-rails[0m :: [1mPKGBUILD up to date, skipping download: ruby-activerecord[0m :: [1mPKGBUILD up to date, skipping download: ruby-actioncable[0m :: [1mPKGBUILD up to date, skipping download: ruby-sprockets-rails[0m :: [1mPKGBUILD up to date, skipping download: ruby-actionmailer[0m :: [1mPKGBUILD up to date, skipping download: ruby-sprockets[0m :: [1mPKGBUILD up to date, skipping download: ruby-actionpack[0m :: [1mPKGBUILD up to date, skipping download: ruby-actionview[0m :: [1mPKGBUILD up to date, skipping download: ruby-capybara[0m :: [1mPKGBUILD up to date, skipping download: ruby-selenium-webdriver[0m :: [1mPKGBUILD up to date, skipping download: ruby-rack-cache[0m :: [1mPKGBUILD up to date, skipping download: ruby-railties[0m :: [1mPKGBUILD up to date, skipping download: ruby-useragent[0m :: [1mPKGBUILD up to date, skipping download: ruby-activemodel[0m :: [1mPKGBUILD up to date, skipping download: ruby-websocket[0m :: [1mPKGBUILD up to date, skipping download: ruby-bcrypt[0m 16 ruby-rails (Build Files Exist) 15 ruby-actioncable (Build Files Exist) 14 ruby-sprockets-rails (Build Files Exist) 13 ruby-capybara (Build Files Exist) 12 ruby-selenium-webdriver (Build Files Exist) 11 ruby-railties (Build Files Exist) 10 ruby-useragent (Build Files Exist) 9 ruby-activerecord (Build Files Exist) 8 ruby-actionmailer (Build Files Exist) 7 ruby-actionview (Build Files Exist) 6 ruby-rack-cache (Build Files Exist) 5 ruby-activemodel (Build Files Exist) 4 ruby-sprockets (Build Files Exist) 3 ruby-websocket (Build Files Exist) 2 ruby-actionpack (Build Files Exist) 1 ruby-bcrypt (Build Files Exist) ==> Packages to cleanBuild? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==>
Reproduction Steps
- try to install ruby-rails from the AUR.
Expected behavior
Install ruby-rails.
Output
The installation stops midway
I am having the same issue - I think perhaps yay doesn't support circular dependencies? It does say "circular dependencies not allowed"?
Ah, here we go - it seems to just be a major mess with rails in general. https://aur.archlinux.org/packages/ruby-rails (see the pinned comment)