Since i updated postgresql i receive errors when i try to createdb as postgres user. The new package has bugs, it has affected my server instances as well. Is this a known bug?
createdb in 15.4 works for me. And presumably lots of other people, this is not the kind of thing that would go unnoticed.
You will need to provide some actual information. Like, what your complete command was, and quote what error you got. Also how you installed and upgraded (and upgraded from what) might be useful.