Skip to content
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

Sources.list is not refreshed on update #58

Open
aviks opened this issue Oct 25, 2015 · 3 comments
Open

Sources.list is not refreshed on update #58

aviks opened this issue Oct 25, 2015 · 3 comments

Comments

@aviks
Copy link

aviks commented Oct 25, 2015

The sources.list file was updated in this commit: cb12a41

When I updated WinRPM today via a Pkg.update(), it failed to build, trying to download the old URL. This turned out to be because I'd tried to do a Pkg.add("ZMQ") earlier which had loaded WinRPM and set its global variable sources in __init__.

The reason was apparent as soon as I looked at the source code, but that was after spending a frustrating couple of hours trying to figure out why the download was failing.

@tkelman
Copy link
Contributor

tkelman commented Oct 25, 2015

Did you have any local modifications making the package dirty? I don't think there's much to do here on this, though backporting JuliaLang/julia#13506 should help.

@aviks
Copy link
Author

aviks commented Oct 25, 2015

No, there were no local modifications at all. This was a relatively new julia install. Yes, JuliaLang/julia#13506 will fix this.

@aviks
Copy link
Author

aviks commented Oct 26, 2015

One way to fix it could be to read the sources.list on every WinRPM.update() call. Currently, it is only read on a __init_() and stored as a global const

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants