postgresql keeps starting on its own (disabled from startup)

10 posts / 0 new
Last post
#1 Sun, 09/01/2013 - 19:42
mvander25

postgresql keeps starting on its own (disabled from startup)

First off, I LOVE webmin/virtualmin, been using it only a week, but I'm hooked. Amazing work!

Only issue has stumped me is postgresql, I have disabled it from startup, no virtual servers are using it. (No virtual servers using the feature PostgreSQL database were found.)

I took it out of the monitor, yet it as soon as I stop it, it starts itself back up again.

I am not sure what else I can do... looking for how to find out where it is starting and how to stop it...

I removed it entirely, but then I got an error on the system information page, so I put it back on.

Thanks!

Mike

Sun, 09/08/2013 - 08:03
Locutus

Postgresql has a tendency to start itself back up (even if disabled in /etc/init) after it has been updated.

Easiest solution: Uninstall the postgresql package and remove its logrotation entry. :) This works okay (did it on most of my systems) and will not break Virtualmin dependencies.

If you turn off the Postgresql feature in Virtualmin, you also should not get warnings on the system info page.

Fri, 02/21/2014 - 09:46
jimdunn

Locutus,

Could you give a bit of detail on "how to remove postgresql" safely, and "how to remove the log rotation entry"?

Thx! : )

Fri, 02/21/2014 - 12:04
Locutus

On my Ubuntu systems, I just removed the Postgresql related packages with apt. Didn't remove the log rotation entry, but I guess you can just do that as well.

Mon, 02/24/2014 - 09:53
jimdunn

When I ran "apt-get remove --purge postgresql*" I saw that virtualmin-base was in the list to be removed.

So I stopped.

Mon, 02/24/2014 - 11:30
Locutus

What distro are you using? On my Ubuntus, Virtualmin definitely does not have postgresql as a dependency. When I type your command, I get:

The following packages will be REMOVED:
  postgresql* postgresql-9.1* postgresql-client-9.1* postgresql-client-common* postgresql-common* postgresql-contrib* postgresql-contrib-9.1*
