

Package postgresql-client-13 is not configured yet.ĭpkg: error processing package postgresql-13 (-configure):ĭependency problems - leaving unconfiguredĭpkg: dependency problems prevent configuration of postgresql: Postgresql-13 depends on postgresql-client-13 however: ĭpkg: dependency problems prevent configuration of postgresql-13: Selecting previously unselected package postgresql-contrib. Selecting previously unselected package postgresql. Selecting previously unselected package postgresql-13. 444111 files and directories currently installed.) Selecting previously unselected package postgresql-client-13.ĭpkg: warning: files list file for package 'postgresql-14' missing assuming package has no files cuĭpkg: warning: files list file for package 'postgresql-client-common' missing assuming package hasĭpkg: warning: files list file for package 'postgresql-client-14' missing assuming package has no fĭpkg: warning: files list file for package 'postgresql-common' missing assuming package has no file Get:4 impish/main amd64 postgresql-contrib all 13+226 Get:3 impish/main amd64 postgresql all 13+226 Postgresql postgresql-13 postgresql-client-13 postgresql-contribĠ upgraded, 4 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 46.0 MB of additional disk space will be used. The following NEW packages will be installed: The following additional packages will be installed:
Install postgresql 13 ubuntu install#
Original installation: $ sudo apt install postgresql postgresql-contrib
Install postgresql 13 ubuntu code#
Installed postgresql-client-13 package post-installation script subprocess returned error exit statĮrrors were encountered while processing:Į: Sub-process /usr/bin/dpkg returned an error code (1) : cannot open /usr/share/postgresql-common/maiĭpkg: error processing package postgresql-client-13 (-configure): var/lib/dpkg/info/postgresql-client-13.postinst: 7. Package 'postgresql' is not installed, so not removedĠ upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 0 B of additional disk space will be used. Does anyone know how uninstall postgresql from this situation and get apt in order? $ sudo apt remove -purge postgresql

It now boils down to postgresql-client-13 expects a certain file, cannot find it and terminates the uninstall (or install of a new postgresql version). That was not a clever thing to do because that resulted in dependency problems (see below) and ultimately in a broken package.Īnd many more. That resulted in warnings and I decided to install it nevertheless. sudo apt install postgresql postgresql-contrib I tried to install postgres on my ubuntu 21.10 client.
