Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's best to use <a href="/a/16566273/463897">miske's answer</a>.</p> <h1>Properly installing natecarlson's repository</h1> <p>If you really want to use natecarlson's repository, the instructions just below can do any of the following:</p> <ol> <li>set it up from scratch</li> <li>repair it if <code>apt-get update</code> gives a <code>404</code> error after <code>add-apt-repository</code></li> <li>repair it if <code>apt-get update</code> gives a <code>NO_PUBKEY</code> error after manually adding it to <code>/etc/apt/sources.list</code></li> </ol> <p>Open a terminal and run the following:</p> <pre><code>sudo -i </code></pre> <p>Enter your password if necessary, then paste the following into the terminal:</p> <pre><code>export GOOD_RELEASE='precise' export BAD_RELEASE="`lsb_release -cs`" cd /etc/apt sed -i '/natecarlson\/maven3/d' sources.list cd sources.list.d rm -f natecarlson-maven3-*.list* apt-add-repository -y ppa:natecarlson/maven3 mv natecarlson-maven3-${BAD_RELEASE}.list natecarlson-maven3-${GOOD_RELEASE}.list sed -i "s/${BAD_RELEASE}/${GOOD_RELEASE}/" natecarlson-maven3-${GOOD_RELEASE}.list apt-get update exit echo Done! </code></pre> <h1>Removing natecarlson's repository</h1> <p>If you installed natecarlson's repository (either using <code>add-apt-repository</code> or manually added to <code>/etc/apt/sources.list</code>) and you don't want it anymore, open a terminal and run the following:</p> <pre><code>sudo -i </code></pre> <p>Enter your password if necessary, then paste the following into the terminal:</p> <pre><code>cd /etc/apt sed -i '/natecarlson\/maven3/d' sources.list cd sources.list.d rm -f natecarlson-maven3-*.list* apt-get update exit echo Done! </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload