When upgrading procps from 1:3.2.8-11ubuntu6 to 1:3.2.8-11ubuntu6.2, the upgrade fails with the errors similar to the ones reported above:
timur@test:~$ sudo apt-get install procps=1:3.2.8-11ubuntu6.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
procps is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-51 linux-image-3.2.0-51-virtual linux-headers-3.2.0-51-virtual
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 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 procps (1:3.2.8-11ubuntu6.2) ...
start: Job failed to start
invoke-rc.d: initscript procps, action "start" failed.
dpkg: error processing procps (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
procps
E: Sub-process /usr/bin/dpkg returned an error code (1)
Looking at the upstart logs from procps, the error is:
The actual entry in /etc/sysctl.d is:
net.ipv4.tcp_keepalive_intvl = 10<EOF>
If I place a newline before the <EOF> in the file, the script parses it correctly. If other reported cases are similar, then I'm guessing the bug is not in this package.
When upgrading procps from 1:3.2.8-11ubuntu6 to 1:3.2.8- 11ubuntu6. 2, the upgrade fails with the errors similar to the ones reported above:
timur@test:~$ sudo apt-get install procps= 1:3.2.8- 11ubuntu6. 2 headers- 3.2.0-51 linux-image- 3.2.0-51- virtual linux-headers- 3.2.0-51- virtual 8-11ubuntu6. 2) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
procps is already the newest version.
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 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 procps (1:3.2.
start: Job failed to start
invoke-rc.d: initscript procps, action "start" failed.
dpkg: error processing procps (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
procps
E: Sub-process /usr/bin/dpkg returned an error code (1)
Looking at the upstart logs from procps, the error is:
error: "Invalid argument" setting key "net.ipv4. tcp_keepalive_ intvl"
The actual entry in /etc/sysctl.d is: tcp_keepalive_ intvl = 10<EOF>
net.ipv4.
If I place a newline before the <EOF> in the file, the script parses it correctly. If other reported cases are similar, then I'm guessing the bug is not in this package.