NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Gregsta's avatar
Gregsta
Aspirant
May 10, 2023
Solved

apt.readynas.com - Broken repo?

I'm seeing 403 errors when attempting to install any package on a Readynas device running v6.10.8 firmware. 

The 403 Access Denied error is seen if I attempt to access the URLs in my own web browser.

 

https://apt.readynas.com/packages/readynasos/dists/6.10.8/apps/pool/t/transmission/transmission_2.82-1_amd64.deb

 

Is the issue with the web server permissions or is my Readynas supposed to have some sort of key/certificate to authenticate and that's what is missing here? 

 

root@steammills:~# apt install transmissionr6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
transmission
The following NEW packages will be installed:
transmission transmissionr6
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,526 kB of archives.
After this operation, 3,528 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 https://apt.readynas.com/packages/readynasos 6.10.8/apps amd64 transmission amd64 2.82-1
403 Forbidden
Err:2 https://apt.readynas.com/packages/readynasos 6.10.8/apps amd64 transmissionr6 all 3.00.8
403 Forbidden
E: Failed to fetch https://apt.readynas.com/packages/readynasos/dists/6.10.8/apps/pool/t/transmission/transmission_2.82-1_amd64.deb 403 Forbidden

E: Failed to fetch https://apt.readynas.com/packages/readynasos/dists/6.10.8/apps/pool/t/transmissionr6/transmissionr6_3.00.8_all.deb 403 Forbidden

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 

  • Hi @Anisha,
    I'm currently at 6.10.8 still as I'm hesitant to go to 6.10.9 as long as it is not offered through the dashboard.
    Thanks for looking into that repo.

16 Replies

Replies have been turned off for this discussion

  • Gregsta wrote:

    I'm seeing 403 errors when attempting to install any package on a Readynas device running v6.10.8 firmware. 

    The 403 Access Denied error is seen if I attempt to access the URLs in my own web browser.


    Yes.  I've looped in a mod ( AnishaA ) but nothing has been fixed yet.

     

    You can get download the deb manually from https://apps.readynas.com/pages/?page_id=9  Upgrading to 6.10.9 will also let you get the packages.

     

    But there are other recent issues because Debian 8 (Jessie) has been archived by the Debian folks.  Sandshark identifed the changes needed in the first post here:

  • AnishaA's avatar
    AnishaA
    NETGEAR Moderator

    Hello Gregsta ,

     

    Yes, there is a possibility that the SSH configuration issue that might be a hinder to installing packages. 

     

    You can refer to this kb article to check for the right configuration and make changes accordingly.

     

    https://kb.netgear.com/30068/ReadyNAS-OS-6-SSH-access-support-and-configuration-guides 

     

    As far as we know there is no particular key for installing packages, and have you tried any other application to install and you get the same error?

     

    If not then please try installing other apps to confirm whether the issue.

     

    As StephenB  mentioned you can upgrade to the latest firmware which could resolve this issue.

     

    Also, try the URL with a different browser once.

     

    If your issue is resolved please close the thread by clicking "Accept as solution".

     

     

     

     

     

    • StephenB's avatar
      StephenB
      Guru

      AnishaA wrote:

       

      Also, try the URL with a different browser once.

       


      That won't help.  

       

      The issue is that the 6.10.8 repository either doesn't include the apps pool folder at all, or it doesn't have the needed permissions to access it.

       

      The app package lists in binary-amd64, binary-armel, and binary-armhf are accessible, but not the actual files in pool 

       

      The updates pool folder is also not accessible, so it has the same problem. The main pool folder is accessible.

       

       

  • Here is a 2024 Solution: It is tested working by me.
    When I ran apt update and upgrade I was finally able to get things working without key errors etc.
    My question for the group here: what can/should I remove at this point from the mirror/sources lists.

    I updated my Sources to:
     

    cat /etc/apt/sources.list
    deb https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main
    deb https://apt.readynas.com/packages/readynasos 6.10.7 updates apps main
    # deb http://mirrors.kernel.org/debian jessie main
    # deb http://security.debian.org/ jessie/updates main
    deb [trusted=yes] http://archive.debian.org/debian/ jessie main
    deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main
    
    deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie main contrib non-free
    deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free


    I am using Mirror as well (300 gigs)

    root@NETGEAR-NAS:/home/machine# cat /etc/apt/mirror.list
    ############# config ##################
    #
    # set base_path    /var/spool/apt-mirror
    set base_path    /home/machine/apt-mirror
    #
    # set mirror_path  $base_path/mirror
    # set skel_path    $base_path/skel
    # set var_path     $base_path/var
    # set cleanscript $var_path/clean.sh
    # set defaultarch  <running host architecture>
    # set postmirror_script $var_path/postmirror.sh
    # set run_postmirror 0
    set nthreads     20
    set _tilde 0
    #
    ############# end config ##############
    
    deb http://ftp.us.debian.org/debian unstable main contrib non-free
    deb-src http://ftp.us.debian.org/debian unstable main contrib non-free
    ##start custom
    deb https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main
    deb https://apt.readynas.com/packages/readynasos 6.10.7 updates apps main
    #deb http://mirrors.kernel.org/debian jessie main
    #deb http://security.debian.org/jessie/updates main
    deb http://archive.debian.org/debian/ jessie main
    deb http://archive.debian.org/debian-security jessie/updates main
    
    deb http://archive.kernel.org/debian-archive/debian jessie main contrib non-free
    deb http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free
    
    ##end custom
    # mirror additional architectures
    clean http://ftp.us.debian.org/debian

     

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More