-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown dependency #3027
Comments
@StefanKarpinski Seems like we need to do something about this, so that package metadata is consistent with 0.1. Perhaps we just need to remove the offending dependency for now? |
What version of Julia are you using? |
Seems like he's using whatever's shipping with Ubuntu nowadays ;) |
I just did a remaster of metadata and it looks like someone pushed a StrPack dependency to METADATA@master, which will cause this problem. Hopefully it's fixed now. |
It's a bit of an issue that a single commit to an arbitrary package in metadata can break the whole package system. |
I an using a fresh install of the Julia package in most current Ubuntu. $ sudo dpkg -s julia On Sun, May 5, 2013 at 10:59 PM, Stefan Karpinski
|
The problem is now fixed! Thanks, |
It should be fixed now. Can you update again? @mlubin: One commit can always break everything. This is why people shouldn't be pushing anything to master. |
We should have a separate issue for the breakage in this case. |
There isn't anything to fix. |
Isn't it the case that a misspecified dependency in one package (that may not even be installed) prevents |
Only in the old, already-released 0.1.x versions – and there's nothing we can do about that now. The whole reason there's a devel branch and a master branch of metadata is so that we can make sure the master branch, which the old versions use, is safe for them to use. Pushing dependencies that the old versions don't understand to master will break them. That's why no one should be pushing anything to master at all. |
Looks like @mlubin might be right... I've just gotten started with Julia. Fresh install from .dmg on a MacBook Pro (OS X 10.8.4). When I went to install 'Winston', I got: ERROR: unknown dependency for GARCH: NLopt I've tried using Pkg.update() and I've tried deleting $Home/.julia and running Pkg.update() again. Everything is failing with the same error -- apparently not finding NLopt dependency for the GARCH package. Further, it seems that the maintainer of GARCH.jl recently updated metadata. |
I just tried adding a |
Is our problem that Pkg doesn't propagate out Julia version dependencies? GARCH depends on NLopt, but does not say that it depends on Julia 0.2. But since NLopt depends on Julia 0.2, GARCH in fact depends on Julia 0.2. |
Tried it, but no success. julia> |
You're on Julia 0.1, right? I think we have to wait until master gets remerged for any of this to affect you. Basically, GARCH should not be considered an available package for 0.1 because its dependencies make it impossible to resolve correctly. The fact that GARCH is in master is at least one of the reasons that master is now corrupt. |
Julia Version 0.1.2+113667293.r7252 |
Yeah, you're on a very old Julia, which is why the dependencies are so messed up for you. It's possible that GARCH is the only cause of our problems. But we should really be doing the propagation of Julia version dependencies automatically so that this kind of problem can't happen. |
Thanks. Best of luck. Looks like it's time for me to get up to speed with Homebrew. |
Hi,
I am using Kubuntu 13.04
$ sudo apt-get install julia
julia> Pkg.update()
Already up-to-date.
ERROR: unknown dependency for NIfTI: StrPack
in dependencies at pkg/metadata.jl:155
in ReqsStruct at pkg/resolve.jl:65
in resolve at pkg/resolve.jl:1204
in _resolve at pkg.jl:265
in anonymous at no file:524
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34
in update at pkg.jl:499
The text was updated successfully, but these errors were encountered: