package cupsys 1.3.2-1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 3

Bug #147900 reported by Kris
10
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: cupsys

Reinstall package through Synaptic

ProblemType: Package
Architecture: i386
Date: Mon Oct 1 19:58:40 2007
DistroRelease: Ubuntu 7.10
ErrorMessage: subprocess post-installation script returned error exit status 3
NonfreeKernelModules: nvidia
Package: cupsys 1.3.2-1ubuntu1
PackageArchitecture: i386
SourcePackage: cupsys
Title: package cupsys 1.3.2-1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 3
Uname: Linux Computer1 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

Revision history for this message
Kris (bogemann) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :

The error is (translated):
Trying to replace »/usr/share/doc/libcupsys2/CREDITS.txt«, which is also in package libcupsys2.

Changed in cupsys:
status: New → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

I've thought this was bug 149106, but it's probably not.
It rather looks like cupsd crashed in the install/upgrade process.

Kris, is the problem still present?

Changed in cupsys:
status: Confirmed → Incomplete
Revision history for this message
Kris (bogemann) wrote : Re: [Bug 147900] Re: package cupsys 1.3.2-1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 3

Daniel,
                  yes I believe so I'll need to check again when I get home
 -------------- Original message ----------------------
From: dAniel hAhler <email address hidden>
> I've thought this was bug 149106, but it's probably not.
> It rather looks like cupsd crashed in the install/upgrade process.
>
> Kris, is the problem still present?
>
> ** Changed in: cupsys (Ubuntu)
> Status: Confirmed => Incomplete
>
> --
> package cupsys 1.3.2-1ubuntu1 failed to install/upgrade: subprocess
> post-installation script returned error exit status 3
> https://bugs.launchpad.net/bugs/147900
> You received this bug notification because you are a direct subscriber
> of the bug.

Revision history for this message
Torcuill (astro-torcuill) wrote :

I apologise if this is not needed, but I think I have the same symptoms, pasting from konsole:
=====start=====
207 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
20 not fully installed or removed.
Need to get 0B/273MB of archives.
After unpacking 1352kB disk space will be freed.
Do you want to continue [Y/n]?
Extract templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 78349 files and directories currently installed.)
Preparing to replace cupsys 1.3.2-1ubuntu1 (using .../cupsys_1.3.2-1ubuntu4_i386 .deb) ...
 * Stopping Common Unix Printing System: cupsd [ OK ]
Unpacking replacement cupsys ...
dpkg: error processing /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_i386.deb (- -unpack):
 trying to overwrite `/usr/share/doc/libcupsys2/CREDITS.txt', which is also in package libcupsys2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
 * Starting Common Unix Printing System: cupsd [ OK ]
Errors were encountered while processing:
 /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
=====end=====
HTH

Torc

Revision history for this message
Bremm (bremm) wrote :

Same here... I think I'll get rid of the conflicting file just to see if dist-upgrade works.

$ LANG=C sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  wammu
The following packages will be upgraded:
  cupsys
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
103 not fully installed or removed.
Need to get 0B/1836kB of archives.
After unpacking 1393kB disk space will be freed.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 216908 files and directories currently installed.)
Preparing to replace cupsys 1.3.2-1ubuntu3 (using .../cupsys_1.3.2-1ubuntu4_amd64.deb) ...
Ignoring nonregistered document cupsys
 * Stopping Common Unix Printing System: cupsd [ OK ]
Unpacking replacement cupsys ...
dpkg: error processing /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_amd64.deb (--unpack):
 trying to overwrite `/usr/share/doc/libcupsys2/CREDITS.txt', which is also in package libcupsys2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
 * Starting Common Unix Printing System: cupsd [ OK ]
Errors were encountered while processing:
 /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Bremm (bremm) wrote :

I used

$ sudo dpkg -i --force-all /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_amd64.deb

and two files were conflicting:

trying to overwrite `/usr/share/doc/libcupsys2/CREDITS.txt', which is also in package libcupsys2
trying to overwrite `/usr/share/doc/libcupsys2/README.txt.gz', which is also in package libcupsys2

Forced installation isn't a nice option, I know, but I needed to know which files were wrong.

So I re-ran dist-upgrade and it worked as a charm.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.