Cannot get packets from meta repo



Hi all,
I have an old NSA221 which I want to get working as a backup NAS again. I had the MetaRepository installed however something was bricked for some reason. I tried to change the URLs in the meta repo config to the ddnss.eu URL but the server on :59999 kept complaining about a missing local repo (which I actually removed from the config) and I was not able to install packets.
Reinstalling the meta repo packet, changing the web_prefix etc. did not help so I ultimately tried to reset the NSA but now I have an empty packet list with the message
"Currently, there are no packages. Please use "Retrieve List From Internet" to update package list."
Retrieving the list does not help… The web_prefix is this one: https://zyxel.ddnss.eu/Users/Mijzelf/zypkg-repo/src/zyxel.ddnss.eu/web_prefix
In the ZYPKGS on the NSA it looks like the contents from the one in ZYPKG_INFO.tgz from ddns.eu. So downloading it seems to be working but parsing it goes wrong?
Any ideas or suggestions on what to do?
Thanks in advance!
Accepted Solution
-
Oh sorry, my fault. The web_prefix file downloaded over https is fine, it's only the content which should show http.
I'm not familiar with the '221. But I think the firmware package manager has a problem when there are packages installed which are not mentioned in ZYPKGS. That is also the case on the '210.
The remedy is either uninstall the packages (a reset doesn't flush them, only disables them), or populate ZYPKGS. If you want to do the latter, seach in \\admin\zypkgs\ for .zypkg files. Those are disguised .tar.gz files, which you can unpack. Inside is a file 'data.tar.gz' and a 'control.tar.gz' file. The latter contains a file 'control' which' content should be added to ZYPKGS. Do this for all .zpkg files. Leave an empty line between the packages. If you then open the package manager, it should show all packages, including MetaRepository.
1
All Replies
-
The web_prefix is this one: https://zyxel.ddnss.eu/…
That should be http://
0 -
Um, I'm somewhat confused, the contents of the actual web_prefix files is identical, regardless of the source URL, right? So, just to be clear, the content of my web_prefix is this URL:
http://zyxel.ddnss.eu/Users/Mijzelf/zypkg-repo/
0 -
Oh sorry, my fault. The web_prefix file downloaded over https is fine, it's only the content which should show http.
I'm not familiar with the '221. But I think the firmware package manager has a problem when there are packages installed which are not mentioned in ZYPKGS. That is also the case on the '210.
The remedy is either uninstall the packages (a reset doesn't flush them, only disables them), or populate ZYPKGS. If you want to do the latter, seach in \\admin\zypkgs\ for .zypkg files. Those are disguised .tar.gz files, which you can unpack. Inside is a file 'data.tar.gz' and a 'control.tar.gz' file. The latter contains a file 'control' which' content should be added to ZYPKGS. Do this for all .zpkg files. Leave an empty line between the packages. If you then open the package manager, it should show all packages, including MetaRepository.
1 -
Thank you so much, this worked! The list of packets showed up again and after installing the MetaRepo packet I was able to get the full list of additional packets :-)
0
Categories
- All Categories
- 439 Beta Program
- 2.8K Nebula
- 198 Nebula Ideas
- 123 Nebula Status and Incidents
- 6.3K Security
- 484 USG FLEX H Series
- 319 Security Ideas
- 1.6K Switch
- 83 Switch Ideas
- 1.3K Wireless
- 46 Wireless Ideas
- 6.8K Consumer Product
- 284 Service & License
- 451 News and Release
- 88 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 93 Security Highlight