title: how to fix Nexus 403 forbidden issue
body: <p>I have created debian-remote repository. it is a proxy repository to <a href="http://us.archive.ubuntu.com/ubuntu/" rel="nofollow noreferrer">http://us.archive.ubuntu.com/ubuntu/</a></p>
  
  <p>in the nexus UI under , administration / security,have added users , roles and privileges. the nexus server is behind firewall so configured the proxy server as well. 
  however, when trying to use the debian-remote repo URL in the ubuntu machine in the /etc/apt/sources.list file , getting following error ..</p>
  
  <p>the entry in sources.list file is : 
  deb <a href="http://192.168.48.2:8081/repository/debian-remote/" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote/</a> xenial main restricted</p>
  
  <p>and the error is : </p>
  
  <blockquote>
    <p>403  Forbidden Ign:7
    <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a> xenial/main i386
    Packages Ign:9 <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a>
    xenial/main all Packages Ign:10
    <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a> xenial/main
    Translation-en_US Ign:11
    <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a> xenial/main
    Translation-en Ign:12
    <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a> xenial/restricted
    amd64 Packages Ign:13
    <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a> xenial/restricted
    i386 Packages Ign:14 <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a>
    xenial/restricted all Packages Ign:15
    <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a> xenial/restricted
    Translation-en_US Ign:16
    <a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a> xenial/restricted
    Translation-en Reading package lists... Done W: The repository
    '<a href="http://192.168.48.2:8081/repository/debian-remote" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote</a> xenial Release'
    does not have a Release file. N: Data from such a repository can't be
    authenticated and is therefore potentially dangerous to use. N: See
    apt-secure(8) manpage for repository creation and user configuration
    details. E: Failed to fetch
    <a href="http://192.168.48.2:8081/repository/debian-remote/dists/xenial/main/binary-amd64/Packages" rel="nofollow noreferrer">http://192.168.48.2:8081/repository/debian-remote/dists/xenial/main/binary-amd64/Packages</a>
    403  Forbidden E: Some index files failed to download. They have been
    ignored, or old ones used instead.</p>
  </blockquote>
  
  <p>not sure, where is the issue. the doc says that , proper deploy permission has to be configured but not sure where and how ? </p>
  
  <p>please suggest </p>