Can't update entware on nas326 - failed to download package list

Options
lucesan
lucesan Posts: 13 image  Freshman Member
First Comment Friend Collector Fifth Anniversary

I tried to update entware but I get the following error:

root@NAS326 :~# opkg update

Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz

Updated list of available packages in /opt/var/opkg-lists/entware

Downloading http://zyxel.diskstation.eu/Users/Mijzelf/Entware-ng/binaries/armv7/Packages.gz

*** Failed to download the package list from http://zyxel.diskstation.eu/Users/Mijzelf/Entware-ng/binaries/armv7/Packages.gz

Collected errors:

 * opkg_download: Failed to download http://zyxel.diskstation.eu/Users/Mijzelf/Entware-ng/binaries/armv7/Packages.gz, wget returned 4.

 * opkg_download: Check your network settings and connectivity.

It looks like the repository is down. What can I do to update to latest entware?

Thanks

All Replies

  • lucesan
    lucesan Posts: 13 image  Freshman Member
    First Comment Friend Collector Fifth Anniversary

    I removed the Mijzef repository from opkg.conf and I don't get the error anymore. But as far as I understand, latest entware is not compatible with Nas326 kernel, which is 3.10, because the minimum requested is 3.2. Am I right?

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

    The url should nowadays be zyxel.ddnss.eu instead of zyxel.diskstation.eu. (Sorry, domain provider went out of business.)

    But as far as I understand, latest entware is not compatible with Nas326 kernel

    Don't know about latest Entware. The Entware-ng package installed Entware-ng, with kernel support down to 2.6.32. As the NSA series had 2.6.31 for the Kirkwood devices, and 2.6.24 for OxNas, I compiled special libc packages for 2.6.24. But the NAS series, with Armv7 processors, all were 3+, so no need for custom packages.

    To make it more complicated, Entware-ng on Armv7 on some day updated itself to a newer Entware, but it does it conservatively, to port 'armv7sf-k2.6', which I translate to 'Armv7 soft float, kernel 2.6', instead of 'armv7sf-k3.2'. (And actually, I don't know the difference. The whole difference to get a 2.6.24 libc instead of a 2.6.32 is compiling it with the right config, and looking through the sources it only resulted in 2 shims which are dynamically inserted when the kernel didn't support a function. A lot has changed in the kernel from 2.6.32 to 3.2, but I think the interface changes to libc were considerably less.)

    which is 3.10, because the minimum requested is 3.2.

    Is it 3.1.0 or 3.10? 3.10 is newer than 3.2.

  • lucesan
    lucesan Posts: 13 image  Freshman Member
    First Comment Friend Collector Fifth Anniversary
    edited November 7

    Thanks for your reply. You are very right, it's kernel version 3.10, which is above 3.2. I don't know how to check which version of Entware is actually installed but my opkg.cong file is this:

    src/gz entware http://bin.entware.net/armv7sf-k2.6
    src/gz Mijzelf http://zyxel.ddnss.eu/Users/Mijzelf/Entware-ng/binaries/armv7
    dest root /
    dest ram /opt/tmp
    lists_dir ext /opt/var/opkg-lists
    option tmp_dir /opt/tmp
    arch all 100
    arch armv7soft 150
    arch armv7-2.6 160

    The repository directory with the latest version of packages seems to be /armv7sf-k3.2

    Should I add it with a new src/gz option or I have to edit the first src/gz line? And what about the arch option?

    My only purpose is to update transmission to latest version, 4.0.6, which is in armv7sf-k3.2 directory but not in armv7sf-k2.6, but ,actually, my nas326 is working perfectly and I don't want to mess it up for a minor update.

    Thanks.

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

    Sorry, I don't know if you can update from armv7sf-k2.6 to armv7sf-k3.2. k2.6 seems to be EOS, which is the reason there is no new Transmission, I guess.

    If you want to try you could backup your current installation, the whole Entware installation is in /opt.

Consumer Product Help Center