Около 2 месяцев назад я обновился с PostgreSQL 9.3 до 9.4. Я оставил оба дерева каталогов неповрежденными, если мне нужно вернуться к старой базе данных или таблице. Обновление работало, и у меня есть сервер PostgreSQL 9.4, работающий без ошибок.
Однако с момента обновления я начал получать жалобы во время apt-операций относительно компонентов postgreSQL. Обратите внимание: эти сообщения об ошибках возникают, когда я выполняю операции apt, которые не имеют никакого отношения к PostgreSQL. Единственное, что я могу догадаться, это то, что некоторые apt-операции выполняют какое-то глобальное сканирование ваших установленных пакетов.
Я жил с сообщениями об ошибках в течение многих недель, так как не мог понять, как избавиться от и они не повлияли на мою повседневную деятельность. Однако, кажется, что это так, если это то, что вызывает мои текущие проблемы при установке новых пакетов.
Я недавно торгую, чтобы установить , не имеет ничего общего с PostgreSQL , чтобы я мог запустите Visual Code. Однако после обычных жалоб на PostgreSQL я получаю ошибку coude для umake, поэтому я не могу ее установить.
Ниже приведена дамп недавней установки apt попытка. Может ли кто-нибудь сказать мне, как это исправить?
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libclang-common-3.4-dev libclang1-3.4 linux-headers-4.4.0-31
linux-headers-4.4.0-31-generic linux-image-4.4.0-31-generic
linux-image-extra-4.4.0-31-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libyaml-0-2 python3-argcomplete python3-bs4 python3-gnupg
python3-progressbar python3-yaml
The following NEW packages will be installed:
libyaml-0-2 python3-argcomplete python3-bs4 python3-gnupg
python3-progressbar python3-yaml ubuntu-make
0 upgraded, 7 newly installed, 0 to remove and 13 not upgraded.
5 not fully installed or removed.
Need to get 312 kB of archives.
After this operation, 1,763 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu/ trusty/main ubuntu-make all 17.03~trusty1 [68.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libyaml-0-2 amd64 0.1.4-3ubuntu3.1 [48.1 kB]
Get:3 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main python3-argcomplete all 1.0.0-1.pgdg14.04+2 [20.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main python3-bs4 all 4.2.1-1ubuntu2 [58.0 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python3-gnupg all 0.3.6-1 [14.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python3-progressbar all 2.3-1 [9,990 B]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main python3-yaml amd64 3.10-4ubuntu0.1 [92.7 kB]
Fetched 312 kB in 5s (52.9 kB/s)
Selecting previously unselected package libyaml-0-2:amd64.
(Reading database ... 361193 files and directories currently installed.)
Preparing to unpack .../libyaml-0-2_0.1.4-3ubuntu3.1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.1.4-3ubuntu3.1) ...
Selecting previously unselected package python3-argcomplete.
Preparing to unpack .../python3-argcomplete_1.0.0-1.pgdg14.04+2_all.deb ...
Unpacking python3-argcomplete (1.0.0-1.pgdg14.04+2) ...
Selecting previously unselected package python3-bs4.
Preparing to unpack .../python3-bs4_4.2.1-1ubuntu2_all.deb ...
Unpacking python3-bs4 (4.2.1-1ubuntu2) ...
Selecting previously unselected package python3-gnupg.
Preparing to unpack .../python3-gnupg_0.3.6-1_all.deb ...
Unpacking python3-gnupg (0.3.6-1) ...
Selecting previously unselected package python3-progressbar.
Preparing to unpack .../python3-progressbar_2.3-1_all.deb ...
Unpacking python3-progressbar (2.3-1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../python3-yaml_3.10-4ubuntu0.1_amd64.deb ...
Unpacking python3-yaml (3.10-4ubuntu0.1) ...
Selecting previously unselected package ubuntu-make.
Preparing to unpack .../ubuntu-make_17.03~trusty1_all.deb ...
Unpacking ubuntu-make (17.03~trusty1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up postgresql-common (189.pgdg14.04+1) ...
* Starting PostgreSQL 9.3 database server * Failed to issue method call: Unit postgresql@9.3-main.bak.service failed to load: No such file or directory. See system logs and 'systemctl status postgresql@9.3-main.bak.service' for details.
[fail]
* Starting PostgreSQL 9.4 database server * Failed to issue method call: Unit postgresql@9.4-main.service failed to load: No such file or directory. See system logs and 'systemctl status postgresql@9.4-main.service' for details.
[fail]
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing package postgresql-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql-9.3:
postgresql-9.3 depends on postgresql-common (>= 142~); however:
Package postgresql-common is not configured yet.
dpkg: error processing package postgresql-9.3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-9.4:
postgresql-9.4 depends on postgresql-common (>= 142~); however:
Package postgresql-common is not configured yet.
dpkg: error processing package postgresql-9.4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-contrib-9.3:
postgresql-contrib-9.3 depends on postgresql-9.3 (= 9.3.20-1.pgdg14.04+1); however:
Package postgresql-9.3 is not configured yet.
dpkg: error processing package postgresql-contrib-9.3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-contrib-9.4:
postgresql-contrib-9.4 dependNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
s on postgresql-9.4 (= 9.4.15-1.pgdg14.04+1); however:
Package postgresql-9.4 is not configured yet.
dpkg: error processing package postgresql-contrib-9.4 (--configure):
dependency problems - leaving unconfigured
Setting up libyaml-0-2:amd64 (0.1.4-3ubuntu3.1) ...
Setting up python3-argcomplete (1.0.0-1.pgdg14.04+2) ...
Setting up python3-bs4 (4.2.1-1ubuntu2) ...
Setting up python3-gnupg (0.3.6-1) ...
Setting up python3-progressbar (2.3-1) ...
Setting up python3-yaml (3.10-4ubuntu0.1) ...
Setting up ubuntu-make (17.03~trusty1) ...
/var/lib/dpkg/info/ubuntu-make.postinst: 6: /var/lib/dpkg/info/ubuntu-make.postinst: register-python-argcomplete3: not found
dpkg: error processing package ubuntu-make (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
Errors were encountered while processing:
postgresql-common
postgresql-9.3
postgresql-9.4
postgresql-contrib-9.3
postgresql-contrib-9.4
ubuntu-make
E: Sub-process /usr/bin/dpkg returned an error code (1)