Log in

Bekijk de volledige versie : Problems with coreutils (config)



Gerdi
08-05-2009, 19:40
to start service
You will probably also want to create rndc.conf by running
rndc-confgen. Of course, you may want to set your name server
in the GUI to 127.0.0.1 or your local ip-address
Configuring coreutils
update-alternatives: Error: not linking //opt/bin/[ to coreutils-lbracket since //opt/bin/[ exists and is not a link
update-alternatives: Error: not linking //opt/bin/base64 to coreutils-base64 since //opt/bin/base64 exists and is not a link
update-alternatives: Error: not linking //opt/bin/basename to coreutils-basename since //opt/bin/basename exists and is not a link
update-alternatives: Error: not linking //opt/bin/cat to coreutils-cat since //opt/bin/cat exists and is not a link
update-alternatives: Error: not linking //opt/bin/chcon to coreutils-chcon since //opt/bin/chcon exists and is not a link
update-alternatives: Error: not linking //opt/bin/chgrp to coreutils-chgrp since //opt/bin/chgrp exists and is not a link
update-alternatives: Error: not linking //opt/bin/chmod to coreutils-chmod since //opt/bin/chmod exists and is not a link
update-alternatives: Error: not linking //opt/bin/chown to coreutils-chown since //opt/bin/chown exists and is not a link
update-alternatives: Error: not linking //opt/bin/chroot to coreutils-chroot since //opt/bin/chroot exists and is not a link
update-alternatives: Error: not linking //opt/bin/cksum to coreutils-cksum since //opt/bin/cksum exists and is not a link
update-alternatives: Error: not linking //opt/bin/comm to coreutils-comm since //opt/bin/comm exists and is not a link
update-alternatives: Error: not linking //opt/bin/cp to coreutils-cp since //opt/bin/cp exists and is not a link
update-alternatives: Error: not linking //opt/bin/csplit to coreutils-csplit since //opt/bin/csplit exists and is not a link
update-alternatives: Error: not linking //opt/bin/cut to coreutils-cut since //opt/bin/cut exists and is not a link
update-alternatives: Error: not linking //opt/bin/date to coreutils-date since //opt/bin/date exists and is not a link
update-alternatives: Error: not linking //opt/bin/dd to coreutils-dd since //opt/bin/dd exists and is not a link
update-alternatives: Error: not linking //opt/bin/df to coreutils-df since //opt/bin/df exists and is not a link
update-alternatives: Error: not linking //opt/bin/dir to coreutils-dir since //opt/bin/dir exists and is not a link
update-alternatives: Error: not linking //opt/bin/dircolors to coreutils-dircolors since //opt/bin/dircolors exists and is not a link
update-alternatives: Error: not linking //opt/bin/dirname to coreutils-dirname since //opt/bin/dirname exists and is not a link
update-alternatives: Error: not linking //opt/bin/du to coreutils-du since //opt/bin/du exists and is not a link
update-alternatives: Error: not linking //opt/bin/echo to coreutils-echo since //opt/bin/echo exists and is not a link
update-alternatives: Error: not linking //opt/bin/env to coreutils-env since //opt/bin/env exists and is not a link
update-alternatives: Error: not linking //opt/bin/expand to coreutils-expand since //opt/bin/expand exists and is not a link
update-alternatives: Error: not linking //opt/bin/expr to coreutils-expr since //opt/bin/expr exists and is not a link
update-alternatives: Error: not linking //opt/bin/factor to coreutils-factor since //opt/bin/factor exists and is not a link
update-alternatives: Error: not linking //opt/bin/false to coreutils-false since //opt/bin/false exists and is not a link
update-alternatives: Error: not linking //opt/bin/fmt to coreutils-fmt since //opt/bin/fmt exists and is not a link
update-alternatives: Error: not linking //opt/bin/fold to coreutils-fold since //opt/bin/fold exists and is not a link
update-alternatives: Error: not linking //opt/bin/groups to coreutils-groups since //opt/bin/groups exists and is not a link
update-alternatives: Error: not linking //opt/bin/head to coreutils-head since //opt/bin/head exists and is not a link
update-alternatives: Error: not linking //opt/bin/hostid to coreutils-hostid since //opt/bin/hostid exists and is not a link
update-alternatives: Error: not linking //opt/bin/id to coreutils-id since //opt/bin/id exists and is not a link
update-alternatives: Error: not linking //opt/bin/install to coreutils-install since //opt/bin/install exists and is not a link
update-alternatives: Error: not linking //opt/bin/join to coreutils-join since //opt/bin/join exists and is not a link
update-alternatives: Error: not linking //opt/bin/kill to /opt/bin/procps-kill since //opt/bin/kill exists and is not a link
update-alternatives: Error: not linking //opt/bin/link to coreutils-link since //opt/bin/link exists and is not a link
update-alternatives: Error: not linking //opt/bin/ln to coreutils-ln since //opt/bin/ln exists and is not a link
update-alternatives: Error: not linking //opt/bin/logname to coreutils-logname since //opt/bin/logname exists and is not a link
update-alternatives: Error: not linking //opt/bin/ls to coreutils-ls since //opt/bin/ls exists and is not a link
update-alternatives: Error: not linking //opt/bin/md5sum to coreutils-md5sum since //opt/bin/md5sum exists and is not a link
update-alternatives: Error: not linking //opt/bin/mkdir to coreutils-mkdir since //opt/bin/mkdir exists and is not a link
update-alternatives: Error: not linking //opt/bin/mkfifo to coreutils-mkfifo since //opt/bin/mkfifo exists and is not a link
...
update-alternatives: Error: not linking //opt/bin/users to coreutils-users since //opt/bin/users exists and is not a link
update-alternatives: Error: not linking //opt/bin/vdir to coreutils-vdir since //opt/bin/vdir exists and is not a link
update-alternatives: Error: not linking //opt/bin/wc to coreutils-wc since //opt/bin/wc exists and is not a link
update-alternatives: Error: not linking //opt/bin/who to coreutils-who since //opt/bin/who exists and is not a link
update-alternatives: Error: not linking //opt/bin/whoami to coreutils-whoami since //opt/bin/whoami exists and is not a link
update-alternatives: Error: not linking //opt/bin/yes to coreutils-yes since //opt/bin/yes exists and is not a link
postinst script returned status 1
ERROR: coreutils.postinst returned 1
Configuring dbus
There already is an messagebus group on the system.
There already is an messagebus user on the system.
Configuring file
Configuring less
update-alternatives: Linking //opt/bin/less to /opt/bin/less-less
Configuring libpng
Configuring popt
Configuring pure-ftpd
Configuring sed
update-alternatives: Error: not linking //opt/bin/sed to /opt/bin/gnu-sed since //opt/bin/sed exists and is not a link
postinst script returned status 1
ERROR: sed.postinst returned 1
Configuring transmission
Configuring unixodbc
Successfully terminated.
[root@mediaasus root]$
[root@mediaasus root]$


