squid_2.7.STABLE7-1ubuntu5 fails to install with " Unknown job: squid" error in a chroot

Bug #523621 reported by Fabrice Coutadeur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squid (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: squid

Hi,

when installing squid in a clean chroot, I'm getting this error:
...
Setting up squid (2.7.STABLE7-1ubuntu5) ...
Creating squid spool directory structure
2010/02/18 05:48:20| Creating Swap Directories
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
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks,
fabrice

description: updated
Revision history for this message
Chuck Short (zulcss) wrote :
Changed in squid (Ubuntu):
status: New → Won't Fix
Revision history for this message
LaMont Jones (lamont) wrote :

It may be using upstart, but it's not starting. reproduced with squid_2.7.STABLE7-1ubuntu9 on amd64:

-------------------------------------------------------------
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

Changed in squid (Ubuntu):
status: Won't Fix → Confirmed
Revision history for this message
LaMont Jones (lamont) wrote :

retitled the bug to include that it was in a chroot, filing a new bug for it not starting outside of a chroot.

summary: squid_2.7.STABLE7-1ubuntu5 fails to install with " Unknown job: squid"
- error
+ error in a chroot
Changed in squid (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.