Error installing upgraded cupsys

Bug #140002 reported by Martin Olsson
8
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Invalid
Medium
Unassigned
ubuntu-docs (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I just did a update/upgrade in synaptic and while a new version of cupsys was being installed there was a minor error message about some HTML invalid entity. See attached screenshot for details.

Revision history for this message
Martin Olsson (mnemo) wrote :
Revision history for this message
Murat Gunes (mgunes) wrote :

Setting affected package to "cupsys".

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The file causing the problem is

/usr/share/omf/windows/windows-C.omf

which is part of ubuntu-docs. I do not know why this complaint appears during the update of CUPS.

Can you check whether CUPS got really updated ("dpkg -l '*cupsys*'")? What happens if you run "sudo apt-get dist-upgrade" on the command line? Does it tell in the end about packages whose installation/configuration could not be completed? Which packages get listed?

Changed in cupsys:
importance: Undecided → Medium
status: New → Incomplete
Changed in ubuntu-docs:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Matthew East (mdke) wrote :

Definitely an ubuntu-docs bug. Don't worry about giving more information; we'll check and confirm

Changed in ubuntu-docs:
status: Incomplete → New
Revision history for this message
Martin Olsson (mnemo) wrote :

FWIW

mnemo@gutsyT5:~$ dpkg -l '*cupsys*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-========================-========================-================================================================
ii cupsys 1.3.0-4ubuntu3 Common UNIX Printing System(tm) - server
ii cupsys-bsd 1.3.0-4ubuntu3 Common UNIX Printing System(tm) - BSD commands
ii cupsys-client 1.3.0-4ubuntu3 Common UNIX Printing System(tm) - client programs (SysV)
ii cupsys-common 1.3.0-4ubuntu3 Common UNIX Printing System(tm) - common files
un cupsys-driver-gimpprint <none> (no description available)
un cupsys-driver-gimpprint- <none> (no description available)
ii cupsys-driver-gutenprint 5.0.1-0ubuntu3 printer drivers for CUPS
un cupsys-pstoraster <none> (no description available)
un cupsys-pt <none> (no description available)
ii libcupsys2 1.3.0-4ubuntu3 Common UNIX Printing System(tm) - libs
mnemo@gutsyT5:~$

Revision history for this message
Colin Watson (cjwatson) wrote :

Not a cupsys bug; it's just coincidence that it appeared here.

Changed in cupsys:
status: Incomplete → Invalid
Revision history for this message
uga (yegor-jbanov) wrote :

I have noticed exactly the same lines in my upgrade log the first time (sorry, the evidence was lost), but I also have additional symptoms (see below). When I unchecked cupsys from the upgrade list the upgrade finished without errors and only cupsys is left as an upgradable package.

Trying to upgrade cupsys now fails with a GUI message:

"E: /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_i386.deb: trying to overwrite `/usr/share/doc/libcupsys2/CREDITS.txt', which is also in package libcupsys2"

In the log:

Preconfiguring packages ...
(Reading database ... 136800 files and directories currently installed.)
Preparing to replace cupsys 1.3.2-1ubuntu1 (using .../cupsys_1.3.2-1ubuntu4_i386.deb) ...
Ignoring nonregistered document cupsys
 * Stopping Common Unix Printing System: cupsd
   ...done.
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
   ...done.
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)
A package failed to install. Trying to recover:

Revision history for this message
Francisco Athens (freelikegnu) wrote :

I can confirm uga's report as I experienced the same issue...

E: /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_i386.deb: trying to overwrite `/usr/share/doc/libcupsys2/CREDITS.txt', which is also in package libcupsys2

Revision history for this message
Francisco Athens (freelikegnu) wrote :

Shall I change to confimed?

Changed in ubuntu-docs:
status: New → Confirmed
Revision history for this message
Florian Rohde (floggy) wrote :

Exactly the same problem on my system:

"dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_i386.deb (--unpack):
 Versuche, »/usr/share/doc/libcupsys2/CREDITS.txt« zu überschreiben, welches auch in Paket libcupsys2 ist"

Revision history for this message
Kansei (clauretano) wrote :

I can also confirm uga's report, but it's not the same bug from what I can tell. I'm still trying to find the right bug report

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

uga's problem is not the original problem reported in this bug, it is bug 149106. Please discuss that problem there.

Revision history for this message
Francisco Athens (freelikegnu) wrote :

Seems like this is fixed now, thanks!

Changed in ubuntu-docs:
status: Confirmed → Fix Released
Revision history for this message
Francisco Athens (freelikegnu) wrote :

whoops my bad...

Changed in ubuntu-docs:
status: Fix Released → Confirmed
Revision history for this message
Bilbo (dale-pearl) wrote :

if you remove kubuntu-docs from the command line and reinstall it it works just fine.
Errors were encountered while processing:
 kubuntu-docs

sudo apt-get remove kubuntu-docs
and then once it completes:
sudo apt-get install kubuntu-docs

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.