package pyscrabble-common 1.6.2-3ubuntu1 failed to install/upgrade: trying to overwrite `/usr/share/pyshared/pyscrabble/gtkconstants.py', which is also in package pyscrabble

Bug #362080 reported by HughDaniel
8
Affects Status Importance Assigned to Milestone
pyscrabble (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: pyscrabble

  One of the two packages below needs to be giving control of the file in question.

"""
# aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Resolving dependencies...
The following packages will be upgraded:
  pyscrabble-common
The following partially installed packages will be configured:
  pyscrabble
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/42.3kB of archives. After unpacking 28.7kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 177822 files and directories currently installed.)
Preparing to replace pyscrabble-common 1.6.2-3ubuntu1 (using .../pyscrabble-common_1.6.2-3ubuntu3_all.deb) ...
Unpacking replacement pyscrabble-common ...
dpkg: error processing /var/cache/apt/archives/pyscrabble-common_1.6.2-3ubuntu3_all.deb (--unpack):
 trying to overwrite `/usr/share/pyshared/pyscrabble/gtkconstants.py', which is also in package pyscrabble
Errors were encountered while processing:
 /var/cache/apt/archives/pyscrabble-common_1.6.2-3ubuntu3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of pyscrabble:
 pyscrabble depends on pyscrabble-common (= 1.6.2-3ubuntu3); however:
  Version of pyscrabble-common on system is 1.6.2-3ubuntu1.
dpkg: error processing pyscrabble (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pyscrabble
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

#
"""

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: trying to overwrite `/usr/share/pyshared/pyscrabble/gtkconstants.py', which is also in package pyscrabble
NonfreeKernelModules: nvidia
Package: pyscrabble-common 1.6.2-3ubuntu1
PackageArchitecture: all
SourcePackage: pyscrabble
Title: package pyscrabble-common 1.6.2-3ubuntu1 failed to install/upgrade: trying to overwrite `/usr/share/pyshared/pyscrabble/gtkconstants.py', which is also in package pyscrabble
Uname: Linux 2.6.28-11-generic i686

Related branches

Revision history for this message
HughDaniel (hugh-toad) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

I received the same error with pyscrabble_1.6.2-3ubuntu3:

Selecting previously deselected package pyscrabble-common.
(Reading database ... 246208 files and directories currently installed.)
Unpacking pyscrabble-common (from .../pyscrabble-common_1.6.2-3ubuntu3_all.deb) ...
Selecting previously deselected package pyscrabble.
Unpacking pyscrabble (from .../pyscrabble_1.6.2-3ubuntu3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/pyscrabble_1.6.2-3ubuntu3_all.deb (--unpack):
 trying to overwrite `/usr/share/pyshared/pyscrabble/gtkconstants.py', which is also in package pyscrabble-common
Processing triggers for menu ...
Errors were encountered while processing:
 /var/cache/apt/archives/pyscrabble_1.6.2-3ubuntu3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Changed in pyscrabble (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote :

Attached is a debdiff that resolves the issue.

Changed in pyscrabble (Ubuntu):
status: Triaged → New
Revision history for this message
Scott Kitterman (kitterman) wrote :

ack. Go for it.

Should it be Replaces: pyscrabble-common (<= 1.6.2-3ubuntu3) or Replaces: pyscrabble-common (<< 1.6.2-3ubuntu4)?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pyscrabble - 1.6.2-3ubuntu4

---------------
pyscrabble (1.6.2-3ubuntu4) jaunty; urgency=low

  * debian/pyscrabble-common.install: resolve typographic error (LP: #362080)

 -- Brian Murray <email address hidden> Thu, 16 Apr 2009 15:18:46 -0700

Changed in pyscrabble (Ubuntu):
status: New → Fix Released
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.