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
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)
ProcVersionSign
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-
trying to overwrite '/usr/bin/
ErrorMessage: trying to overwrite '/usr/bin/
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
RelatedPackageV
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/
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
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