trying to overwrite '/usr/bin/extractattr', which is also in package pkg-kde-tools 0.14.2ubuntu5

Bug #1312651 reported by Michael Schaller
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkg-kde-tools (Ubuntu)
Fix Released
Medium
Unassigned
Trusty
Fix Released
Medium
Unassigned
Utopic
Fix Released
Medium
Unassigned

Bug Description

[Impact]

Since 12.04 various files from pkg-kde-tools moved to kdesdk-scripts creating a file conflict between a sufficiently old version and a sufficiently new version. This can break upgrades to 14.04. The solution is to introduce a replaces and breaks relationship to force pkg-kde-tools to be upgraded first.

[Test Case]

* On a 12.04 installation, install kdesdk-scripts *and* pkg-kde-tools
* Upgrade to 14.04
* No file conflicts should appear between kdesdk-scripts and pkg-kde-tools

[Regression Potential]

relationship could be wrong rendering any of the two packages uninstallable or unupgradable

[Other Info]

n/a

-----

During a dist-upgrade (via python-apt) from Precise to Trusty there is a file conflict between kdesdk-scripts and pkg-kde-tools.

Log snippet:
Processing package kdesdk-scripts (0.2040%)
Unpacking kdesdk-scripts (4:4.13.0-0ubuntu1) over (4:4.8.5-0ubuntu0.1) ...
dpkg: error processing archive /var/cache/apt/archives/kdesdk-scripts_4%3a4.13.0-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/bin/extractattr', which is also in package pkg-kde-tools 0.14.2ubuntu5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
trying to overwrite '/usr/bin/extractattr', which is also in package pkg-kde-tools 0.14.2ubuntu5
Errors were encountered while processing:
 /var/cache/apt/archives/kdesdk-scripts_4%3a4.13.0-0ubuntu1_all.deb

File conflict details:
Package 1:
  Name: kdesdk-scripts
  Installed version: 4:4.8.5-0ubuntu0.1
  Candidate version: 4:4.13.0-0ubuntu1
Package 2:
  Name: pkg-kde-tools
  Installed version: 0.14.2ubuntu5
  Candidate version: 0.15.12ubuntu1
Conflicting files:
  '/usr/bin/extractattr'
  '/usr/bin/extractrc'

Changed in pkg-kde-tools (Ubuntu Trusty):
importance: Undecided → Medium
Changed in pkg-kde-tools (Ubuntu Utopic):
importance: Undecided → Medium
status: New → Fix Committed
Changed in pkg-kde-tools (Ubuntu Trusty):
status: New → Triaged
Revision history for this message
Harald Sitter (apachelogger) wrote :

  Uploading kde-dev-scripts_4.13.0-0ubuntu1.1_source.changes: done.
Successfully uploaded packages.

uploaded to trusty, pending sru approval

description: updated
Changed in pkg-kde-tools (Ubuntu Trusty):
status: Triaged → In Progress
milestone: none → ubuntu-14.04.1
Changed in pkg-kde-tools (Ubuntu Utopic):
milestone: none → ubuntu-14.10
Revision history for this message
Scott Kitterman (kitterman) wrote : Please test proposed package

Hello Michael, or anyone else affected,

Accepted into trusty-proposed. The package will build now and be available in a few hours in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in pkg-kde-tools (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
description: updated
Revision history for this message
Harald Sitter (apachelogger) wrote :

No conflict when upgrading with both and proposed enabled.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Michael Schaller (misch-9) wrote :

Thank you Harald for taking care of this.
I can confirm that the package in proposed fixes this issue.

Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of the Stable Release Update for kde-dev-scripts has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Mathew Hodson (mhodson) wrote :
Changed in pkg-kde-tools (Ubuntu Trusty):
status: Fix Committed → Fix Released
tags: added: kubuntu
Mathew Hodson (mhodson)
Changed in pkg-kde-tools (Ubuntu Utopic):
status: Fix Committed → 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.