Cannot get packets from meta repo

pjfg
pjfg Posts: 4 image  Freshman Member
First Comment

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

  • Mijzelf
    Mijzelf Posts: 2,981 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    Answer ✓

    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.

All Replies

  • Mijzelf
    Mijzelf Posts: 2,981 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary

    The web_prefix is this one: https://zyxel.ddnss.eu/…

    That should be http://

  • pjfg
    pjfg Posts: 4 image  Freshman Member
    First Comment

    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/
    
  • Mijzelf
    Mijzelf Posts: 2,981 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    Answer ✓

    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.

  • pjfg
    pjfg Posts: 4 image  Freshman Member
    First Comment

    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 :-)

Consumer Product Help Center