Hello,
I recently upgraded a FreeBSD box from 6.3 to 7.4, I made sure to uninstall/install the ports and libraries after the first attempt, however, I didn't realise the requirement of compat6x before the final upgrade install on the second attempt.
It leaves bash broken because of a failed dependency
plus many others.
Which means I can't login either at the console or via SSH because it dumps me out immediately after logging in. The same result for SFTP login. I am the only wheel user with my default shell set as bash. I know /bin/sh is unaffected by this because I can login via the console as root and roll back the upgrade. Second time of upgrading the same problem, but this time I will have no access to the console for maybe a week to roll it back!
How can I log in via SSH using a different shell from bash so I won't be dumped out? I can't log in as root via SSH because of the security and I am the only member of the wheel group.
Any help will be very useful.
I recently upgraded a FreeBSD box from 6.3 to 7.4, I made sure to uninstall/install the ports and libraries after the first attempt, however, I didn't realise the requirement of compat6x before the final upgrade install on the second attempt.
It leaves bash broken because of a failed dependency
Code:
"/libexec/ld-elf.so.1: Shared object "libncurses.so.6" not found, required by "bash""
Which means I can't login either at the console or via SSH because it dumps me out immediately after logging in. The same result for SFTP login. I am the only wheel user with my default shell set as bash. I know /bin/sh is unaffected by this because I can login via the console as root and roll back the upgrade. Second time of upgrading the same problem, but this time I will have no access to the console for maybe a week to roll it back!
How can I log in via SSH using a different shell from bash so I won't be dumped out? I can't log in as root via SSH because of the security and I am the only member of the wheel group.
Any help will be very useful.