NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Sandshark
Apr 11, 2023Sensei - Experienced User
How I got apt update and install to work (with Debian Jessie retired)
OK, so I started off creating my own local Debian repository. Not recommended -- it's a lot of work. But with a lot of Googling and experimenting, I finally got apt to work using an online source. ...
Sandshark
Jul 24, 2023Sensei - Experienced User
OK, for those still struggling to follow the whole thread or having difficulty with VI or trying to use a Windows editor, here is a summary and quick solution:
This is my current /etc/apt/sources.list with firmware 6.10.9:
deb https://apt.readynas.com/packages/readynasos 6.10.9 updates apps main
# deb http://mirrors.kernel.org/debian jessie main
# deb http://security.debian.org/ 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
deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main non-free contrib
/etc/apt/apt.conf remains unchanged for my original post:
Get::AllowUnauthenticated true;
Acquire::Check-Valid-Until false;
Now, if you are having trouble getting them this done, here is a solution. Note that these files are from my personal DropBox, so may disappear after a few months. You still need SSH, but don't have to edit anything.
https://www.dropbox.com/scl/fi/25hs7nn12830vz9xk2phx/apt.conf?rlkey=maf95f9ncug9q09v4znm0kiwt&dl=0
Put these somewhere on your NAS using SMB, the GUI, or whatever. Then, from SSH, you simply need to copy them from where you put them to their proper place. Then do an apt-get update (Note: NOT upgrade!). When you do so, these are the only warnings you should see:
W: GPG error: http://archive.kernel.org/debian-archive/debian jessie-backports InRelease: The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673
W: GPG error: http://archive.kernel.org/debian-archive/debian jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717
Well, those are the only ones unless an app has put something in /etc/apt/sources.list.d, in which case you may have to add [trusted=yes] there as well.
And once you get this done, run apt-get install nano to get yourself a usable editor. If you are sticking with ReadyNAS, there's a good chance you'll need it down the road.
makkistyle
Mar 21, 2024Tutor
I loged in and this what shows me :
but the file you mentioned ( apt.conf )
where.i should copy it ?
here is a look in the folder apt.conf.d :
- SandsharkMar 21, 2024Sensei - Experienced User
As stated in the very first message of the thread "Then you need to create /etc/apt/apt.conf with the following content:" So you put it in /etc/apt.
- makkistyleMar 21, 2024Tutor
My apologies
as I was directed to the above post without going through the whole post
so as I understand I just have to replace the file I downloaded ( sources.list ) over existing on NAS version?
and Create a folder (apt)
to copy the file apt.conf in it
then the ability to upload app will work ?
nothing els to do ?
- StephenBMar 21, 2024Guru - Experienced User
makkistyle wrote:
so as I understand I just have to replace the file I downloaded ( sources.list ) over existing on NAS version?
and Create a folder (apt)
to copy the file apt.conf in it
I suggest renaming the sources.list that is already in the folder to sources.list.orig
Also rename apt.conf.d to apt.conf.d.orig - as that was added in 6.10.10.
Then copy the modified sources.list and apt.conf into the folder.
After that, I'd reboot the NAS.
makkistyle wrote:
then the ability to upload app will work ?
You also need to downgrade back to 6.10.9 to restore the upload function in the web ui. If you haven't done that yet, do it before you apply these modifications.
Related Content
NETGEAR Academy

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