An application called PureSecure, by Demarc, is keeping me from being able to emerge anything. When I try to update existing applications or download and install new ones using 'emerge' I get an error stating 'too many levels of symbolic links'. A system that cannot be updated is worthless obviously, so I am eager to find out how to fix this. The PureSecure application has a source-based install script that requests that you don't have any of the applications that it is going to install on your system prior to running the script. The applications it pulls and installs include Apache and Mysql. Thank you so much for your help. Daniel ------------ below is the last of the output of the failed emerge --------- ssh-rand-helper.c:860: warning: pointer of type `void *' used in arithmetic ssh-rand-helper.c:860: warning: pointer of type `void *' used in arithmetic ssh-rand-helper.c:860: warning: pointer of type `void *' used in arithmetic ssh-rand-helper.c:860: warning: pointer of type `void *' used in arithmetic ssh-rand-helper.c:860: warning: pointer of type `void *' used in arithmetic ssh-rand-helper.c:860: warning: pointer of type `void *' used in arithmetic ssh-rand-helper.c:860: warning: pointer of type `void *' used in arithmetic i686-pc-linux-gnu-gcc -o ssh-rand-helper ssh-rand-helper.o -L. -Lopenbsd- compat/ -lssh -lopenbsd-compat -lutil -lz -lnsl -lcrypto i686-pc-linux-gnu-gcc -march=i686 -O3 -pipe -Wall -Wpointer-arith -Wno- uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" - D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" - D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" - D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" - D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" - D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" - DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp.c i686-pc-linux-gnu-gcc -march=i686 -O3 -pipe -Wall -Wpointer-arith -Wno- uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" - D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" - D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" - D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" - D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" - D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" - DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp- common.c i686-pc-linux-gnu-gcc -march=i686 -O3 -pipe -Wall -Wpointer-arith -Wno- uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" - D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" - D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" - D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" - D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" - D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" - DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp- server.c sftp-server.c: In function `main': sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1091: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic sftp-server.c:1092: warning: pointer of type `void *' used in arithmetic i686-pc-linux-gnu-gcc -o sftp-server sftp-server.o sftp-common.o -L. -Lopenbsd- compat/ -lssh -lopenbsd-compat -lutil -lz -lnsl -lcrypto i686-pc-linux-gnu-gcc -march=i686 -O3 -pipe -Wall -Wpointer-arith -Wno- uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" - D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" - D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" - D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" - D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" - D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" - DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp- client.c i686-pc-linux-gnu-gcc -march=i686 -O3 -pipe -Wall -Wpointer-arith -Wno- uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" - D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" - D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" - D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" - D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" - D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" - DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp- int.c sftp-int.c: In function `process_get': sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c:362: warning: pointer of type `void *' used in arithmetic sftp-int.c: In function `process_put': sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c:441: warning: pointer of type `void *' used in arithmetic sftp-int.c: In function `parse_dispatch_command': sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic sftp-int.c:665: warning: pointer of type `void *' used in arithmetic i686-pc-linux-gnu-gcc -march=i686 -O3 -pipe -Wall -Wpointer-arith -Wno- uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" - D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" - D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" - D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" - D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" - D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" - DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp- glob.c sftp-glob.c: In function `fudge_readdir': sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c:75: warning: pointer of type `void *' used in arithmetic sftp-glob.c: In function `attrib_to_stat': sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c:111: warning: pointer of type `void *' used in arithmetic sftp-glob.c: In function `remote_glob': sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic sftp-glob.c:163: warning: pointer of type `void *' used in arithmetic i686-pc-linux-gnu-gcc -o sftp sftp.o sftp-client.o sftp-common.o sftp-int.o sftp-glob.o -L. -Lopenbsd-compat/ -lssh -lopenbsd-compat -lutil -lz -lnsl - lcrypto >>> Install openssh-3.4_p1-r1 into /var/tmp/portage/openssh-3.4_p1-r1/image/ category net-misc (cd scard && make DESTDIR=/var/tmp/portage/openssh-3.4_p1-r1/image/ install) make[1]: Entering directory `/var/tmp/portage/openssh-3.4_p1-r1/work/openssh- 3.4p1/scard' ../mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/share/openssh mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/share mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/share/openssh /bin/install -c -m 0644 ./Ssh.bin /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/openssh/Ssh.bin make[1]: Leaving directory `/var/tmp/portage/openssh-3.4_p1-r1/work/openssh- 3.4p1/scard' ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/bin mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/bin ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/sbin mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/sbin ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/share/man mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/share/man ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/share/openssh ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/share/man/man1 mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/share/man/man1 ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/share/man/man5 mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/share/man/man5 ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/share/man/man8 mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/share/man/man8 ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//usr/lib/misc mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/lib mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/usr/lib/misc ./mkinstalldirs /var/tmp/portage/openssh-3.4_p1-r1/image//var/empty mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/var mkdir /var/tmp/portage/openssh-3.4_p1-r1/image/var/empty chmod 0700 /var/tmp/portage/openssh-3.4_p1-r1/image//var/empty /bin/install -c -m 0755 -s ssh /var/tmp/portage/openssh-3.4_p1- r1/image//usr/bin/ssh /bin/install -c -m 0755 -s scp /var/tmp/portage/openssh-3.4_p1- r1/image//usr/bin/scp /bin/install -c -m 0755 -s ssh-add /var/tmp/portage/openssh-3.4_p1- r1/image//usr/bin/ssh-add /bin/install -c -m 0755 -s ssh-agent /var/tmp/portage/openssh-3.4_p1- r1/image//usr/bin/ssh-agent /bin/install -c -m 0755 -s ssh-keygen /var/tmp/portage/openssh-3.4_p1- r1/image//usr/bin/ssh-keygen /bin/install -c -m 0755 -s ssh-keyscan /var/tmp/portage/openssh-3.4_p1- r1/image//usr/bin/ssh-keyscan /bin/install -c -m 0755 -s sshd /var/tmp/portage/openssh-3.4_p1- r1/image//usr/sbin/sshd if test ! -z "" ; then \ /bin/install -c -m 0755 -s ssh-rand-helper /var/tmp/portage/openssh- 3.4_p1-r1/image//usr/lib/misc/ssh-rand-helper ; \ fi /bin/install -c -m 4711 -s ssh-keysign /var/tmp/portage/openssh-3.4_p1- r1/image//usr/lib/misc/ssh-keysign /bin/install -c -m 0755 -s sftp /var/tmp/portage/openssh-3.4_p1- r1/image//usr/bin/sftp /bin/install -c -m 0755 -s sftp-server /var/tmp/portage/openssh-3.4_p1- r1/image//usr/lib/misc/sftp-server /bin/install -c -m 644 ssh.1.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man1/ssh.1 /bin/install -c -m 644 scp.1.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man1/scp.1 /bin/install -c -m 644 ssh-add.1.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man1/ssh-add.1 /bin/install -c -m 644 ssh-agent.1.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man1/ssh-agent.1 /bin/install -c -m 644 ssh-keygen.1.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man1/ssh-keygen.1 /bin/install -c -m 644 ssh-keyscan.1.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man1/ssh-keyscan.1 /bin/install -c -m 644 sshd_config.5.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man5/sshd_config.5 /bin/install -c -m 644 ssh_config.5.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man5/ssh_config.5 /bin/install -c -m 644 sshd.8.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man8/sshd.8 if [ ! -z "" ]; then \ /bin/install -c -m 644 ssh-rand-helper.8.out /var/tmp/portage/openssh- 3.4_p1-r1/image//usr/share/man/man8/ssh-rand-helper.8 ; \ fi /bin/install -c -m 644 sftp.1.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man1/sftp.1 /bin/install -c -m 644 sftp-server.8.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man8/sftp-server.8 /bin/install -c -m 644 ssh-keysign.8.out /var/tmp/portage/openssh-3.4_p1- r1/image//usr/share/man/man8/ssh-keysign.8 rm -f /var/tmp/portage/openssh-3.4_p1-r1/image//usr/bin/slogin ln -s ssh /var/tmp/portage/openssh-3.4_p1-r1/image//usr/bin/slogin make: execvp: ln: Too many levels of symbolic links make: *** [install-files] Error 127 !!! ERROR: The ebuild did not complete successfully. !!! Function src_install, Line 1, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/net-misc/openssh/openssh-3.4_p1- r1.ebuild . agenon root #
Ok. I'm still lacking ideas on this one. Try these: rm -Rf /var/tmp/portage mkdir /var/tmp/portage emerge openssh if it fails again... Post the failure messages, and then do: ls -l /var/tmp/portage/openssh-3.4_p1-r1/image/usr/bin/
Created attachment 1972 [details] Requested utput of the mentioned ls command.
Created attachment 1973 [details] The emerge failed again; here is the last part of its output.
This is really something that after looking at I cannot come up with a way to fix. Also it involves software which I have no way of working with as I don't know it's internals (nor do I wish to get a copy of it). Really can't help here.