# Juno complains about 'scl' on Linux when adding packages

**URL:** <https://discourse.julialang.org/t/juno-complains-about-scl-on-linux-when-adding-packages/9618>\
**Category:** Juno\
**Tags:** package, juno\
**Created:** [March 9, 2018, 7:16pm UTC](https://discourse.julialang.org/t/juno-complains-about-scl-on-linux-when-adding-packages/9618 "2018-03-09T19:16:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsmith/32/979_2.png) [@nsmith](https://discourse.julialang.org/u/nsmith)\
**Post date:** [March 9, 2018, 7:16pm UTC](https://discourse.julialang.org/t/juno-complains-about-scl-on-linux-when-adding-packages/9618/1 "2018-03-09T19:16:10Z")

</div>

I get the following complaint from Juno repeatedly.

```bash
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
sh: scl: line 1: syntax error: unexpected end of file
sh: error importing function definition for `scl'

```

It seems to happen when ever I try to install packages. It inhibited installation of Juno completely until I opened a separate terminal to install the relevant packages. Perhaps this is related to the version of `scl-utils` I have installed (scl-utils-2.0.2)?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [March 9, 2018, 7:35pm UTC](https://discourse.julialang.org/t/juno-complains-about-scl-on-linux-when-adding-packages/9618/2 "2018-03-09T19:35:20Z")

</div>

Apparently removing `scl-utils` is a workaround. See [here](https://github.com/AtomLinter/linter-puppet-lint/issues/68) for some more info on that and [here](https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1185565) for the underlying issue.

---

<div class="post-metadata">

**Author:** ![nsmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsmith/32/979_2.png) [@nsmith](https://discourse.julialang.org/u/nsmith)\
**Post date:** [March 9, 2018, 7:44pm UTC](https://discourse.julialang.org/t/juno-complains-about-scl-on-linux-when-adding-packages/9618/3 "2018-03-09T19:44:00Z")

</div>

Hmm, its a shame the best solution is to kill the `environment-modules` package as I use that to manage different julia version. Thanks for the speedy and accurate reply on this issue @pfitzseb.
