I renamed it to /etc/init.d/cups.old still the update fails with below
log, this time it looks install is failing because it couldn't find
/etc/init.d/cups file

-------------------------
mohamed@SilentStorm:$ sudo mv /etc/init.d/cups /etc/init.d/cups.old
mohamed@SilentStorm:$ sudo apt-get upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
  cups
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,245 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 346542 files and directories currently installed.)
Preparing to replace cups 1.5.2-9ubuntu1 (using 
.../cups_1.5.3-0ubuntu1_i386.deb) ...
invoke-rc.d: unknown initscript, /etc/init.d/cups not found.
dpkg: warning: subprocess old pre-removal script returned error exit status 100
dpkg - trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.d/cups not found.
dpkg: error processing /var/cache/apt/archives/cups_1.5.3-0ubuntu1_i386.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 100
invoke-rc.d: unknown initscript, /etc/init.d/cups not found.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
 /var/cache/apt/archives/cups_1.5.3-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1016376

Title:
  package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new
  pre-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1016376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to