This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

dpkg Error

Baron

Thu Aug 14, 2014 6:33:24 pm

Code:
sudo apt-get install php5-mysql php5-curl
[sudo] password for merlinx:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php5-curl is already the newest version.
php5-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up postgresql-common (154) ...
/usr/share/postgresql-common/supported-versions: 3: /etc/os-release: OS: not found
dpkg: error processing package postgresql-common (--configure):
subprocess installed post-installation script returned error exit status 127
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.

No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: error processing package postgresql-9.3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql:
postgresql depends on postgresql-9.3; however:
  Package postgresql-9.3 is not configured yet.

dpkg: error processing package postgresql (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
postgresql-common
postgresql-9.3
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg Error Help me :///

madvinegar

Thu Aug 14, 2014 6:58:28 pm

Try in termimal

sudo dpkg-reconfigure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade