I've tested upgrading cups-daemon package to version 2.1.3-4ubuntu0.3 on
KVM, LXD and Virtualbox and I haven't found any issues so far.

Testbed specs:
1. KVM - Xenial 16.04 / qemu-system-x86 1:2.5+dfsg-5ubuntu10.14 
2. LXD - Xenial 16.04 / lxd 2.0.10-0ubuntu1~16.04.1
3. Virtualbox -  Xenial 16.04 / virtualbox 5.0.40-dfsg-0ubuntu1.16.04.1 / 
Extension_Pack-5.0.24

Upgrade results:
[KVM]
root@xenial:~# apt policy cups-daemon
cups-daemon:
Installed: 2.1.3-4
Candidate: 2.1.3-4ubuntu0.3
Version table:
2.1.3-4ubuntu0.3 500
500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
*** 2.1.3-4 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status

root@xenial:~# apt install -y cups-daemon 1>/dev/null 2>&1 && echo ok
ok

root@xenial:~# apt policy cups-daemon
cups-daemon:
Installed: 2.1.3-4ubuntu0.3
Candidate: 2.1.3-4ubuntu0.3
Version table:
*** 2.1.3-4ubuntu0.3 500
500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
100 /var/lib/dpkg/status
2.1.3-4 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

[LXD]
root@juju-efafba-0:~# apt policy cups-daemon
cups-daemon:
Installed: (none)
Candidate: 2.1.3-4
Version table:
2.1.3-4 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

root@juju-efafba-0:~# apt install -y cups-daemon 1>/dev/null 2>&1 && echo ok
ok

root@juju-efafba-0:~# apt policy cups-daemon
cups-daemon:
Installed: 2.1.3-4ubuntu0.3
Candidate: 2.1.3-4ubuntu0.3
Version table:
*** 2.1.3-4ubuntu0.3 500
500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
100 /var/lib/dpkg/status
2.1.3-4 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

[Virtualbox]
root@cups-vb:~# apt policy cups-daemon
cups-daemon:
  Installed: 2.1.3-4
  Candidate: 2.1.3-4ubuntu0.3
  Version table:
     2.1.3-4ubuntu0.3 500
        500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
 *** 2.1.3-4 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

root@cups-vb:~# apt install -y cups-daemon 1>/dev/null 2>&1 && echo ok
ok

root@cups-vb:~# apt policy cups-daemon
cups-daemon:
  Installed: 2.1.3-4ubuntu0.3
  Candidate: 2.1.3-4ubuntu0.3
  Version table:
 *** 2.1.3-4ubuntu0.3 500
        500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.1.3-4 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
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 Committed
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to