Solved Undefined symbol "Fssh_sanitise_stdfd" / "Fssh_ssh_malloc_init"

Upgraded from 10.2 to 10.3 using these instructions:

https://www.freebsd.org/releases/10.3R/installation.html#upgrade

Now I can't transfer files over SCP (neither upload nor download). When I run scp/sftp/sftp-server I get these error messages:

Code:
% scp
/usr/bin/scp: Undefined symbol "Fssh_sanitise_stdfd"

% sftp
/usr/bin/sftp: Undefined symbol "Fssh_ssh_malloc_init"

% /usr/libexec/sftp-server
/usr/libexec/sftp-server: Undefined symbol "Fssh_ssh_malloc_init"

ssh(1) and sshd(8) work fine.

How would I go about fixing this?

Have a nice day!

Best regards, W
 
Try this workaround:
Code:
# env UNAME_r=10.2-RELEASE freebsd-update upgrade -r 10.3-RELEASE
# freebsd-update install
# freebsd-update install
# freebsd-update install
 
Try this workaround:
Code:
# env UNAME_r=10.2-RELEASE freebsd-update upgrade -r 10.3-RELEASE
# freebsd-update install
# freebsd-update install
# freebsd-update install

Does it matter that I have a custom kernel built?
 
Does it matter that I have a custom kernel built?
Yes, if a custom kernel is installed, it will have to be rebuilt and reinstalled after freebsd-update finishes installing the updates. Go ahead and see if it fixes your issue.
 
Custom kernel with freebsd-update(8) is not easy to maintain. You'd be better off building from the source and as a bonus you wouldn't see issues such as this. The freebsd-update(8) tool works for most people but in some cases it manages to mess up the updates for reasons that are still unknown even to the developers in charge of the tool.
 
Yes, if a custom kernel is installed, it will have to be rebuilt and reinstalled after freebsd-update finishes installing the updates. Go ahead and see if it fixes your issue.

Thank you for your replies. I'm thinking there might be some other problem, I'm getting the following:

Code:
# env UNAME_r=10.2-RELEASE freebsd-update upgrade -r 10.3-RELEASE
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.2-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Fetching 2 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/src world/base world/doc world/lib32

The following components of FreeBSD do not seem to be installed:
world/games

Does this look reasonable (y/n)? y

Fetching metadata signature for 10.3-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 10.2-RELEASE for merging... done.
Preparing to download files... done.
Fetching 51 patches.....10....20....30....40....50 done.
Applying patches... done.
Fetching 11 files... done.
/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory
/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory
/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory
/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory
...
/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory
Attempting to automatically merge changes in files... done.

The following file could not be merged automatically: /etc/mail/sendmail.cf
Press Enter to edit this file in /usr/local/bin/vim and resolve the conflicts
manually...
 
Back
Top