Comment 137 for bug 1642966

Revision history for this message
andrew buffa (blacksheep001) wrote : Re: [Bug 1642966] Re: package cups-daemon 2.1.3-4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

can you direct me to someone who would know?

ANDREW . . .
On 11/19/2017 03:12 PM, Tinku Girdhar wrote:
> I don't know.
>
> On 20-Nov-2017 12:01 AM, "andrew buffa" <email address hidden>
> wrote:
>
>> I have a question
>>
>> if I were to re-install ubuntu would it delete my existing e-mails?
>>
>>
>> ANDREW . . .
>> On 08/31/2017 08:22 AM, Launchpad Bug Tracker wrote:
>>> This bug was fixed in the package cups - 2.1.3-4ubuntu0.3
>>>
>>> ---------------
>>> cups (2.1.3-4ubuntu0.3) xenial; urgency=high
>>>
>>> * Adding maintainer script debian/cups-daemon.prerm to deal with
>> situations
>>> where "old-version" (installed package) prerm script fails. (LP:
>> #1642966).
>>> cups (2.1.3-4ubuntu0.2) xenial; urgency=medium
>>>
>>> * Make cups.path unit be part of the cups.service, since cups.path
>>> should stop if and when cups.service is stopped. LP: #1642966
>>>
>>> cups (2.1.3-4ubuntu0.1) xenial-proposed; urgency=medium
>>>
>>> * Removed auto-shutdown-on-idle-also-with-webinterface-on.patch
>>> as it causes CUPS to auto-shutdown when web interface support is
>>> active (LP: #1598300).
>>>
>>> -- Eric Desrochers <email address hidden> Fri, 18 Aug 2017
>>> 12:08:28 -0400
>>>
>>> ** Changed in: cups (Ubuntu Xenial)
>>> Status: Fix Committed => Fix Released
>>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (1676430).
>> https://bugs.launchpad.net/bugs/1642966
>>
>> Title:
>> package cups-daemon 2.1.3-4 failed to install/upgrade: subprocess new
>> pre-removal script returned error exit status 1
>>
>> Status in cups package in Ubuntu:
>> Fix Released
>> Status in cups source package in Xenial:
>> Fix Released
>> Status in cups source package in Yakkety:
>> Fix Released
>> Status in cups source package in Zesty:
>> Fix Released
>>
>> Bug description:
>> This concerns only Xenial (16.04)!
>>
>> [Impact]
>> * fail to upgrade
>>
>> [testcase]
>> Root cause is believed to be reproducible with:
>>
>> #!/bin/bash
>> systemctl stop cups.path cups.service
>> rm /var/cache/cups/org.cups.cupsd
>> systemctl start cups.path
>> touch /var/cache/cups/org.cups.cupsd
>> sleep 1
>> rm /var/cache/cups/org.cups.cupsd
>> sleep 1
>> systemctl stop cups.service
>> echo $?
>>
>> ProblemType: Package
>> DistroRelease: Ubuntu 16.04
>> Package: cups-daemon 2.1.3-4
>> ProcVersionSignature: Ubuntu 4.4.0-46.67-generic 4.4.24
>> Uname: Linux 4.4.0-46-generic x86_64
>> NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
>> ApportVersion: 2.20.1-0ubuntu2.1
>> Architecture: amd64
>> CupsErrorLog:
>>
>> Date: Fri Nov 18 11:13:15 2016
>> ErrorMessage: subprocess new pre-removal script returned error exit
>> status 1
>> InstallationDate: Installed on 2016-05-02 (200 days ago)
>> InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64
>> (20160420.1)
>> Lpstat: device for mallards-officejet-pro-8600: dnssd://Officejet%20Pro%
>> 208600%20%5BD63461%5D._ipp._tcp.local/?uuid=1c852a4d-b800-
>> 1f08-abcd-d89d67d63461
>> MachineType: Dell Inc. XPS 15 9550
>> Papersize: a4
>> PpdFiles: mallards-officejet-pro-8600: HP Officejet Pro 8600, hpcups
>> 3.16.3
>> ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-46-generic.efi.signed
>> root=UUID=3643ef37-7cee-41b3-9387-2faa819c44db ro quiet splash
>> vt.handoff=7
>> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-46-generic.efi.signed
>> root=UUID=3643ef37-7cee-41b3-9387-2faa819c44db ro quiet splash
>> vt.handoff=7
>> RelatedPackageVersions:
>> dpkg 1.18.4ubuntu1.1
>> apt 1.2.15
>> SourcePackage: cups
>> Title: package cups-daemon 2.1.3-4 failed to install/upgrade: subprocess
>> new pre-removal script returned error exit status 1
>> UpgradeStatus: No upgrade log present (probably fresh install)
>> dmi.bios.date: 04/07/2016
>> dmi.bios.vendor: Dell Inc.
>> dmi.bios.version: 01.02.00
>> dmi.board.name: 0N7TVV
>> dmi.board.vendor: Dell Inc.
>> dmi.board.version: A00
>> dmi.chassis.type: 9
>> dmi.chassis.vendor: Dell Inc.
>> dmi.modalias: dmi:bvnDellInc.:bvr01.02.00:bd04/07/2016:svnDellInc.:
>> pnXPS159550:pvr:rvnDellInc.:rn0N7TVV:rvrA00:cvnDellInc.:ct9:cvr:
>> dmi.product.name: XPS 15 9550
>> dmi.sys.vendor: Dell Inc.
>>
>> [Regression Potential]
>>
>> Regression risk is low, the fix mitigate cups failing to stop/restart
>> on upgrade. No source code change, just adding a custom pre-removal
>> maintainer script in case of upgrade failure.
>>
>> [Regression in Pending SRU page]
>>
>> * Regression in autopkgtest for c2esp (armhf): test log
>>
>> This autopkgtest seems always fails :
>>
>> http://autopkgtest.ubuntu.com/packages/c/c2esp/xenial/armhf
>>
>> c2esp [xenial/armhf]
>>
>> Version Triggers Date Duration Result
>> 27-2 cups/2.1.3-4ubuntu0.3 2017-08-23 04:07:44 UTC 2h 50m
>> 13s fail log artifacts ♻
>> 27-2 cups/2.1.3-4ubuntu0.2 2017-08-14 23:31:50 UTC 2h 50m
>> 11s fail log artifacts ♻
>> 27-2 cups/2.1.3-4ubuntu0.2 2017-07-17 20:17:10 UTC 2h 50m
>> 52s fail log artifacts ♻
>> 27-2 cups/2.1.3-4ubuntu0.1 2017-01-20 12:00:41 UTC 2h 49m
>> 29s fail log artifacts ♻
>>
>> Additionally look at Till comment :
>> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1642966/comments/129
>>
>> * Regression in autopkgtest for libreoffice (i386): test log
>>
>> It's a known issue, A regression in the kernel, which breaks libreoffice
>> with java enabled on i386 :
>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1699772
>>
>> ... so until this is fixed upstream in the kernel and backported in an
>> ubuntu kernel, I'm afraid the only option is to just ignore the
>> failure.
>>
>>
>> [Other Info]
>>
>> * The patch is joint effort between xnox and slashd.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1642966/+subscriptions
>>