Should I move some content of /opt/bin to a new directory /opt/binold?

Gerdi
08-05-2009, 19:41
update-alternatives: Error: not linking //opt/bin/mknod to coreutils-mknod since //opt/bin/mknod exists and is not a link
update-alternatives: Error: not linking //opt/bin/mktemp to coreutils-mktemp since //opt/bin/mktemp exists and is not a link
update-alternatives: Error: not linking //opt/bin/mv to coreutils-mv since //opt/bin/mv exists and is not a link
update-alternatives: Error: not linking //opt/bin/nice to coreutils-nice since //opt/bin/nice exists and is not a link
update-alternatives: Error: not linking //opt/bin/nl to coreutils-nl since //opt/bin/nl exists and is not a link
update-alternatives: Error: not linking //opt/bin/nohup to coreutils-nohup since //opt/bin/nohup exists and is not a link
update-alternatives: Error: not linking //opt/bin/od to coreutils-od since //opt/bin/od exists and is not a link
update-alternatives: Error: not linking //opt/bin/paste to coreutils-paste since //opt/bin/paste exists and is not a link
update-alternatives: Error: not linking //opt/bin/pathchk to coreutils-pathchk since //opt/bin/pathchk exists and is not a link
update-alternatives: Error: not linking //opt/bin/pinky to coreutils-pinky since //opt/bin/pinky exists and is not a link
update-alternatives: Error: not linking //opt/bin/pr to coreutils-pr since //opt/bin/pr exists and is not a link
update-alternatives: Error: not linking //opt/bin/printenv to coreutils-printenv since //opt/bin/printenv exists and is not a link
update-alternatives: Error: not linking //opt/bin/printf to coreutils-printf since //opt/bin/printf exists and is not a link
update-alternatives: Error: not linking //opt/bin/ptx to coreutils-ptx since //opt/bin/ptx exists and is not a link
update-alternatives: Error: not linking //opt/bin/pwd to coreutils-pwd since //opt/bin/pwd exists and is not a link
update-alternatives: Error: not linking //opt/bin/readlink to coreutils-readlink since //opt/bin/readlink exists and is not a link
update-alternatives: Error: not linking //opt/bin/rm to coreutils-rm since //opt/bin/rm exists and is not a link
update-alternatives: Error: not linking //opt/bin/rmdir to coreutils-rmdir since //opt/bin/rmdir exists and is not a link
update-alternatives: Error: not linking //opt/bin/runcon to coreutils-runcon since //opt/bin/runcon exists and is not a link
update-alternatives: Error: not linking //opt/bin/seq to coreutils-seq since //opt/bin/seq exists and is not a link
update-alternatives: Error: not linking //opt/bin/sha1sum to coreutils-sha1sum since //opt/bin/sha1sum exists and is not a link
update-alternatives: Error: not linking //opt/bin/sha224sum to coreutils-sha224sum since //opt/bin/sha224sum exists and is not a link
update-alternatives: Error: not linking //opt/bin/sha256sum to coreutils-sha256sum since //opt/bin/sha256sum exists and is not a link
update-alternatives: Error: not linking //opt/bin/sha384sum to coreutils-sha384sum since //opt/bin/sha384sum exists and is not a link
update-alternatives: Error: not linking //opt/bin/sha512sum to coreutils-sha512sum since //opt/bin/sha512sum exists and is not a link
update-alternatives: Error: not linking //opt/bin/shred to coreutils-shred since //opt/bin/shred exists and is not a link
update-alternatives: Error: not linking //opt/bin/shuf to coreutils-shuf since //opt/bin/shuf exists and is not a link
update-alternatives: Error: not linking //opt/bin/sleep to coreutils-sleep since //opt/bin/sleep exists and is not a link
update-alternatives: Error: not linking //opt/bin/sort to coreutils-sort since //opt/bin/sort exists and is not a link
update-alternatives: Error: not linking //opt/bin/split to coreutils-split since //opt/bin/split exists and is not a link
update-alternatives: Error: not linking //opt/bin/stat to coreutils-stat since //opt/bin/stat exists and is not a link
update-alternatives: Error: not linking //opt/bin/stty to coreutils-stty since //opt/bin/stty exists and is not a link
update-alternatives: Error: not linking //opt/bin/su to coreutils-su since //opt/bin/su exists and is not a link
update-alternatives: Error: not linking //opt/bin/sum to coreutils-sum since //opt/bin/sum exists and is not a link
update-alternatives: Error: not linking //opt/bin/sync to coreutils-sync since //opt/bin/sync exists and is not a link
update-alternatives: Error: not linking //opt/bin/tac to coreutils-tac since //opt/bin/tac exists and is not a link
update-alternatives: Error: not linking //opt/bin/tail to coreutils-tail since //opt/bin/tail exists and is not a link
update-alternatives: Error: not linking //opt/bin/tee to coreutils-tee since //opt/bin/tee exists and is not a link
update-alternatives: Error: not linking //opt/bin/test to coreutils-test since //opt/bin/test exists and is not a link
update-alternatives: Linking //opt/bin/timeout to coreutils-timeout
update-alternatives: Error: not linking //opt/bin/touch to coreutils-touch since //opt/bin/touch exists and is not a link
update-alternatives: Error: not linking //opt/bin/tr to coreutils-tr since //opt/bin/tr exists and is not a link
update-alternatives: Error: not linking //opt/bin/true to coreutils-true since //opt/bin/true exists and is not a link
update-alternatives: Linking //opt/bin/truncate to coreutils-truncate
update-alternatives: Error: not linking //opt/bin/tsort to coreutils-tsort since //opt/bin/tsort exists and is not a link
update-alternatives: Error: not linking //opt/bin/tty to coreutils-tty since //opt/bin/tty exists and is not a link
update-alternatives: Error: not linking //opt/bin/uname to coreutils-uname since //opt/bin/uname exists and is not a link
update-alternatives: Error: not linking //opt/bin/unexpand to coreutils-unexpand since //opt/bin/unexpand exists and is not a link
update-alternatives: Error: not linking //opt/bin/uniq to coreutils-uniq since //opt/bin/uniq exists and is not a link
update-alternatives: Error: not linking //opt/bin/unlink to coreutils-unlink since //opt/bin/unlink exists and is not a link
update-alternatives: Error: not linking //opt/bin/uptime to /opt/bin/procps-uptime since //opt/bin/uptime exists and is not a link

