ipkg update problem on Synology NAS
After upgrading my Synology NAS to DSM 4.0, ipkg stopped working. When I executed:
it failed with this:
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/Packages.gz ipkg: /opt/ipkg-Rq65Jx/Packages.gz: No such file or directory file_copy: ERROR: failed to copy /opt/ipkg-Rq65Jx/Packages.gz to /tmp/ipkg.ePVFQ7/cross.gz An error ocurred, return value: 1.
after some debugging and googling, I found the cause to ipkg using a wrong version of wget. My system apparently has two wget binaries, one in /usr/syno/bin and one in /opt/bin. I need ipkg to grab the one in /opt/bin, like this in .profile:
PATH=...blah..what is was before.. PATH=/opt/bin:$PATH export PATH
Reload .profile (or simply login and logout), and do a which wget to check you are getting the right one. Now proceed with ipkg update.