-
Notifications
You must be signed in to change notification settings - Fork 97
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
Multi-arch support problem for recent Linux distro (potential solution included) #419
Comments
I can confirm this. It also happens with SPM12 and Ubuntu 22.04: generate_docker() {
docker run -i --rm repronim/neurodocker:0.9.4 generate docker \
--base-image ubuntu:22.04 \
--pkg-manager apt \
--install opts="--quiet" \
gcc \
g++ \
octave \
--spm12 version=r7771 \
--freesurfer version=7.1.1 \
--copy $conda_yml_file /tmp/ \
--miniconda \
version=latest \
yaml_file=/tmp/$conda_yml_file \
env_name=csp \
--run 'mkdir /code && chmod 777 /code && chmod a+s /code' \
--run 'mkdir /data && chmod 777 /data && chmod a+s /data' \
--run 'mkdir /output && chmod 777 /output && chmod a+s /output' \
--run 'mkdir ~root/.jupyter' \
--run 'echo c.NotebookApp.ip = \"0.0.0.0\" > ~root/.jupyter/jupyter_notebook_config.py' \
--run 'echo c.NotebookApp.allow_root=True >> ~root/.jupyter/jupyter_notebook_config.py' \
--run 'echo source activate csp >> ~root/.bashrc' \
--workdir '/code'
} E: Unable to locate package multiarch-support
The command '/bin/sh -c export TMPDIR="$(mktemp -d)" && apt-get update -qq && apt-get install -y -q --no-install-recommends bc ca-certificates curl libncurses5 libxext6 libxmu6 libxpm-dev libxt6 multiarch-support unzip && rm -rf /var/lib/apt/lists/* && _reproenv_tmppath="$(mktemp -t tmp.XXXXXXXXXX.deb)" && curl -fsSL --retry 5 -o "${_reproenv_tmppath}" http://mirrors.kernel.org/debian/pool/main/libx/libxp/libxp6_1.0.2-2_amd64.deb && apt-get install --yes -q "${_reproenv_tmppath}" && rm "${_reproenv_tmppath}" && apt-get update -qq && apt-get install --yes --quiet --fix-missing && rm -rf /var/lib/apt/lists/* && echo "Downloading MATLAB Compiler Runtime ..." && curl -fL -o "$TMPDIR/MCRInstaller.bin" https://dl.dropbox.com/s/zz6me0c3v4yq5fd/MCR_R2010a_glnxa64_installer.bin && chmod +x "$TMPDIR/MCRInstaller.bin" && "$TMPDIR/MCRInstaller.bin" -silent -P installLocation="/opt/matlab-compiler-runtime-2010a" && rm -rf "$TMPDIR" && unset TMPDIR && echo "Downloading standalone SPM12 ..." && curl -fL -o /tmp/spm12.zip https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/previous/spm12_r7771_R2010a.zip && unzip -q /tmp/spm12.zip -d /tmp && mkdir -p /opt/spm12-r7771 && mv /tmp/spm12/* /opt/spm12-r7771/ && chmod -R 777 /opt/spm12-r7771 && rm -rf /tmp/spm* && /opt/spm12-r7771/run_spm12.sh /opt/matlab-compiler-runtime-2010a/v713 quit' returned a non-zero code: 100
|
@kaczmarj - @sooyounga and I thinking about working on this, but would need some help. Would you just change the afni and spm templates? Do you have a syntax for checking the distribution? |
@djarecka - that's great. what do you want me to update in the afni and spm templates?
the linux distribution, like ubuntu or debian or centos etc? this info is in
for centos it would like like this:
|
@kaczmarj - so it looks like for some distribution I was also wondering if you have syntax for providing slightly different template for different linux distribution. |
this is a tricky one. i wonder if we could simply remove multiarch-support from the list of dependencies and test that afni still works. the other dependencies would pull in multiarch-support if they needed it. at the moment, there is no way of providing different templates for different linux distributions. |
|
This issue is stale because it has been open for 30 days with no activity. |
I think it's safe to remove multiarch from these recipes because they are not needed anymore - has anyone else tested this and can confirm? |
This issue is stale because it has been open for 30 days with no activity. |
When one is trying to install AFNI (not sure if issue is there for other packages) with a recent distribution (above debian:stretch) like this:
Then a multiarch-support error appears because the package is no longer supported. Multiarch-support is needed for the installation of libxp6 and libpng12.
I found a workaround, not sure if it is viable on a long-term base. I removed multiarch-support from the list of packages downloaded with apt-get and added a manual download and install before the installatino of libxp6 and libpng12.
So for AFNI this is what i get:
I hope this helps.
The text was updated successfully, but these errors were encountered: