Upgrade glibc with PostgreSQL running | Generated by AI

Home 2026.03

Question: Should I answer “Yes” or “No” when upgrading glibc while PostgreSQL is running?

Answer:

Answer: Yes — but only after understanding what will happen

This dialog is from the libc6 (glibc) upgrade process on a Debian/Ubuntu system. Here’s what you need to know:

What the dialog is telling you


If you answer Yes


If you answer No


Recommendation

Scenario Answer
Dev/test server, okay to restart PostgreSQL Yes
Production server, need zero risk No (stop PostgreSQL first, then re-run)
Active connections/transactions running No
No active DB connections Yes

⚠️ After answering Yes, always remember to run sudo systemctl restart postgresql immediately after the upgrade completes.


Back Donate