sudo apt-get install openssh-client openssh-serverReading package lists... DoneBuilding dependency treeReading state information... DoneThe following packages were automatically installed and are no longer required: libfwupdplugin1 squashfs-toolsUse 'sudo apt autoremove' to remove them.The following additional packages will be installed: openssh-sftp-server ssh-import-idSuggested packages: keychain libpam-ssh monkeysphere ssh-askpass molly-guardE: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: SuccessE: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success
Also sudo apt auto remove gives the same error
Reading package lists... DoneBuilding dependency treeReading state information... DoneE: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: SuccessE: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success