I'm sorry.
I ran the command line as SUDO and everything worked just fine!

Regards.

** Description changed:

  Hi everyone.
  
  1-) The sysem is:
  
  Description:  Ubuntu 16.04.2 LTS
  Release:      16.04
  
- 
  2-) I've issue a sudo apt-get update, then received back this below:
  The following packages will be upgraded:
-   cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon
-   cups-ppdc cups-server-common libcups2 libcupscgi1 libcupsimage2 libcupsmime1
-   libcupsppdc
+   cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon
+   cups-ppdc cups-server-common libcups2 libcupscgi1 libcupsimage2 libcupsmime1
+   libcupsppdc
  
  Chose Y (yes) and then I got this error below:
  
  ***********
  invoke-rc.d: initscript cups, action "stop" failed.
  dpkg: warning: subprocess old pre-removal script returned error exit status 1
  dpkg: trying script from the new package instead ...
  Job for cups.service canceled.
  invoke-rc.d: initscript cups, action "stop" failed.
  dpkg: error processing archive 
/var/cache/apt/archives/cups-daemon_2.1.3-4ubuntu0.2_amd64.deb (--unpack):
-  subprocess new pre-removal script returned error exit status 1
+  subprocess new pre-removal script returned error exit status 1
  ***********
  
  3-) I expected the command end without any errors.
  4-) Happened what is described above, in 2-).
  
  Any clues?
  
  Regards.
  
  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: cups-daemon 2.1.3-4
  ProcVersionSignature: Ubuntu 4.8.0-41.44~16.04.1-generic 4.8.17
  Uname: Linux 4.8.0-41-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CupsErrorLog:
-  
+ 
  Date: Mon Mar 27 08:33:14 2017
  ErrorMessage: subprocess new pre-removal script returned error exit status 1
  InstallationDate: Installed on 2017-03-26 (0 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
  MachineType: Sony Corporation VPCEH37FX
  Papersize: a4
  ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.8.0-41-generic 
root=UUID=3e827573-7305-4535-91c5-11cfa7f68b43 ro quiet splash vt.handoff=7
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-41-generic 
root=UUID=3e827573-7305-4535-91c5-11cfa7f68b43 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
-  dpkg 1.18.4ubuntu1.1
-  apt  1.2.19
+  dpkg 1.18.4ubuntu1.1
+  apt  1.2.19
  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/19/2012
  dmi.bios.vendor: INSYDE
  dmi.bios.version: R0200Z9
  dmi.board.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnINSYDE:bvrR0200Z9:bd04/19/2012:svnSonyCorporation:pnVPCEH37FX:pvrC1077FC8:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: VPCEH37FX
  dmi.product.version: C1077FC8
  dmi.sys.vendor: Sony Corporation

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1676396

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

Bug description:
  Hi everyone.

  1-) The sysem is:

  Description:  Ubuntu 16.04.2 LTS
  Release:      16.04

  2-) I've issue a sudo apt-get update, then received back this below:
  The following packages will be upgraded:
    cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon
    cups-ppdc cups-server-common libcups2 libcupscgi1 libcupsimage2 libcupsmime1
    libcupsppdc

  Chose Y (yes) and then I got this error below:

  ***********
  invoke-rc.d: initscript cups, action "stop" failed.
  dpkg: warning: subprocess old pre-removal script returned error exit status 1
  dpkg: trying script from the new package instead ...
  Job for cups.service canceled.
  invoke-rc.d: initscript cups, action "stop" failed.
  dpkg: error processing archive 
/var/cache/apt/archives/cups-daemon_2.1.3-4ubuntu0.2_amd64.deb (--unpack):
   subprocess new pre-removal script returned error exit status 1
  ***********

  3-) I expected the command end without any errors.
  4-) Happened what is described above, in 2-).

  Any clues?

  Regards.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: cups-daemon 2.1.3-4
  ProcVersionSignature: Ubuntu 4.8.0-41.44~16.04.1-generic 4.8.17
  Uname: Linux 4.8.0-41-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CupsErrorLog:

  Date: Mon Mar 27 08:33:14 2017
  ErrorMessage: subprocess new pre-removal script returned error exit status 1
  InstallationDate: Installed on 2017-03-26 (0 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
  MachineType: Sony Corporation VPCEH37FX
  Papersize: a4
  ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.8.0-41-generic 
root=UUID=3e827573-7305-4535-91c5-11cfa7f68b43 ro quiet splash vt.handoff=7
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-41-generic 
root=UUID=3e827573-7305-4535-91c5-11cfa7f68b43 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.19
  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/19/2012
  dmi.bios.vendor: INSYDE
  dmi.bios.version: R0200Z9
  dmi.board.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnINSYDE:bvrR0200Z9:bd04/19/2012:svnSonyCorporation:pnVPCEH37FX:pvrC1077FC8:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: VPCEH37FX
  dmi.product.version: C1077FC8
  dmi.sys.vendor: Sony Corporation

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

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

Reply via email to