[Sorry. I was sending it to the wrong bug number.]
Jordi, I think Andrew has a small point here. Even now, if someone would upgrade from jessie to bullseye (nano-2.2.6 to nano-4.9.3) on a system with an unmerged /usr, they will get the "No such file or directory" when trying to run nano in an existing shell. So, why not apply the patch that Marco posted? However, Andrew, it is a very tiny bug. When you encounter it, the solution is to tell the shell to forget the paths it cached, with: hash -r. It does not require restarting the terminal or the shell. Benno
signature.asc
Description: OpenPGP digital signature