Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-common (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Did a simple apt-get update and apt-get dist-upgrade this morning. postgresql-common failed to update and this caused other related packages to not be configured. Here is the console output: (NOTE: this is the second attempt after the first try failed).
bladernr@klaatu:~$ sudo apt-get dist-upgrade
[sudo] password for bladernr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libtcl8.5 linux-image-
linux-
linux-
linux-
linux-
linux-
linux-
mgetty tcl8.5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 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 (154ubuntu1) ...
* Starting PostgreSQL 9.3 database server * Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/
The PostgreSQL server failed to start. Please check the log output.
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:
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.
postgresql-common
postgresql-9.3
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here are the last few bits from /var/log/
postgresql-
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2015-03-05 00:15:12
Start-Date: 2015-03-05 11:37:38
Commandline: apt-get dist-upgrade
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2015-03-05 11:38:13
and this is the contents of /var/log/
bladernr@klaatu:~$ sudo ls -l /var/log/postgresql
total 8
-rw-r----- 1 postgres adm 0 Jan 20 07:39 postgresql-
-rw-r----- 1 postgres adm 291 Jan 20 07:39 postgresql-
-rw-r----- 1 postgres adm 224 Jan 2 01:29 postgresql-
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: postgresql-common 154ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-45-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 5 11:39:19 2015
PackageArchitec
SourcePackage: postgresql-common
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: bot-stop-nagging |
Should be fixed by
postgresql-common (159) unstable; urgency=low
[...]
* pg_ctlcluster: Ignore errors when stat'ing the logfile.