NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jimlee
Apr 07, 2021Aspirant
apt-get update GPG error: NO_PUBKEY
Hello NETGEAR engineers, I recently try to update the package lists on RN214 running ReadyNasOS 6.6.0 version. and got the following error: It seems that apt.readynas.com is NOT working...
StephenB
Apr 08, 2021Guru - Experienced User
FWIW, apt.readynas.com works for releases 6.8.0 and later. http://apt.readynas.com/packages/readynasos/dists/6.8.0/updates/binary-armel/Packages.
If you browse for releases before that, you get a forbidden error.
So one option might be to upgrade your firmware.
- jimleeApr 08, 2021Aspirant
Thank you StephenB for replying. It's good to know that Netgear does NOT maintain the packages avaiable for each ROM versions!
I accidently deleted one of the package "readynas-agent", which is preventing admin web interface to be loaded. (I know this is dumb, but I only know this after I did it)
root@nas-5D-CF-8E:~/bin# apt-cache show readynas-agent Package: readynas-agent Priority: optional Section: net Installed-Size: 20 Maintainer: Justin Maggard <justin.maggard@netgear.com> Architecture: armel Version: 1.0 Depends: libc6 (>= 2.4), libnml (>= 196), librddclient (>= 5455), libsnmp30 (>= 5.7.2.1+dfsg-1~dfsg), libxml2 (>= 2.7.4) Filename: dists/6.6.0/main/pool/r/readynas-agent/readynas-agent_1.0_armel.deb Size: 7994 MD5sum: 431b91f123f410ffe75d17430817fc01 SHA1: 6f415c377c067dbdeae337c41657c2e1993b8a3d SHA256: aebe8b8e9c1764ae249143ca67567b99d4413f837d5659ad6c1306179cff7416 SHA512: 6d6da07849432934beb20fb894ebe4c0a74c9436a4c7ec7f7f592e208dd3a137c0dcc9741ae1828e01340c64dbc7145ff3fd5352673357fd5a4f6fa8a1d07a0a Description: ReadyNAS SNMP agent Net-SNMP subagent for ReadyNAS system information. Description-md5: 8f668580b38c7fdec0079a2d7e962df8
I wonder if this is anyway to get this packages for ROM 6.6.0? or Will the package be recovered, if I re-flash the rom 6.6.0 again?
I searched on the forum the way to flash through ssh is:
# echo /root/ReadyNASOS-6.6.0-arm.img > /etc/.flash_update
Is there anything else I shoudl pay attention to? (of course I will do back up first). Thank you all for your advices and suggestions in advance.
- SandsharkApr 08, 2021Sensei - Experienced User
The NAS does not run from flash, and I doubt you managed to remove anything from the gzipped OS version in flash. So, all you should need to do is an OS re-install, which will refresh the running copy on your drives from the copy in flash. You can accomplish that from the boot menu. Just be sure to not accidently do a factory default, which will wipe your data. Note that this will also set the password back to the default password, disable volume quotas (if you have them enabled), and set the LAN to unbound and DHCP (if you have them set to somehting else). So, you just need to go back and reset your password and options.
Why you would continue to run an ancient version of the OS is yet another question; but it's your choice.
- jimleeApr 16, 2021Aspirant
Thank you Sandshark and StephenB for your reply!
I spent several days backing up all the files, and about to perform an OS reinstallation. After a clean reboot, I am able to get admin web interface back! Now, I recalled that after I removed "readynas-agent" package and had an power failure (my UPS did not perform an graceful shutdown successfully).
When I get to the NAS through ssh, the apt.readynas.com is magically working, but egnyte-cdn.egnyte.com still not, unfortunately.
I immediately updated the full package list and downloaded the missing package:
# apt-get update # wget http://apt.readynas.com/packages/readynasos/dists/6.6.0/main/pool/r/readynas-agent/readynas-agent_1.0_armel.deb
--2021-04-16 15:02:12-- http://apt.readynas.com/packages/readynasos/dists/6.6.0/main/pool/r/readynas-agent/readynas-agent_1.0_armel.deb
Resolving apt.readynas.com (apt.readynas.com)... 99.84.210.101, 99.84.210.79, 99.84.210.23, ...
Connecting to apt.readynas.com (apt.readynas.com)|99.84.210.101|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7994 (7.8K) [application/x-debian-package]
Saving to: ‘readynas-agent_1.0_armel.deb’It will be nice if packages could be extracted from the ReadynasOS rom files, and I did a quick search through the forum, found that it's not allowed due to some proprietary code.
Lesson learned here is:
- back-up the packages with the correct version number before remove them
- RAID is NOT a backup, should maintain a real backup regularly!
- Do NOT touch/change any working system:smileyhappy:
It still remains a mystery to me why a power failure killed the admin web interface. I am happy to the current results, and Thank you all for your supports!
Related Content
NETGEAR Academy

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