« Return to Thread: SlugOS 4.8 -> 5.3 upgrade

Re: SlugOS 4.8 -> 5.3 upgrade

by Neil Shephard :: Rate this Message:

Reply to Author | View in Thread

--- In nslu2-linux@..., "slackline" <nshephard@...> wrote:

>
> Went with http://ipkg.nslu2-linux.org/feeds/optware/slugos5be/cross/unstable/ in the end.
>
> Instructions were fine, although I had to edit the /opt/etc/ipkg.conf file to reflect the above.
>
> Currently get an error after trying to install nfs-utils so I can get my drives back on-line
>
> Configuring nfs-utils
> //usr/lib/opkg/info/nfs-utils.postinst: line 7: update-rc.d: not found
> postinst script returned status 127
> Configuring portmap
> //usr/lib/opkg/info/portmap.postinst: line 7: update-rc.d: not found
> postinst script returned status 127
> Collected errors:
>  * ERROR: nfs-utils.postinst returned 127
>  * ERROR: portmap.postinst returned 127
>

Looks like I've managed to resolve this with a bit of tinkering.

I initially tried forcing a reinstall of update-rc.d but got the same error message.

Rooting around I found reference to /sbin/setup-optware.sh (see http://www.nslu2-linux.org/wiki/SlugOS/SlugOS5 ).

Having already installed the optware feed manually I went ahead and over-wrote it by using the script.  As I wrote I had to modify the /opt/etc/ipkg.conf file, I was asked if I wanted to over-write this with the maintainers file which I did.

All done I had another go at forcing reinstalling update-rc.d and to my delight that worked and finished off the post-install of nfs-utils and portmap...

# opkg install update-rc.d --force-reinstall
Reinstalling update-rc.d (0.7-r1) on root...
Downloading http://ipkg.nslu2-linux.org/feeds/slugosbe/cross/5.3-beta/update-rc.d_0.7-r1_all.ipk
Configuring nfs-utils
 Adding system startup for /etc/init.d/nfsserver.
creating NFS state directory: done
starting 8 nfsd kernel threads: done
starting mountd: Cannot register service: RPC: Unable to receive; errno = Connection refused
done
starting statd: done
exportfs: Warning: /media/sdb1 does not exist
exportfs: Warning: /media/sdb2 does not exist
exportfs: Warning: /media/sdb3 does not exist
exportfs: Warning: /media/sdb5 does not exist
exportfs: Warning: /media/sdb6 does not exist
exportfs: Warning: /media/sdb7 does not exist
exportfs: Warning: /media/sdb8 does not exist
Configuring portmap
 Adding system startup for /etc/init.d/portmap.
Configuring update-rc.d


(The /media/sdb* errors are due to the HD being tempramental, plugging it into the desktop solved this in the past, something to do with the cable, or ultimately an excuse to get another HD).

Anyway, not far off finalising the upgrade and being back to normal.  Found it was very easy to migrate my dokuwiki files over to the fresh install (so far anyway, will no doubt find tons of problems in a bit!!).

Thanks again to all devs for maintaining this.

Neil

 « Return to Thread: SlugOS 4.8 -> 5.3 upgrade