Hi
I am trying to upgrade to postgres 10 from postgres 9.5.4. But on trying to
run pg_upgrade I am getting the below error
ubuntu(at)vrni-platform:/tmp$ sudo -H -u postgres
/usr/lib/postgresql/10/bin/pg_upgrade -b /usr/lib/postgresql/9.5/bin -B
/usr/lib/postgresql/10/bin -d /var/lib/postgresql/data/postgresql0 -D
/var/lib/postgresql/10/data/postgresql0 -o ' -c
config_file=/etc/postgresql/9.5/main/postgresql.conf' -O ' -c
config_file=/etc/postgresql/10/main/postgresql.conf' --check -k
check for "/usr/lib/postgresql/10/bin/pg_resetxlog" failed: No such file or
directory
Failure, exiting
Can someone let me know what is going wrong and how can I use the pg_upgrade
?
Thanks,