Skip to content

Instantly share code, notes, and snippets.

@caasi
Created April 16, 2019 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caasi/d3f9ee3e29de731ff216417f030347fe to your computer and use it in GitHub Desktop.
Save caasi/d3f9ee3e29de731ff216417f030347fe to your computer and use it in GitHub Desktop.
postgresql 9.3 update failed
(Reading database ... 64195 files and directories currently installed.)
Preparing to unpack .../libxslt1.1_1.1.28-2ubuntu0.2_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2ubuntu0.2) over (1.1.28-2ubuntu0.1) ...
Preparing to unpack .../postgresql-9.3_9.3.24-0ubuntu0.14.04_amd64.deb ...
* Stopping PostgreSQL 9.3 database server * Error: /var/lib/postgresql/9.3/main is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
* Stopping PostgreSQL 9.3 database server * Error: /var/lib/postgresql/9.3/main is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/postgresql-9.3_9.3.24-0ubuntu0.14.04_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/postgresql-9.3_9.3.24-0ubuntu0.14.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libxslt1.1:amd64 (1.1.28-2ubuntu0.2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment