fails to start: Unknown job: squid

Bug #544760 reported by LaMont Jones on 2010-03-23
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
squid (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: squid

Not to be confused with bug 523621, we are outside in the real root in this case, regression introduced in -1ubuntu9

-------------------------------------------------------------
The following NEW packages will be installed:
  squid
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/817kB of archives.
After this operation, 2,011kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package squid.
(Reading database ... 190275 files and directories currently installed.)
Unpacking squid (from .../squid_2.7.STABLE7-1ubuntu9_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up squid (2.7.STABLE7-1ubuntu9) ...
start: Unknown job: squid
invoke-rc.d: initscript squid, action "restart" failed.
dpkg: error processing squid (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 squid

-------------------------------------------------------------
# dpkg --contents /var/cache/apt/archives/squid_2.7.STABLE7-1ubuntu9_amd64.deb | grep init.d
drwxr-xr-x root/root 0 2010-03-22 08:45 ./etc/init.d/
lrwxrwxrwx root/root 0 2010-03-22 08:45 ./etc/init.d/squid -> /lib/init/upstart-job
# ls -l /etc/init.d/squid
lrwxrwxrwx 1 root root 21 2010-03-22 20:50 /etc/init.d/squid -> /lib/init/upstart-job

lamont

Related branches

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package squid - 2.7.STABLE7-1ubuntu10

---------------
squid (2.7.STABLE7-1ubuntu10) lucid; urgency=low

  * debian/squid.upstart: Fix broken post-stop syntax (LP: #544760)
 -- Stephane Graber <email address hidden> Mon, 22 Mar 2010 23:11:42 -0400

Changed in squid (Ubuntu):
status: New → Fix Released
Mervyn Groves (m-groves) wrote :
Download full text (9.7 KiB)

Doing routine cleanup:

Setting up linux-generic (2.6.32.17.18) ...
Setting up linux-headers-2.6.32-17 (2.6.32-17.26) ...
Setting up linux-headers-2.6.32-17-generic (2.6.32-17.26) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32-17-generic /boot/vmlinuz-2.6.32-17-generic

Setting up linux-headers-generic (2.6.32.17.18) ...
Setting up os-prober (1.36) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
Processing triggers for python-support ...
Errors were encountered while processing:
 squid
E: Sub-process /usr/bin/dpkg returned an error code (1)
mervyn@ngnet-ebox1:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-16-generic linux-headers-2.6.32-16
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up squid (2.7.STABLE7-1ubuntu10) ...
start: Job is already running: squid
invoke-rc.d: initscript squid, action "restart" failed.
dpkg: error processing squid (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 squid
E: Sub-process /usr/bin/dpkg returned an error code (1)
mervyn@ngnet-ebox1:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-2.6.32-16 linux-headers-2.6.32-16-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 85.3MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 176365 files and directories currently installed.)
Removing linux-headers-2.6.32-16-generic ...
Removing linux-headers-2.6.32-16 ...
Setting up squid (2.7.STABLE7-1ubuntu10) ...
start: Job is already running: squid
invoke-rc.d: initscript squid, action "restart" failed.
dpkg: error processing squid (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 squid
E: Sub-process /usr/bin/dpkg returned an error code (1)
mervyn@ngnet-ebox1:~$ mervyn@ngnet-ebox1:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-2.6.32-16 linux-headers-2.6.32-16-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 85.3MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 176365 files and directories currently installed.)
Removing linux-headers-2.6.32-16-generic ...
Removing linux-headers-2.6.32-16 ...
Setting up squid (2.7.STABLE7-1ubuntu10) ...
start: Job is already running: squid
invoke-rc.d: initscript squid, action "restart" failed.
dpkg...

Read more...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers