Please blacklist pg_ctl and initdb

Bug #1384864 reported by Martin Pitt on 2014-10-23
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Undecided
Unassigned
Trusty
Undecided
Unassigned
Utopic
Undecided
Unassigned
Vivid
Undecided
Michael Vogt

Bug Description

pg_ctl is a command which isn't exposed by Debian/Ubuntu's postgresql-X.Y packages; the pg_ctlcluster tool wraps this. However, if users try to call it directly, they get:

$ pg_ctl
The program 'pg_ctl' is currently not installed. You can install it by typing:
sudo apt-get install postgres-xc

This is bad advice: It will uninstall your postgresql-X.Y packages to replace them with -xc (which isn't integrated into the postgresql-common infrastructure).

Can we please blacklist this from command-not-found? This should also be done in Ubuntu 14.04 LTS.

Martin Pitt (pitti) wrote :

I was speaking to Michael Vogt today and he said that this is easy to do. If you could do it for vivid I'm happy to do and test stable backports. Thanks in advance!

Changed in command-not-found (Ubuntu Vivid):
assignee: nobody → Michael Vogt (mvo)
status: New → Triaged
Changed in command-not-found (Ubuntu Utopic):
status: New → Triaged
Changed in command-not-found (Ubuntu Trusty):
status: New → Triaged
Martin Pitt (pitti) on 2014-10-28
summary: - Please blacklist pg_ctl
+ Please blacklist pg_ctl and initdb
Michael Vogt (mvo) on 2014-10-28
Changed in command-not-found (Ubuntu Utopic):
status: Triaged → In Progress

Hello Martin, or anyone else affected,

Accepted command-not-found into utopic-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/command-not-found/0.3ubuntu15.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in command-not-found (Ubuntu Utopic):
status: In Progress → Fix Committed
tags: added: verification-needed
Martin Pitt (pitti) wrote :

Utopic verification:

Confusing result with utopic final:

$ dpkg-query -W command-not-found-data
command-not-found-data 0.3ubuntu15
$ pg_ctl
The program 'pg_ctl' is currently not installed. You can install it by typing:
sudo apt-get install postgres-xc
$ initdb
The program 'initdb' is currently not installed. You can install it by typing:
sudo apt-get install postgres-xc

Expected result with SRU:

$ dpkg-query -W command-not-found-data
command-not-found-data 0.3ubuntu15.1
$ pg_ctl
pg_ctl: command not found
$ initdb
initdb: command not found

tags: added: verification-done
removed: verification-needed
tags: added: verification-done-utopic
removed: verification-done
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package command-not-found - 0.3ubuntu15.1

---------------
command-not-found (0.3ubuntu15.1) utopic-proposed; urgency=low

  * scan.data updated
  * blacklist postgresql-xc (LP: #1384864)
 -- Michael Vogt <email address hidden> Tue, 28 Oct 2014 09:42:24 +0100

Changed in command-not-found (Ubuntu Vivid):
status: Triaged → Fix Released

The verification of the Stable Release Update for command-not-found has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package command-not-found - 0.3ubuntu15.1

---------------
command-not-found (0.3ubuntu15.1) utopic-proposed; urgency=low

  * scan.data updated
  * blacklist postgresql-xc (LP: #1384864)
 -- Michael Vogt <email address hidden> Tue, 28 Oct 2014 09:42:24 +0100

Changed in command-not-found (Ubuntu Utopic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers