Broke my update package ability on Ubuntu 14.04?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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)









share|improve this question

























    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)









    share|improve this question























      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)









      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 10 at 2:00









      Robert Oschler

      143210




      143210

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          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



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491