title: Alpine apk: List all available package versions
body: <p>How can I list all available package versions of a given package on Alpine Linux? </p>
  
  <p>I couldn't find anything helpful in the apk help.</p>
  
  <p><code>apk info bash</code> only shows me the latest available bash version.</p>
  
  <pre><code># apk info bash
  bash-5.0.0-r0 description:
  The GNU Bourne Again shell
  
  bash-5.0.0-r0 webpage:
  https://www.gnu.org/software/bash/bash.html
  
  bash-5.0.0-r0 installed size:
  1200128
  </code></pre>
  
  <p>Using the <code>--all</code> flag I only get some additional info for that version:</p>
  
  <pre><code># apk info --all bash
  bash-5.0.0-r0 description:
  The GNU Bourne Again shell
  
  bash-5.0.0-r0 webpage:
  https://www.gnu.org/software/bash/bash.html
  
  bash-5.0.0-r0 installed size:
  1200128
  
  bash-5.0.0-r0 depends on:
  /bin/sh
  so:libc.musl-x86_64.so.1
  so:libreadline.so.8
  
  bash-5.0.0-r0 provides:
  cmd:bash
  
  bash-5.0.0-r0 has auto-install rule:
  
  bash-5.0.0-r0 license:
  GPL-3.0-or-later
  </code></pre>
  
  <p><code>apk list</code> and <code>apk list --available</code> only list all available packages at their latest version.<br>
  So if I run <code>apk list -a | grep "^bash-\d"</code>, I only get this:</p>
  
  <pre><code># apk list -a | grep "^bash-\d"
  bash-5.0.0-r0 x86_64 {bash} (GPL-3.0-or-later)
  </code></pre>