Cannot say about Debian but RHEL family (perhaps exceptions exist) do not, certainly not on Centos, Ubuntu which I use, yes. But also rhel/centos do not do major PGsql rel. upgrade within the same/one OS release, I do not think so. What happened to me - what I did rather - was upgrade from c9 to c10. (not officially supported.)