<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2166/18/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?focusedCommentId=18415809#comment-18415809">Asterisk Packages</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~pabelanger">Paul Belanger</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>you don't have write permissions for /usr/lib, try:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false">$ mkdir -p ~/packages
$ cd ~/packages
$ DEB_BUILD_OPTIONS="debug" apt-get -b source asterisk</pre>
</div></div>
    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/wiki/display/~roxy"
                          class="url fn confluence-userlink" data-username="roxy"
                   >herman</a>:</strong><br/>
        <p>apt-get update seems not to resolve the 403 forbidden</p>

<p>also I get similar problems with the apt-get-b (13: permission denied):</p>

<p>herman@ubuntu-1004:/usr/lib$<br/>
herman@ubuntu-1004:/usr/lib$ DEB_BUILD_OPTIONS="debug" apt-get -b source asterisk<br/>
Reading package lists... Done<br/>
Building dependency tree<br/>
Reading state information... Done<br/>
NOTICE: 'asterisk' packaging is maintained in the 'Svn' version control system at:
<a href="http://svn.asterisk.org/svn/dpkg/asterisk-1.8/branches/lucid/" class="external-link" rel="nofollow">http://svn.asterisk.org/svn/dpkg/asterisk-1.8/branches/lucid/</a><br/>
Need to get 27.8MB of source archives.<br/>
Err <a href="http://packages.asterisk.org/deb/" class="external-link" rel="nofollow">http://packages.asterisk.org/deb/</a> lucid/main asterisk 1:1.8.6.0-1digium1~lucid (dsc)<br/>
  Could not open file asterisk_1.8.6.0-1digium1~lucid.dsc - open (13: Permission denied)<br/>
Err <a href="http://packages.asterisk.org/deb/" class="external-link" rel="nofollow">http://packages.asterisk.org/deb/</a> lucid/main asterisk 1:1.8.6.0-1digium1~lucid (tar)<br/>
  Could not open file asterisk_1.8.6.0.orig.tar.gz - open (13: Permission denied)<br/>
Err <a href="http://packages.asterisk.org/deb/" class="external-link" rel="nofollow">http://packages.asterisk.org/deb/</a> lucid/main asterisk 1:1.8.6.0-1digium1~lucid (diff)<br/>
  Could not open file asterisk_1.8.6.0-1digium1~lucid.debian.tar.gz - open (13: Permission denied)<br/>
Failed to fetch <a href="http://packages.asterisk.org/deb/pool/main/a/asterisk/asterisk_1.8.6.0-1digium1~lucid.dsc" class="external-link" rel="nofollow">http://packages.asterisk.org/deb/pool/main/a/asterisk/asterisk_1.8.6.0-1digium1~lucid.dsc</a>  Could not open file asterisk_1.8.6.0-1digium1~lucid.dsc - open (13: Permission denied)<br/>
Failed to fetch <a href="http://packages.asterisk.org/deb/pool/main/a/asterisk/asterisk_1.8.6.0.orig.tar.gz" class="external-link" rel="nofollow">http://packages.asterisk.org/deb/pool/main/a/asterisk/asterisk_1.8.6.0.orig.tar.gz</a>  Could not open file asterisk_1.8.6.0.orig.tar.gz - open (13: Permission denied)<br/>
Failed to fetch <a href="http://packages.asterisk.org/deb/pool/main/a/asterisk/asterisk_1.8.6.0-1digium1~lucid.debian.tar.gz" class="external-link" rel="nofollow">http://packages.asterisk.org/deb/pool/main/a/asterisk/asterisk_1.8.6.0-1digium1~lucid.debian.tar.gz</a>  Could not open file asterisk_1.8.6.0-1digium1~lucid.debian.tar.gz - open (13: Permission denied)<br/>
E: Failed to fetch some archives.</p>

<p>so which mirror should I put into my sources.list ?</p>

        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
      <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?focusedCommentId=18415809#comment-18415809">View Online</a>
              |
       <a id="reply-18415809" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?replyToComment=18415809#comment-18415809">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>