Broke my update package ability on Ubuntu 14.04?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
About 2 months ago I upgraded from PostgreSQL 9.3 to 9.4. I left both directory trees intact in case I needed to go back to an older database or table. The upgrade worked and I have my PostgreSQL 9.4 server working without error.
However, ever since that upgrade I started getting complaints during apt operations about the postgreSQL components. Note, these error messages occur when I do apt operations that have nothing to do with PostgreSQL. The only thing I can surmise is that certain apt operations do some kind of global scan on your installed packages.
I lived with the error messages for many weeks since I couldn't figure out how to get rid of them and they didn't affect my daily operations. However, now it seems they are, if they are what is causing my current troubles in installing new packages.
I recently trade to install umake so I could run Visual Code. However, after the usual PostgreSQL package complaints, I get an error coude for umake as well, so I can't install it.
Below is a dump of a recent umake apt install attempt. Can anyone tell me how to fix this?
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)
apt package-management postgresql ubuntu-make
add a comment |Â
up vote
0
down vote
favorite
About 2 months ago I upgraded from PostgreSQL 9.3 to 9.4. I left both directory trees intact in case I needed to go back to an older database or table. The upgrade worked and I have my PostgreSQL 9.4 server working without error.
However, ever since that upgrade I started getting complaints during apt operations about the postgreSQL components. Note, these error messages occur when I do apt operations that have nothing to do with PostgreSQL. The only thing I can surmise is that certain apt operations do some kind of global scan on your installed packages.
I lived with the error messages for many weeks since I couldn't figure out how to get rid of them and they didn't affect my daily operations. However, now it seems they are, if they are what is causing my current troubles in installing new packages.
I recently trade to install umake so I could run Visual Code. However, after the usual PostgreSQL package complaints, I get an error coude for umake as well, so I can't install it.
Below is a dump of a recent umake apt install attempt. Can anyone tell me how to fix this?
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)
apt package-management postgresql ubuntu-make
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
About 2 months ago I upgraded from PostgreSQL 9.3 to 9.4. I left both directory trees intact in case I needed to go back to an older database or table. The upgrade worked and I have my PostgreSQL 9.4 server working without error.
However, ever since that upgrade I started getting complaints during apt operations about the postgreSQL components. Note, these error messages occur when I do apt operations that have nothing to do with PostgreSQL. The only thing I can surmise is that certain apt operations do some kind of global scan on your installed packages.
I lived with the error messages for many weeks since I couldn't figure out how to get rid of them and they didn't affect my daily operations. However, now it seems they are, if they are what is causing my current troubles in installing new packages.
I recently trade to install umake so I could run Visual Code. However, after the usual PostgreSQL package complaints, I get an error coude for umake as well, so I can't install it.
Below is a dump of a recent umake apt install attempt. Can anyone tell me how to fix this?
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)
apt package-management postgresql ubuntu-make
About 2 months ago I upgraded from PostgreSQL 9.3 to 9.4. I left both directory trees intact in case I needed to go back to an older database or table. The upgrade worked and I have my PostgreSQL 9.4 server working without error.
However, ever since that upgrade I started getting complaints during apt operations about the postgreSQL components. Note, these error messages occur when I do apt operations that have nothing to do with PostgreSQL. The only thing I can surmise is that certain apt operations do some kind of global scan on your installed packages.
I lived with the error messages for many weeks since I couldn't figure out how to get rid of them and they didn't affect my daily operations. However, now it seems they are, if they are what is causing my current troubles in installing new packages.
I recently trade to install umake so I could run Visual Code. However, after the usual PostgreSQL package complaints, I get an error coude for umake as well, so I can't install it.
Below is a dump of a recent umake apt install attempt. Can anyone tell me how to fix this?
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)
apt package-management postgresql ubuntu-make
apt package-management postgresql ubuntu-make
asked Feb 10 at 2:00
Robert Oschler
143210
143210
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004727%2fbroke-my-update-package-ability-on-ubuntu-14-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password