View previous topic :: View next topic |
Author |
Message |
LostInGentoo Apprentice
Joined: 27 Jun 2002 Posts: 269 Location: Denmark
|
Posted: Fri Mar 22, 2013 5:08 pm Post subject: Circular dependency problem: kmod and virtual/modutils |
|
|
Hi
I'm really having problems with circular dependencies: kmod and virtual/modutils
When trying to merge:
Code: |
preben@xs36v /usr/src/linux $ sudo emerge -av1 kmod virtual/modutils kmod
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] virtual/modutils-0 0 kB
[ebuild N ] sys-apps/kmod-12-r1 USE="tools zlib -debug -doc -lzma -static-libs" 1,246 kB
Total: 2 packages (2 new), Size of downloads: 1,246 kB
* Error: circular dependencies:
(sys-apps/kmod-12-r1::gentoo, ebuild scheduled for merge) depends on
(virtual/modutils-0::gentoo, ebuild scheduled for merge) (buildtime)
(sys-apps/kmod-12-r1::gentoo, ebuild scheduled for merge) (runtime)
* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.
preben@xs36v /usr/src/linux $
|
I have tried oneshot, combinations of kmod and virtual/modutils, unmerged module-init-tools and modutils - but none of this changes the message above.
What can I do?
Last edited by LostInGentoo on Fri Mar 22, 2013 5:15 pm; edited 1 time in total |
|
Back to top |
|
|
LostInGentoo Apprentice
Joined: 27 Jun 2002 Posts: 269 Location: Denmark
|
|
Back to top |
|
|
toddaaro n00b
Joined: 22 Mar 2013 Posts: 1
|
Posted: Fri Mar 22, 2013 11:23 pm Post subject: |
|
|
I'm having the exact same issue, same kmod-modutils circular dependency. |
|
Back to top |
|
|
thanny n00b
Joined: 15 Aug 2005 Posts: 55
|
Posted: Sat Mar 23, 2013 7:50 am Post subject: |
|
|
Ran into the same thing. Don't know enough about how dependencies are specified in ebuild files to say exactly what the problem is, but I worked around it by creating an overlay for virtual/modutils (called it modutils-1 to make sure it overrides the buggy version) with all dependencies removed. I was then able to emerge kmod. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Mar 23, 2013 2:40 pm Post subject: |
|
|
USE -tools
what does that do for you? _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
LostInGentoo Apprentice
Joined: 27 Jun 2002 Posts: 269 Location: Denmark
|
Posted: Sat Mar 23, 2013 4:36 pm Post subject: |
|
|
tried the "-tools" also, and the same error...
Besides, I would understand that this would actually cause an error since virtual/modutils requires either kmod with the tools useflag or modutils sysapp or module-init-tools! However, having the tools use flag defined does not make sense to me why this causes trouble!
Regards
Preben |
|
Back to top |
|
|
asdc n00b
Joined: 03 Jul 2012 Posts: 2
|
Posted: Sat Mar 23, 2013 10:51 pm Post subject: |
|
|
I ran into the same problem as you today...
I fixed it by forcing kmod to update with no dependency checks
Code: | emerge --oneshot --nodeps kmod |
After tht my modutils update worked. I don't know how safe it is, but it worked...
Good luck. |
|
Back to top |
|
|
BlackEye l33t
Joined: 04 Dec 2002 Posts: 756 Location: Germany
|
Posted: Sun Mar 24, 2013 12:38 pm Post subject: |
|
|
After syncing the portage tree and updateing portage itself this morning the problem seems to be solved. The circular dependency is gone for me |
|
Back to top |
|
|
|