title: Failed to fetch packages from jonathonf repository while running Dockerfile from AzureDevOps
body: <p>I have a Dockerfile which is getting the packages from a source called jonathonf but it's failing to download some packages from this repository. Could any one please help me with the solution? I have tried very hard to resolve this issue but I am unable to resolve it.</p>
  
  <p><strong>Dockerfile</strong></p>
  
  <pre><code>FROM ubuntu:16.04
  LABEL maintainer="Praveen"
  
  # Install Python 3.6, Node &amp; Yarn
  RUN apt-get update -y \
    &amp;&amp; apt-get install -y software-properties-common curl git \
    &amp;&amp; add-apt-repository ppa:jonathonf/python-3.6 \
    #These three lines are added to resolve jonathonf issue
    #&amp;&amp; add-apt-repository ppa:deadsnakes/ppa \
    #&amp;&amp; apt-get update -y \
    #&amp;&amp; apt-get install python3.6 -y \
    #&amp;&amp; apt-get npm \
    #These three lines are added to resolve jonathonf issue
    #&amp;&amp; add-apt-repository ppa:deadsnakes/ppa \
    &amp;&amp; curl --silent --location https://deb.nodesource.com/setup_10.x | bash - \
    &amp;&amp; curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
    &amp;&amp; echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
    &amp;&amp; apt-get update -y \
    &amp;&amp; apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv nodejs --no-install-recommends yarn \
    &amp;&amp; apt-get clean \
    &amp;&amp; python3.6 -m pip install pip --upgrade \
    &amp;&amp; python3.6 -m pip install wheel
  
  # Install BigARTM
  WORKDIR /tmp
  RUN apt-get update -y \
    &amp;&amp; apt-get install -y libboost-all-dev python3-setuptools cmake \
    &amp;&amp; pip install numpy scipy pandas protobuf==3.0.0 tqdm \
    &amp;&amp; git clone --branch=v0.9.0 https://github.com/bigartm/bigartm.git \
    &amp;&amp; cd bigartm &amp;&amp; mkdir build &amp;&amp; cd build \
    &amp;&amp; cmake -DPYTHON=python3.6 -DCMAKE_INSTALL_PREFIX=/usr/local .. \
    &amp;&amp; make &amp;&amp; make install
  ENV ARTM_SHARED_LIBRARY=/usr/local/lib/libartm.so
  
  # Install Model
  WORKDIR /www
  COPY application/python_model/requirements.txt ./python_model/requirements.txt
  RUN pip install --no-cache-dir -r ./python_model/requirements.txt \
    &amp;&amp; python3.6 -m spacy download en \
    &amp;&amp; python3.6 -m nltk.downloader punkt stopwords averaged_perceptron_tagger
  
  # Install NodeJS App
  ADD application/package.json application/yarn.lock ./
  RUN npm install -g yarn \
    &amp;&amp; yarn install \
    &amp;&amp; yarn cache clean
  
  ADD application ./
  
  CMD ["yarn", "start"]
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>apt-get update
  Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Ign:2 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease
  Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
  Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
  Ign:5 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial Release
  Hit:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
  Ign:7 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
  Ign:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
  Ign:7 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
  Ign:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
  Ign:7 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
  Ign:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
  Ign:7 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
  Ign:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
  Ign:7 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
  Ign:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
  Err:7 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
    403  Forbidden
  Ign:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
  Reading package lists...
  W: The repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial Release' does not have a Release file.
  E: **Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/xenial/main/binary-amd64/Packages  403  Forbidden**
  E: Some index files failed to download. They have been ignored, or old ones used instead.
  Error executing command, exiting
  The command '/bin/sh -c apt-get update -y   &amp;&amp; apt-get install -y software-properties-common curl git   &amp;&amp; add-apt-repository ppa:jonathonf/python-3.6   &amp;&amp; curl --silent --location https://deb.nodesource.com/setup_10.x | bash -   &amp;&amp; curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -   &amp;&amp; echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list   &amp;&amp; apt-get update -y   &amp;&amp; apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv nodejs --no-install-recommends yarn   &amp;&amp; apt-get clean   &amp;&amp; python3.6 -m pip install pip --upgrade   &amp;&amp; python3.6 -m pip install wheel' returned a non-zero code: 1
  </code></pre>
  
  <p><strong>Error after trying ubuntu:18.04</strong>:</p>
  
  <pre><code>Step 10/22 : ADD application/package.json application/yarn.lock ./
   ---&gt; ba08da3d1daa
  Step 11/22 : RUN npm install -g yarn   &amp;&amp; yarn install   &amp;&amp; yarn cache clean
   ---&gt; Running in 72517b8173b6
  npm ERR! code EEXIST
  npm ERR! syscall symlink
  npm ERR! path ../lib/node_modules/yarn/bin/yarn.js
  npm ERR! dest /usr/bin/yarn
  npm ERR! errno -17
  npm ERR! EEXIST: file already exists, symlink '../lib/node_modules/yarn/bin/yarn.js' -&gt; '/usr/bin/yarn'
  npm ERR! File exists: /usr/bin/yarn
  npm ERR! Remove the existing file and try again, or run npm
  npm ERR! with --force to overwrite files recklessly.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2019-12-30T10_10_54_161Z-debug.log
  The command '/bin/sh -c npm install -g yarn   &amp;&amp; yarn install   &amp;&amp; yarn cache clean' returned a non-zero code: 239
  ##[error]The command '/bin/sh -c npm install -g yarn   &amp;&amp; yarn install   &amp;&amp; yarn cache clean' returned a non-zero code: 239
  ##[error]The process '/usr/bin/docker' failed with exit code 239
  </code></pre>