galaxyproject / planemo-machine

A packer.io configuration for building out Galaxy (http://galaxyproject.org/) tool development environments.
10 stars 16 forks source link

ova image: conda does not have write access #78

Closed martenson closed 8 years ago

martenson commented 8 years ago
$ conda config --add channels r
$ conda config --add channels bioconda
$ conda install seqtk
Fetching package metadata: ........
Solving package specifications: .........

Package plan for installation in environment /opt/miniconda:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    seqtk-1.2                  |                0          74 KB
    conda-env-2.5.0            |           py27_0          28 KB
    ruamel_yaml-0.11.7         |           py27_0         352 KB
    conda-4.1.2                |           py27_0         198 KB
    ------------------------------------------------------------
                                           Total:         652 KB

The following NEW packages will be INSTALLED:

    ruamel_yaml: 0.11.7-py27_0 (soft-link)
    seqtk:       1.2-0         (soft-link)

The following packages will be UPDATED:

    conda:       4.0.5-py27_0 --> 4.1.2-py27_0  (soft-link)
    conda-env:   2.4.5-py27_0 --> 2.5.0-py27_0  (soft-link)

Error: Missing write permissions in: /opt/miniconda
#
# You don't appear to have the necessary permissions to install packages
# into the install area '/opt/miniconda'.
# However you can clone this environment into your home directory and
# then make changes to it.
# This may be done using the command:
#
# $ conda create -n my_root --clone=/opt/miniconda
jmchilton commented 8 years ago

This recipe does reference conda as far as I can tell - @davebx did you add this manually after the fact?

jmchilton commented 8 years ago

I've opened an untested PR that should add miniconda in a fashion local to the ubuntu user. I think this is appropriate for the tutorial and for development purposes.

martenson commented 8 years ago

seems fixed in http://images.galaxyproject.org/planemo/20160623.ova