package wine (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/wine-stable', which is also in package wine-stable 3.0-1ubuntu1

Bug #1775056 reported by Fabio Marconi
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wine (Ubuntu)
New
Undecided
Unassigned

Bug Description

Happened during the upgrade to cosmic, I have not wine installed

ProblemType: Package
DistroRelease: Ubuntu 18.10
Package: wine (not installed)
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.10-0ubuntu3
Architecture: amd64
Date: Mon Jun 4 20:17:39 2018
DuplicateSignature:
 package:wine:(not installed)
 Unpacking wine (3.0.1-2) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-WcZobT/439-wine_3.0.1-2_all.deb (--unpack):
  trying to overwrite '/usr/bin/wine-stable', which is also in package wine-stable 3.0-1ubuntu1
ErrorMessage: trying to overwrite '/usr/bin/wine-stable', which is also in package wine-stable 3.0-1ubuntu1
InstallationDate: Installed on 2016-10-30 (582 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu3
 apt 1.7.0~alpha0ubuntu1
SourcePackage: wine
Title: package wine (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/wine-stable', which is also in package wine-stable 3.0-1ubuntu1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :
description: updated
tags: removed: need-duplicate-check
Revision history for this message
jre (jre-phoenix) wrote :

Hi,

thanks for your report, Fabio. This is caused by the transition from the old Ubuntu Wine packages to Debian's src:wine. Now in stage two we have to rename wine-stable back to wine. In a too optimistic naivety I had hoped that we don't need breaks/replaces for this - despite some positive tests it seems I was wrong. I've got no idea why it works for some people/package managers), but not you(rs).

Anyway, attached patch should fix it. It lets pkg:wine break/replace the real (non-transitional) pkg:wine-stable.

Ubuntu folks, please test and upload a fixed version of src:wine to cosmic.

If this works, I will add it in Debian until 20.04 is released, so that you can continue syncing wine again.

Greets
jre

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "commit-6474c61" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
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.