Missing part of the first reply

al37919
08-05-2009, 20:08
two common problems when installing coreutils (without much thinking about your output):
1) coreutils conflicts with busybox installable through ipkg. Use either, or.
2) /opt partition should be ext3 and can't be fat32.

Gerdi
08-05-2009, 20:58
Thank you for your very fast and good answer.

But in my case you cannot be right:

[root@mediaasus root]$ ipkg purge busybox
Nothing to be done
Successfully terminated.
Collected errors:
Package busybox is not installed.



[root@mediaasus root]$ ipkg list_installed | grep busybox
[root@mediaasus root]$ fdisk -l

Disk /dev/scsi/host0/bus0/target0/lun0/disc: 4026 MB, 4026531840 bytes
220 heads, 32 sectors/track, 1117 cylinders
Units = cylinders of 7040 * 512 = 3604480 bytes

Device Boot Start End Blocks Id System
/dev/scsi/host0/bus0/target0/lun0/part1 1 1000 3519984 83 Linux
/dev/scsi/host0/bus0/target0/lun0/part2 1001 1117 411840 82 Linux swap

Disk /dev/scsi/host1/bus0/target0/lun0/disc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/scsi/host1/bus0/target0/lun0/part1 1 30290 243304393+ 83 Linux
/dev/scsi/host1/bus0/target0/lun0/part2 30291 30401 891607+ 82 Linux swap


In /opt/bin the files are already present that should be linked to coreutils instead. Why?
What have I to do?