**** BEGIN LOGGING AT Wed Oct 17 02:59:56 2007 Oct 17 03:39:19 03bzhou * r7118 10optware/trunk/make/calc.mk: calc: 2.12.2 -> 2.12.2.2 Oct 17 03:54:54 03bzhou * r7119 10optware/trunk/ (2 files in 2 dirs): perl-device-serialport: 1.002001 -> 1.003001 Oct 17 05:03:54 03bzhou * r7120 10optware/trunk/make/git.mk: git: 1.5.3.2 -> 1.5.3.4 Oct 17 06:29:21 rwhitby, where can i find squashfs file for 7.09 or is there a method just to replace kernel in /dev/mtd3 Oct 17 09:16:20 ~weather enva Oct 17 09:16:22 Trondheim / Vaernes, Norway; (ENVA) 63-28N 010-56E 17M; last updated: 2007.10.17 0850 UTC; Dew Point: 39 F (4 C); Pressure (altimeter): 29.44 in. Hg (0997 hPa); Relative Humidity: 86%; Sky conditions: overcast; Temperature: 42 F (6 C); Visibility: greater than 7 mile(s); Weather: Light rain; Wind: from the WSW (240 degrees) at 17 MPH (15 KT) Oct 17 19:20:45 rwhitby, It looks like 7.09 does not have swap either. I've had to build trunk to get swap. Oct 17 21:02:45 03bzhou * r7122 10optware/trunk/ (make/msort.mk sources/msort/ sources/msort/uninum.patch): msort: added Oct 17 21:27:50 hey, does anyone know if the ipkg repositor is screwed at the moment Oct 17 21:28:07 i just did an ipkg update, ipkg upgrade and it seems to have totally wrecked my slug Oct 17 21:28:27 halfway through the update, there was an error saying it couldn't find the sort command... Oct 17 21:28:47 then ipkg proceeded to delete every useful binary in /opt/bin Oct 17 21:29:20 saying something like 'removing /opt/bin/ls as no alternatives' Oct 17 21:29:40 wtf?! Oct 17 21:30:13 does anyone know what might have gone wrong?? Oct 17 21:32:58 iwo: do you use busybox or coreutils? Oct 17 21:33:21 these have recently been changed to use update-alternatives Oct 17 21:33:43 erm, both i think. I have unslung 6.8, and have coreutils installed too Oct 17 21:34:04 check if you at least have /opt/bin/coreutils-ls Oct 17 21:34:13 and /opt/bin/busybox Oct 17 21:34:53 if you have both, the expected result is /opt/bin/ls -> /opt/bin/coreutils-ls Oct 17 21:35:01 i have /opt/bin/coreutils-ls Oct 17 21:35:09 but no /opt/bin/busybox Oct 17 21:35:35 how about /opt/bin/ls ? Oct 17 21:35:52 no /opt/bin/ls Oct 17 21:36:31 sorry Oct 17 21:36:34 hold on Oct 17 21:37:04 yep, no /opt/bin/busybox and no /opt/bin/ls Oct 17 21:38:00 can you do "ipkg -force-reinstall install coreutils" Oct 17 21:38:46 so why have all these binaries been renamed to coreutils-*? Oct 17 21:39:06 I get the same result... Oct 17 21:39:28 loads of errors like: sort: No such file or directory Oct 17 21:39:42 because busybox also provides them Oct 17 21:39:56 and loads of messages like : Oct 17 21:39:58 update-alternatives: removing //opt/bin/yes as no more alternatives exist for it Oct 17 21:40:27 update-alternatives is meant to use the better ls Oct 17 21:40:50 update-alternatives: removing //opt/bin/touch as no more alternatives exist for it Oct 17 21:41:27 maybe i need to install 'sort' somehow first. any idea which package it is included in? Oct 17 21:41:29 /opt/bin/coreutils-ls -l /usr/bin/sort Oct 17 21:41:47 surely sort is not the same as ls ?? Oct 17 21:42:02 sorry (misunderstood the above :) ) Oct 17 21:42:13 you should have a /usr/bin/sort that comes with unslung 6.8 Oct 17 21:42:26 do you have /usr/bin in the PATH? Oct 17 21:42:54 yes Oct 17 21:43:12 do you have a /usr/bin/sort ? Oct 17 21:43:37 if i execute the above ls command, i get: Oct 17 21:43:39 lrwxrwxrwx 1 root root 13 Jun 3 21:58 /usr/bin/sort -> /opt/bin/sort Oct 17 21:43:52 that's probably the problem Oct 17 21:44:34 on my unslung (5.5), it is symlinked to ../../bin/slingbox Oct 17 21:45:03 but if i try to execute /usr/bin/sort, i get Oct 17 21:45:04 -bash: /usr/bin/sort: No such file or directory Oct 17 21:45:34 that's right, because you changed it to symlink to /opt/bin/sort Oct 17 21:45:51 and /opt/bin/sort has just be removed Oct 17 21:46:14 /usr/bin/sort should not symlink to /opt/bin/sort Oct 17 21:46:43 how about i symlink coreutils-sort to /usr/bin/sort Oct 17 21:47:11 i believe i was advised to create the sort symlink a long time back in order to get update-db/locate working on unslung Oct 17 21:47:13 i suggest you symlink /usr/bin/sort back to /bin/slingbox Oct 17 21:47:49 that was probably not a good advice Oct 17 21:48:17 that change makes basic binary depends on optware binary Oct 17 21:48:22 so can i just do: ln /bin/slingbox /usr/bin/sort Oct 17 21:48:24 ? Oct 17 21:48:42 yes Oct 17 21:48:50 sorry, Oct 17 21:48:59 ln -s /bin/slingbox /usr/bin/sort Oct 17 21:50:07 right, now i'm getting somewhere :) Oct 17 21:50:10 thanks eno :D Oct 17 21:50:18 then, "ipkg --force-reinstall install coreutils" Oct 17 21:50:20 just did the force install for coreutils again Oct 17 21:50:28 working much better now :) Oct 17 21:50:32 great Oct 17 21:50:47 you can even "ipkg install busybox" Oct 17 21:50:56 and they will co-exist Oct 17 21:51:26 based on priorities set in the package, update-alternatives will pick an optimized one Oct 17 21:52:31 maybe i need to do that to. I still seem to be missing some commands (like 'clear') Oct 17 21:52:53 ipkg -force-reinstall install ncurses Oct 17 21:55:29 thanks for all the help eno, i think i'm back to normal now Oct 17 21:55:47 if i find anything else missing, i'll have to force reinstall of some more packages Oct 17 21:56:01 but you do expose a potential problem: new coreutils depends on update-alternatives; update-alternatives uses sort; sort is part of coreutils Oct 17 21:57:21 :) Oct 17 21:58:01 if you have a working /usr/bin/sort that's on the PATH, everything still works Oct 17 21:58:12 but optware is not self-contained enough Oct 17 22:02:37 i think /opt/bin/* shoud not be removed unless an alternative version to replace the binary has been successfully identified Oct 17 22:03:03 ultimately, the problem is that the file was removed, then an alternative was searched for (which failed because of a missing sort command) Oct 17 22:03:27 ipkg upgrade == ipkg remove; ipkg install Oct 17 22:03:49 ? okay, didn't realise that was the case Oct 17 22:04:38 and probably [ipkg remove; ipkg install] not in an atomic transaction Oct 17 22:10:06 03bzhou * r7123 10optware/trunk/ (Makefile make/msort.mk platforms/packages-wl500g.mk): msort: promoted Oct 17 23:24:26 03bzhou * r7124 10optware/trunk/make/msort.mk: msort: added dependencies **** ENDING LOGGING AT Thu Oct 18 02:59:57 2007