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
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
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.
- ietsrlAug 21, 2023Aspirant
whats change in apt.conf?
Thanks
- StephenBAug 21, 2023Guru
ietsrl wrote:
whats change in apt.conf?
It's actually not in the default ReadyNAS config at all.
Just read the info in the post right above yours...
Then you need to create /etc/apt/apt.conf with the following content:
Get::AllowUnauthenticated true; Acquire::Check-Valid-Until false;
- makkistyleMar 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
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 ?
- ChunkySocksApr 06, 2024Guide
Thanks for all contribuors and especially thanks to both StephenB and Sandshark for their continued posting in these forums to help others.
I SSH'd into my ReadyNAS and successfully managed to follow Sandshark's instructions.
This was after installing 6.10.10 and now that installing/upgrading apps via the GUI is disabled, I can't use that method to update my Plex server plus I also wanted to upgrade my Logitech Media Server to the most recent stable version.
If I download a deb file, where does it need to be put on the NAS and what commands do I need to run when I SSH into the NAS in order to upgrade these programs? Thank you.Think I've worked it out:
- find the correct .deb file, in this case plexmediaserver_1.40.1.8227-c0dd5a73e_amd64.deb
- download to local machine then copy it to a folder on the NAS
- navigate to the directory containing the file
- run sudo dpkg -i plexmediaserver_1.40.1.8227-c0dd5a73e_amd64.deb
- StephenBApr 06, 2024Guru
ChunkySocks wrote:
Think I've worked it out:
- find the correct .deb file, in this case plexmediaserver_1.40.1.8227-c0dd5a73e_amd64.deb
For Plex, go to https://www.plex.tv/media-server-downloads/?cat=computer&plat=windows#plex-media-server and select "Netgear". Then choose the correct distribution for your NAS.
( ChunkySocks did get the correct download, I'm just adding this for the benefit of future readers).
- ChunkySocksApr 08, 2024Guide
Adding more detailed instructions, incorporating what StephenB posted above and mainly for my own benefit as my memory isn't great and do it too infrequently! These are for updating Plex manually now that doing it via Netgear's GUI has been disabled in 6.10.10 but should work for other apps as long as you have the correct file.
- get the latest Plex download from here, choosing the correct distribution for your NAS
- copy it from your local machine into a folder on your NAS using your file manager GUI
- open your CLI (Command Line Interface), SSH into your NAS and navigate to the folder containing the file
- run sudo dpkg -i <filename>.deb
- file can now be deleted if you wish
- StephenBApr 08, 2024Guru
ChunkySocks wrote:- run sudo dpkg -i <filename>.deb
If you log into the NAS using root (with the NAS admin password), then you don't need the sudo.
Related Content
NETGEAR Academy

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