[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Your /etc/init.d/cups was from an upstream installation, so apparently you did something like make install from an upstream tree. I suggest you do something like sudo rm /etc/init.d/cups /etc/rc*/*cups apt-get download cups sudo dpkg -i --force-confmiss cups_*.deb to restore the Ubuntu configuration files. ** Changed in: cups (Ubuntu) Status: Incomplete = Invalid -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Thanks Martin Pitt, Your solution fixed the issue. -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
pitti, this user' s CUPS did not make the switchover to Upstart correctly. Should we somehow make this switchover in the maintainer scripts more robust? -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Can you please show me the output of ls -l /etc/init.d/cups*? Thanks! -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
** Changed in: cups (Ubuntu) Importance: Undecided = High -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
mohamed@SilentStorm:$ ls -l /etc/init.d/cups* -r-xr-xr-x 1 root root 4383 Jun 7 10:02 /etc/init.d/cups.old FYIRecently I have moved /etc/init.d/cups /etc/init.d/cups.old -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Your /etc/init.d/cups.old file is not a file that is provided by the Ubuntu packages. Did you customize it in any way? Did you install cups from a third-party source before, such as a Debian version or a self- built one? ** Changed in: cups (Ubuntu) Importance: High = Low -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Please attach your /etc/init.d/cups.old here, in case you are not sure where you got it from. -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Hi Martin Pitt, In the earlier posts Till Kamppeter (till-kamppeter) asked me to follow below steps. It seems that you still have an obsolete /etc/init.d/cups file. Rename it into /etc/init.d/cups.old and check whether CUPS upgrades correctly for you then. So hence I moved the /etc/init.d/cups to /etc/init.d/cups.old and tried update again which also failed. I have attached the file /etc/init.d/cups.old ** Attachment added: /etc/init.d/cups.old https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1016376/+attachment/3212801/+files/cups.old -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
One update prior I was using Ubuntu 11.10, From there I upgraded to 12.04, after which I am getting this issue. -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
It seems that you still have an obsolete /etc/init.d/cups file. Rename it into /etc/init.d/cups.old and check whether CUPS upgrades correctly for you then. ** Changed in: cups (Ubuntu) Status: New = Incomplete -- 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
[Bug 1016376] Re: package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 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