0 upgraded, 0 newly installed, 7 to remove and 9 not upgraded.
Tue, 02/25/2014 - 10:15 (Reply to #6)
jimdunn

I am running Debian 7.4

I get the following:

The following packages were automatically installed and are no longer required:
procmail-wrapper usermin-virtual-server-theme webmin-security-updates
webmin-virtual-server-theme webmin-virtualmin-awstats webmin-virtualmin-dav
webmin-virtualmin-htpasswd webmin-virtualmin-mailman webmin-virtualmin-svn
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
postgresql* postgresql-9.1* postgresql-client* postgresql-client-9.1* postgresql-client-common*
postgresql-common* virtualmin-base*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 22.1 MB disk space will be freed.
Do you want to continue [Y/n]? n

(full log below)

root# apt-get remove --purge postgres*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'postgresql-plperl-9.1' for regex 'postgres*'
Note, selecting 'postgresql-9.1-pljava' for regex 'postgres*'
Note, selecting 'postgresql-pltcl-9.1' for regex 'postgres*'
Note, selecting 'libpostgresql-ocaml' for regex 'postgres*'
Note, selecting 'courier-authpostgresql' for regex 'postgres*'
Note, selecting 'postgresql-server-dev-all' for regex 'postgres*'
Note, selecting 'dpm-postgres-copyd' for regex 'postgres*'
Note, selecting 'postgresql-7.4' for regex 'postgres*'
Note, selecting 'libpostgresql-ocaml-vxgq8' for regex 'postgres*'
Note, selecting 'postgresql-8.0' for regex 'postgres*'
Note, selecting 'postgresql-8.1' for regex 'postgres*'
Note, selecting 'postgresql-8.2' for regex 'postgres*'
Note, selecting 'postgresql-8.3' for regex 'postgres*'
Note, selecting 'postgresql-8.4' for regex 'postgres*'
Note, selecting 'postgresql-9.1' for regex 'postgres*'
Note, selecting 'libpostgresql-jdbc-java-doc' for regex 'postgres*'
Note, selecting 'cl-sql-postgresql' for regex 'postgres*'
Note, selecting 'libghc-hdbc-postgresql-dev' for regex 'postgres*'
Note, selecting 'libghc-hdbc-postgresql-doc' for regex 'postgres*'
Note, selecting 'dpm-name-server-postgres' for regex 'postgres*'
Note, selecting 'postgresql-filedump' for regex 'postgres*'
Note, selecting 'sisu-postgresql' for regex 'postgres*'
Note, selecting 'libghc-postgresql-simple-dev' for regex 'postgres*'
Note, selecting 'python3-postgresql' for regex 'postgres*'
Note, selecting 'libghc-postgresql-simple-doc' for regex 'postgres*'
Note, selecting 'postgresql-9.1-debversion' for regex 'postgres*'
Note, selecting 'libghc-hdbc-postgresql-prof-2.3.2.1-b0d52' for regex 'postgres*'
Note, selecting 'libghc-postgresql-libpq-dev' for regex 'postgres*'
Note, selecting 'libpostgresql-ocaml-dev' for regex 'postgres*'
Note, selecting 'libapq-postgresql3.2.0-dbg' for regex 'postgres*'
Note, selecting 'postgresql-9.1-pgpool2' for regex 'postgres*'
Note, selecting 'libghc-postgresql-libpq-doc' for regex 'postgres*'
Note, selecting 'libpostgresql-ocaml-dev-vxgq8' for regex 'postgres*'
Note, selecting 'libapq-postgresql3.2.0-dev' for regex 'postgres*'
Note, selecting 'libghc-hsql-postgresql-dev-1.8.1-2a1bd' for regex 'postgres*'
Note, selecting 'libghc-haskelldb-hdbc-postgresql-prof-2.1.0-3f7e2' for regex 'postgres*'
Note, selecting 'odbc-postgresql' for regex 'postgres*'
Note, selecting 'postgresql-plperl' for regex 'postgres*'
Note, selecting 'libwtdbopostgres-dev' for regex 'postgres*'
Note, selecting 'postgresql-autodoc' for regex 'postgres*'
Note, selecting 'libghc-postgresql-libpq-prof' for regex 'postgres*'
Note, selecting 'postgresql-9.1-postgis' for regex 'postgres*'
Note, selecting 'postgresql-9.1-dbg' for regex 'postgres*'
Note, selecting 'autopostgresqlbackup' for regex 'postgres*'
Note, selecting 'gambas3-gb-db-postgresql' for regex 'postgres*'
Note, selecting 'postgresql-9.1-preprepare' for regex 'postgres*'
Note, selecting 'libghc-hsql-postgresql-prof-1.8.1-2a1bd' for regex 'postgres*'
Note, selecting 'lua-sql-postgres' for regex 'postgres*'
Note, selecting 'lua5.2-sql-postgres-dev' for regex 'postgres*'
Note, selecting 'libghc6-hsql-postgresql-prof' for regex 'postgres*'
Note, selecting 'perdition-postgresql' for regex 'postgres*'
Note, selecting 'courier-authlib-postgresql' for regex 'postgres*'
Note, selecting 'libghc-hdbc-postgresql-prof' for regex 'postgres*'
Note, selecting 'dpm-server-postgres' for regex 'postgres*'
Note, selecting 'libghc-hdbc-postgresql-dev-2.3.2.1-b0d52' for regex 'postgres*'
Note, selecting 'libgda-5.0-postgres' for regex 'postgres*'
Note, selecting 'libapq-postgresql-dev' for regex 'postgres*'
Note, selecting 'lua5.2-sql-postgres' for regex 'postgres*'
Note, selecting 'postgresql-9.1-pgfincore' for regex 'postgres*'
Note, selecting 'postgresql-server-dev-9.1' for regex 'postgres*'
Note, selecting 'postgresql-9.1-plr' for regex 'postgres*'
Note, selecting 'ruby-dataobjects-postgres' for regex 'postgres*'
Note, selecting 'postgresql-client' for regex 'postgres*'
Note, selecting 'odbc-postgresql-dbg' for regex 'postgres*'
Note, selecting 'pure-ftpd-postgresql' for regex 'postgres*'
Note, selecting 'postgresql-9.1-pljava-gcj' for regex 'postgres*'
Note, selecting 'haskell-hsql-postgresql-doc' for regex 'postgres*'
Note, selecting 'postgresql-contrib-9.1' for regex 'postgres*'
Note, selecting 'lua-dbi-postgresql' for regex 'postgres*'
Note, selecting 'libghc-persistent-postgresql-dev' for regex 'postgres*'
Note, selecting 'postgresql-9.1-ip4r' for regex 'postgres*'
Note, selecting 'akonadi-backend-postgresql' for regex 'postgres*'
Note, selecting 'kexi-plugin-postgresql' for regex 'postgres*'
Note, selecting 'postgresql-postgis-java' for regex 'postgres*'
Note, selecting 'libghc-postgresql-libpq-prof-0.8.2-39389' for regex 'postgres*'
Note, selecting 'postgresql-9.1-pgmemcache' for regex 'postgres*'
Note, selecting 'libghc-postgresql-simple-prof' for regex 'postgres*'
Note, selecting 'postgresql-plpython-9.1' for regex 'postgres*'
Note, selecting 'eekboek-db-postgresql' for regex 'postgres*'
Note, selecting 'postgresql-plpython3-9.1' for regex 'postgres*'
Note, selecting 'liblua5.1-sql-postgres-dev' for regex 'postgres*'
Note, selecting 'libghc6-hdbc-postgresql-dev' for regex 'postgres*'
Note, selecting 'libghc-postgresql-simple-prof-0.1.4.3-57f96' for regex 'postgres*'
Note, selecting 'libghc6-hdbc-postgresql-doc' for regex 'postgres*'
Note, selecting 'cl-sql-postgresql-socket' for regex 'postgres*'
Note, selecting 'lua5.1-dbi-postgresql-dev' for regex 'postgres*'
Note, selecting 'postgresql-9.1-prefix' for regex 'postgres*'
Note, selecting 'libapq-postgresql3.2.0' for regex 'postgres*'
Note, selecting 'libghc-hsql-postgresql-dev' for regex 'postgres*'
Note, selecting 'aolserver4-nspostgres' for regex 'postgres*'
Note, selecting 'libghc-haskelldb-hdbc-postgresql-prof' for regex 'postgres*'
Note, selecting 'libghc6-haskelldb-hdbc-postgresql-dev' for regex 'postgres*'
Note, selecting 'libghc-hsql-postgresql-doc' for regex 'postgres*'
Note, selecting 'webmin-postgresql' for regex 'postgres*'
Note, selecting 'libghc6-haskelldb-hdbc-postgresql-doc' for regex 'postgres*'
Note, selecting 'clisp-module-postgresql' for regex 'postgres*'
Note, selecting 'lua5.1-sql-postgres-dev' for regex 'postgres*'
Note, selecting 'libghc-hsql-postgresql-prof' for regex 'postgres*'
Note, selecting 'dpm-copy-server-postgres' for regex 'postgres*'
Note, selecting 'dpm-postgres-srmv22' for regex 'postgres*'
Note, selecting 'postgresql-common' for regex 'postgres*'
Note, selecting 'lfc-server-postgres' for regex 'postgres*'
Note, selecting 'libreoffice-sdbc-postgresql' for regex 'postgres*'
Note, selecting 'lfc-postgres' for regex 'postgres*'
Note, selecting 'postgresql' for regex 'postgres*'
Note, selecting 'postgresql-client-8.3' for regex 'postgres*'
Note, selecting 'liblua5.1-sql-postgres-2' for regex 'postgres*'
Note, selecting 'postgresql-9.1-pllua' for regex 'postgres*'
Note, selecting 'freeradius-postgresql' for regex 'postgres*'
Note, selecting 'postgresql-client-9.1' for regex 'postgres*'
Note, selecting 'lua5.1-dbi-postgresql' for regex 'postgres*'
Note, selecting 'gsql-postgresql-engine' for regex 'postgres*'
Note, selecting 'postgresql-plpython3' for regex 'postgres*'
Note, selecting 'librdf-storage-postgresql' for regex 'postgres*'
Note, selecting 'libghc-postgresql-simple-dev-0.1.4.3-57f96' for regex 'postgres*'
Note, selecting 'libdataobjects-postgres-ruby' for regex 'postgres*'
Note, selecting 'lua-dbi-postgresql-dev' for regex 'postgres*'
Note, selecting 'postgresql-dev' for regex 'postgres*'
Note, selecting 'libghc-postgresql-libpq-dev-0.8.2-39389' for regex 'postgres*'
Note, selecting 'postgresql-doc' for regex 'postgres*'
Note, selecting 'tntdb-postgresql3' for regex 'postgres*'
Note, selecting 'postgresql-pl' for regex 'postgres*'
Note, selecting 'openoffice.org-sdbc-postgresql' for regex 'postgres*'
Note, selecting 'postgresql-9.1-orafce' for regex 'postgres*'
Note, selecting 'libghc-haskelldb-hdbc-postgresql-dev-2.1.0-3f7e2' for regex 'postgres*'
Note, selecting 'postgresql-client-common' for regex 'postgres*'
Note, selecting 'dpm-postgres' for regex 'postgres*'
Note, selecting 'postgresql-contrib' for regex 'postgres*'
Note, selecting 'lua5.1-sql-postgres' for regex 'postgres*'
Note, selecting 'falconpl-dbi-postgresql' for regex 'postgres*'
Note, selecting 'postgresql-9.1-plproxy' for regex 'postgres*'
Note, selecting 'postgresql-9.1-pgq3' for regex 'postgres*'
Note, selecting 'rt4-db-postgresql' for regex 'postgres*'
Note, selecting 'libpostgresql-gst' for regex 'postgres*'
Note, selecting 'postgresql-9.1-pgmp' for regex 'postgres*'
Note, selecting 'postgresql-server' for regex 'postgres*'
Note, selecting 'postgresql-pltcl' for regex 'postgres*'
Note, selecting 'dpm-srm-server-postgres' for regex 'postgres*'
Note, selecting 'spl-postgres' for regex 'postgres*'
Note, selecting 'postgresql-plr' for regex 'postgres*'
Note, selecting 'postgresql-9.0-dbg' for regex 'postgres*'
Note, selecting 'postgresql-doc-9.1' for regex 'postgres*'
Note, selecting 'dpm-postgres-srmv1' for regex 'postgres*'
Note, selecting 'dpm-postgres-srmv2' for regex 'postgres*'
Note, selecting 'dsyslog-module-postgresql' for regex 'postgres*'
Note, selecting 'libghc-haskelldb-hdbc-postgresql-dev' for regex 'postgres*'
Note, selecting 'postgresql-9.1-plsh' for regex 'postgres*'
Note, selecting 'postgresql-plpython' for regex 'postgres*'
Note, selecting 'lua-sql-postgres-dev' for regex 'postgres*'
Note, selecting 'postgrey' for regex 'postgres*'
Note, selecting 'haskell-hdbc-postgresql-doc' for regex 'postgres*'
Note, selecting 'libghc-haskelldb-hdbc-postgresql-doc' for regex 'postgres*'
Note, selecting 'check-postgres' for regex 'postgres*'
Note, selecting 'libghc6-hsql-postgresql-dev' for regex 'postgres*'
Note, selecting 'libdataobjects-postgres-ruby1.9.1' for regex 'postgres*'
Note, selecting 'libghc6-hsql-postgresql-doc' for regex 'postgres*'
Note, selecting 'libpostgresql-jdbc-java' for regex 'postgres*'
Note, selecting 'dpm-postgres-nameserver' for regex 'postgres*'
Note, selecting 'libwtdbopostgres32' for regex 'postgres*'
Note, selecting 'postgresql-plperl-8.4' for regex 'postgres*'
Note, selecting 'gnustep-dl2-postgresql-adaptor' for regex 'postgres*'
Note, selecting 'usermin-postgresql' for regex 'postgres*'
Note, selecting 'kexi-postgresql-driver' for regex 'postgres*'
Note, selecting 'libdataobjects-postgres-ruby1.8' for regex 'postgres*'
Package 'libapq-postgresql-dev' is not installed, so not removed
Package 'courier-authpostgresql' is not installed, so not removed
Package 'postgresql-8.4' is not installed, so not removed
Note, selecting 'postgresql-9.1-plr' instead of 'postgresql-plr'
Note, selecting 'libghc-hsql-postgresql-dev' instead of 'libghc-hsql-postgresql-dev-1.8.1-2a1bd'
Note, selecting 'libghc-hsql-postgresql-prof' instead of 'libghc-hsql-postgresql-prof-1.8.1-2a1bd'
Note, selecting 'libghc-postgresql-libpq-dev' instead of 'libghc-postgresql-libpq-dev-0.8.2-39389'
Note, selecting 'libghc-postgresql-libpq-prof' instead of 'libghc-postgresql-libpq-prof-0.8.2-39389'
Note, selecting 'libghc-postgresql-simple-dev' instead of 'libghc-postgresql-simple-dev-0.1.4.3-57f96'
Note, selecting 'libghc-postgresql-simple-prof' instead of 'libghc-postgresql-simple-prof-0.1.4.3-57f96'
Package 'libghc-persistent-postgresql-dev' is not installed, so not removed
Note, selecting 'libghc-hdbc-postgresql-dev' instead of 'libghc-hdbc-postgresql-dev-2.3.2.1-b0d52'
Note, selecting 'libghc-haskelldb-hdbc-postgresql-dev' instead of 'libghc-haskelldb-hdbc-postgresql-dev-2.1.0-3f7e2'
Note, selecting 'libghc-hdbc-postgresql-prof' instead of 'libghc-hdbc-postgresql-prof-2.3.2.1-b0d52'
Note, selecting 'libghc-haskelldb-hdbc-postgresql-prof' instead of 'libghc-haskelldb-hdbc-postgresql-prof-2.1.0-3f7e2'
Package 'postgresql-8.2' is not installed, so not removed
Package 'postgresql-8.1' is not installed, so not removed
Note, selecting 'dpm-copy-server-postgres' instead of 'dpm-postgres-copyd'
Note, selecting 'dpm-name-server-postgres' instead of 'dpm-postgres-nameserver'
Note, selecting 'dpm-server-postgres' instead of 'dpm-postgres'
Note, selecting 'dpm-srm-server-postgres' instead of 'dpm-postgres-srmv1'
Note, selecting 'dpm-srm-server-postgres' instead of 'dpm-postgres-srmv2'
Note, selecting 'dpm-srm-server-postgres' instead of 'dpm-postgres-srmv22'
Note, selecting 'lfc-server-postgres' instead of 'lfc-postgres'
Package 'postgresql-pl' is not installed, so not removed
Note, selecting 'lua-dbi-postgresql' instead of 'lua5.1-dbi-postgresql'
Note, selecting 'lua-dbi-postgresql-dev' instead of 'lua5.1-dbi-postgresql-dev'
Note, selecting 'lua-sql-postgres' instead of 'lua5.1-sql-postgres'
Note, selecting 'lua-sql-postgres' instead of 'lua5.2-sql-postgres'
Note, selecting 'lua-sql-postgres-dev' instead of 'lua5.1-sql-postgres-dev'
Note, selecting 'lua-sql-postgres-dev' instead of 'lua5.2-sql-postgres-dev'
Note, selecting 'libpostgresql-ocaml' instead of 'libpostgresql-ocaml-vxgq8'
Package 'postgresql-server' is not installed, so not removed
Package 'postgresql-postgis-java' is not installed, so not removed
Package 'postgresql-dev' is not installed, so not removed
Package 'postgresql-9.0-dbg' is not installed, so not removed
Note, selecting 'postgresql-plperl-9.1' instead of 'postgresql-plperl'
Note, selecting 'postgresql-plpython-9.1' instead of 'postgresql-plpython'
Note, selecting 'postgresql-plpython3-9.1' instead of 'postgresql-plpython3'
Note, selecting 'postgresql-pltcl-9.1' instead of 'postgresql-pltcl'
Package 'postgresql-7.4' is not installed, so not removed
Package 'postgresql-8.0' is not installed, so not removed
Note, selecting 'libpostgresql-ocaml-dev' instead of 'libpostgresql-ocaml-dev-vxgq8'
Note, selecting 'postgresql-9.1-pljava-gcj' instead of 'postgresql-9.1-pljava'
Package 'postgresql-client-8.3' is not installed, so not removed
Package 'postgresql-8.3' is not installed, so not removed
Package 'postgresql-9.1-pgq3' is not installed, so not removed
Package 'webmin-postgresql' is not installed, so not removed
Package 'usermin-postgresql' is not installed, so not removed
Package 'akonadi-backend-postgresql' is not installed, so not removed
Package 'aolserver4-nspostgres' is not installed, so not removed
Package 'libapq-postgresql3.2.0' is not installed, so not removed
Package 'libapq-postgresql3.2.0-dbg' is not installed, so not removed
Package 'libapq-postgresql3.2.0-dev' is not installed, so not removed
Package 'autopostgresqlbackup' is not installed, so not removed
Package 'kexi-postgresql-driver' is not installed, so not removed
Package 'kexi-plugin-postgresql' is not installed, so not removed
Package 'check-postgres' is not installed, so not removed
Package 'cl-sql-postgresql' is not installed, so not removed
Package 'cl-sql-postgresql-socket' is not installed, so not removed
Package 'clisp-module-postgresql' is not installed, so not removed
Package 'courier-authlib-postgresql' is not installed, so not removed
Package 'dsyslog-module-postgresql' is not installed, so not removed
Package 'eekboek-db-postgresql' is not installed, so not removed
Package 'falconpl-dbi-postgresql' is not installed, so not removed
Package 'freeradius-postgresql' is not installed, so not removed
Package 'gambas3-gb-db-postgresql' is not installed, so not removed
Package 'libpostgresql-gst' is not installed, so not removed
Package 'gnustep-dl2-postgresql-adaptor' is not installed, so not removed
Package 'gsql-postgresql-engine' is not installed, so not removed
Package 'haskell-hdbc-postgresql-doc' is not installed, so not removed
Package 'haskell-hsql-postgresql-doc' is not installed, so not removed
Package 'libghc6-haskelldb-hdbc-postgresql-dev' is not installed, so not removed
Package 'libghc6-haskelldb-hdbc-postgresql-doc' is not installed, so not removed
Package 'libghc6-hdbc-postgresql-dev' is not installed, so not removed
Package 'libghc6-hdbc-postgresql-doc' is not installed, so not removed
Package 'libghc6-hsql-postgresql-dev' is not installed, so not removed
Package 'libghc6-hsql-postgresql-doc' is not installed, so not removed
Package 'libghc6-hsql-postgresql-prof' is not installed, so not removed
Package 'libghc-hsql-postgresql-dev' is not installed, so not removed
Package 'libghc-hsql-postgresql-doc' is not installed, so not removed
Package 'libghc-hsql-postgresql-prof' is not installed, so not removed
Package 'libghc-postgresql-libpq-dev' is not installed, so not removed
Package 'libghc-postgresql-libpq-doc' is not installed, so not removed
Package 'libghc-postgresql-libpq-prof' is not installed, so not removed
Package 'libghc-postgresql-simple-dev' is not installed, so not removed
Package 'libghc-postgresql-simple-doc' is not installed, so not removed
Package 'libghc-postgresql-simple-prof' is not installed, so not removed
Package 'libghc-haskelldb-hdbc-postgresql-dev' is not installed, so not removed
Package 'libghc-haskelldb-hdbc-postgresql-doc' is not installed, so not removed
Package 'libghc-haskelldb-hdbc-postgresql-prof' is not installed, so not removed
Package 'libghc-hdbc-postgresql-dev' is not installed, so not removed
Package 'libghc-hdbc-postgresql-doc' is not installed, so not removed
Package 'libghc-hdbc-postgresql-prof' is not installed, so not removed
Package 'postgresql-9.1-ip4r' is not installed, so not removed
Package 'dpm-copy-server-postgres' is not installed, so not removed
Package 'dpm-name-server-postgres' is not installed, so not removed
Package 'dpm-server-postgres' is not installed, so not removed
Package 'dpm-srm-server-postgres' is not installed, so not removed
Package 'lfc-server-postgres' is not installed, so not removed
Package 'libgda-5.0-postgres' is not installed, so not removed
Package 'libpostgresql-jdbc-java' is not installed, so not removed
Package 'libpostgresql-jdbc-java-doc' is not installed, so not removed
Package 'libreoffice-sdbc-postgresql' is not installed, so not removed
Package 'lua-dbi-postgresql' is not installed, so not removed
Package 'lua-dbi-postgresql-dev' is not installed, so not removed
Package 'liblua5.1-sql-postgres-2' is not installed, so not removed
Package 'liblua5.1-sql-postgres-dev' is not installed, so not removed
Package 'lua-sql-postgres' is not installed, so not removed
Package 'lua-sql-postgres-dev' is not installed, so not removed
Package 'openoffice.org-sdbc-postgresql' is not installed, so not removed
Package 'postgresql-9.1-orafce' is not installed, so not removed
Package 'perdition-postgresql' is not installed, so not removed
Package 'postgresql-9.1-pgfincore' is not installed, so not removed
Package 'postgresql-9.1-pgmemcache' is not installed, so not removed
Package 'postgresql-9.1-pgpool2' is not installed, so not removed
Package 'postgresql-9.1-plr' is not installed, so not removed
Package 'postgresql-9.1-postgis' is not installed, so not removed
Package 'postgresql-plperl-8.4' is not installed, so not removed
Package 'postgresql-autodoc' is not installed, so not removed
Package 'postgresql-contrib' is not installed, so not removed
Package 'postgresql-doc' is not installed, so not removed
Package 'postgresql-server-dev-all' is not installed, so not removed
Package 'postgresql-9.1-debversion' is not installed, so not removed
Package 'postgresql-filedump' is not installed, so not removed
Package 'libpostgresql-ocaml' is not installed, so not removed
Package 'libpostgresql-ocaml-dev' is not installed, so not removed
Package 'postgresql-9.1-pgmp' is not installed, so not removed
Package 'postgresql-9.1-pljava-gcj' is not installed, so not removed
Package 'postgresql-9.1-pllua' is not installed, so not removed
Package 'postgresql-9.1-plproxy' is not installed, so not removed
Package 'postgresql-9.1-plsh' is not installed, so not removed
Package 'postgrey' is not installed, so not removed
Package 'postgresql-9.1-prefix' is not installed, so not removed
Package 'postgresql-9.1-preprepare' is not installed, so not removed
Package 'odbc-postgresql' is not installed, so not removed
Package 'odbc-postgresql-dbg' is not installed, so not removed
Package 'pure-ftpd-postgresql' is not installed, so not removed
Package 'python3-postgresql' is not installed, so not removed
Package 'librdf-storage-postgresql' is not installed, so not removed
Package 'rt4-db-postgresql' is not installed, so not removed
Package 'libdataobjects-postgres-ruby' is not installed, so not removed
Package 'libdataobjects-postgres-ruby1.8' is not installed, so not removed
Package 'libdataobjects-postgres-ruby1.9.1' is not installed, so not removed
Package 'ruby-dataobjects-postgres' is not installed, so not removed
Package 'sisu-postgresql' is not installed, so not removed
Package 'spl-postgres' is not installed, so not removed
Package 'tntdb-postgresql3' is not installed, so not removed
Package 'libwtdbopostgres-dev' is not installed, so not removed
Package 'libwtdbopostgres32' is not installed, so not removed
Package 'postgresql-9.1-dbg' is not installed, so not removed
Package 'postgresql-contrib-9.1' is not installed, so not removed
Package 'postgresql-doc-9.1' is not installed, so not removed
Package 'postgresql-plperl-9.1' is not installed, so not removed
Package 'postgresql-plpython-9.1' is not installed, so not removed
Package 'postgresql-plpython3-9.1' is not installed, so not removed
Package 'postgresql-pltcl-9.1' is not installed, so not removed
Package 'postgresql-server-dev-9.1' is not installed, so not removed
The following packages were automatically installed and are no longer required:
procmail-wrapper usermin-virtual-server-theme webmin-security-updates
webmin-virtual-server-theme webmin-virtualmin-awstats webmin-virtualmin-dav
webmin-virtualmin-htpasswd webmin-virtualmin-mailman webmin-virtualmin-svn
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
postgresql* postgresql-9.1* postgresql-client* postgresql-client-9.1* postgresql-client-common*
postgresql-common* virtualmin-base*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 22.1 MB disk space will be freed.
Do you want to continue [Y/n]? n

Tue, 02/25/2014 - 12:27
Locutus

Okay, seems on Debian there's indeed an odd dependency of "virtualmin-base" on the postgresql packages that doesn't exist on Ubuntu. The VIrtualmin team hopefully can say something about this. :)

Wed, 02/26/2014 - 00:49
tpnsolutions
tpnsolutions's picture

Hi,

Is there not a way to tell Debian to ignore dependencies when removing a package?

In CentOS you can, and technically because Virtualmin doesn't rely on PostgreSQL you should be able to remove the packages without issue.

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles@tpnsolutions.com
Phone: 604-229-0715 (new)
Skype: tpnsupport
Website: http://www.tpnsolutions.com
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Thu, 03/13/2014 - 20:52
scotwnw

Thought the same for mine. Postgresql shows running in bootup-shutdown. But under webmin > servers > postgresql it says not running. I manually stop it by clicking the postgresql link in bootup-shutdown, then refresh the bootup-shutdown and it still shows running. But never shows running in the actual webmin > servers > postgresql.

Assuming its a bug that just says yes its running in bootup-shutdown. But its not actually running as far as I can find.

Topic locked