View Issue Details

IDProjectCategoryView StatusLast Update
0000264Kali LinuxKali Package Bugpublic2014-06-03 12:26
Reporterclearday Assigned Tomuts  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformARMOSKali GNU/ LinuxOS Version1.0
Summary0000264: postgresql-9.1 errors after apt-get update/apt-get upgrade
Description

After installing Kali in Galaxy Note 2, while in terminal the apt-get upgrade process breaks with PostGreSql:

"Setting up postgresql-9.1 (9.1.9-1) ...
[....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2013-04-13 03:02:51 UTC LOG: could not create IPv6 socket: Permission denied 2013-04-13 03:02:51 UTC LOG: could not create IPv4 socket: Permission denied 2013-04-13 03:02:51 UTC WARNING: could not create listen socket for "localhost" 2013-04-13 03:02:51 UTC FATAL: could no[FAILate any TCP/IP sockets ... failed!
failed!
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-9.1 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up less (444-4) ...
Setting up bundler (1.1.4-6) ...
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.10.4-1+wheezy1) ...
Setting up git (1:1.7.10.4-1+wheezy1) ...
Setting up rubygems-integration (1.1) ...
Setting up metasploit-framework (4.6.0-1-1kali1) ...
Errors were encountered while processing:
postgresql-9.1
E: Sub-process /usr/bin/dpkg returned an error code (1)"

Steps To Reproduce

1 -Install Galaxy Note 10.1 Kali Image in Galaxy Note 2

Installation steps:

http://docs.kali.org/armel-armhf/kali-linux-on-galaxy-note

2 -Launch Kali in Linux Deploy

3 - Connect to Kali via SSH session.

4 - While in Terminal, enter apt-get update, then apt-get upgrade. Towards the end of apt-get upgrade, the following errors will display:

"Setting up postgresql-9.1 (9.1.9-1) ...
[....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2013-04-13 03:02:51 UTC LOG: could not create IPv6 socket: Permission denied 2013-04-13 03:02:51 UTC LOG: could not create IPv4 socket: Permission denied 2013-04-13 03:02:51 UTC WARNING: could not create listen socket for "localhost" 2013-04-13 03:02:51 UTC FATAL: could no[FAILate any TCP/IP sockets ... failed!
failed!
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-9.1 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up less (444-4) ...
Setting up bundler (1.1.4-6) ...
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.10.4-1+wheezy1) ...
Setting up git (1:1.7.10.4-1+wheezy1) ...
Setting up rubygems-integration (1.1) ...
Setting up metasploit-framework (4.6.0-1-1kali1) ...
Errors were encountered while processing:
postgresql-9.1
E: Sub-process /usr/bin/dpkg returned an error code (1)"

Additional Information

After the initial errors with apt-get upgrade, anytime a new install or remove is invoked, the postgresql error message shows up again and again.

The postgresql error seems to only affect postgresql. Other applications installed during the apt-get upgrade and apt-get install seem unaffected. Unfortunately, the metapsloit framework is dependent on postgresql.

Attached Files
attachments.zip (43,312 bytes)

Activities

muts

muts

2013-04-15 07:57

reporter   ~0000372

This is not bug. Postgresql wont install in a Linux Deploy chroot without first whitelisting it in update-rc.d.

Issue History

Date Modified Username Field Change
2013-04-14 15:51 clearday New Issue
2013-04-14 15:51 clearday File Added: attachments.zip
2013-04-15 07:57 muts Note Added: 0000372
2013-04-15 07:57 muts Status new => closed
2013-04-15 07:57 muts Assigned To => muts
2013-04-15 07:57 muts Resolution open => no change required