package fonts-wine (not installed) failed to install/upgrade: trying to overwrite '/usr/share/wine/fonts/coue1255.fon', which is also in package wine1.4 1.4.1-0ubuntu5

Bug #1689737 reported by Shamuwel Ahmed
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wine (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

installed play on linux and then i started getting this error. Now apt is not working

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: fonts-wine (not installed)
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Tue May 9 23:06:56 2017
ErrorMessage: trying to overwrite '/usr/share/wine/fonts/coue1255.fon', which is also in package wine1.4 1.4.1-0ubuntu5
InstallationDate: Installed on 2017-05-08 (1 days ago)
InstallationMedia: Ubuntu-Budgie 17.04 "Zesty Zapus" - Release amd64 (20170412)
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.4
SourcePackage: wine
Title: package fonts-wine (not installed) failed to install/upgrade: trying to overwrite '/usr/share/wine/fonts/coue1255.fon', which is also in package wine1.4 1.4.1-0ubuntu5
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Shamuwel Ahmed (electr0de) wrote :
Revision history for this message
jre (jre-phoenix) wrote :

Please uninstall the obsolete Wine packages, then the file conflict should be solved and apt be working again:

$ sudo apt purge wine1.4 wine1.4-i386 wine1.4

You may also have to explicitly install the correct wine packages instead:

$ sudo apt install wine-stable wine32 wine64 libwine libwine:i386 fonts-wine

Now I wonder where the ancient wine1.4 was coming from when you tried to install playonlinux. Indeed playonlinux should pull in the package wine or any of the virtual packages which provides this name (many exist). Since Ubuntu 16.10 this should be "wine-stable" or eventually "wine-development".

But the package wine1.4 does not exist in Zesty, and the mentioned version is not part of any current Ubuntu repository (see http://packages.ubuntu.com/xenial/wine1.4). There was a transition from wine1.4 to wine1.6 in Xenial (16.04LTS), and beginning in 16.10 a transition from wine1.6 to wine-stable (or alternatively wine-development). Therefore we didn't see a need for explicitly handling wine1.4 in wine-stable, which now causes the error.

Please check the repositories in your /etc/apt/sources.list (and all files in the folder /etc/apt/sources.list.d/) if they are still relevant and provide packages for Zesty (17.04). I assume you have some old PPA there which breaks current wine from the Ubuntu repositories.

In the past we decided to only handle upgrades from official 16.04 and to ignore everything else. I'm not sure if we need to reconsider this, but for now I assume you did something really "exotic" on your system. So please tell me if my solution works for you, and if you found out where wine1.4 was coming from.

Greets!
jre

Changed in wine (Ubuntu):
status: New → Incomplete
Revision history for this message
jre (jre-phoenix) wrote :

The command

$ apt show -a wine wine1.4

should help to figure out what exactly went wrong.

Revision history for this message
Shamuwel Ahmed (electr0de) wrote :

Thanks for such fast reply !!!!
I installed play on Linux using command sudo apt-get install playonlinux. It downloaded something which needed 32 bit support. They were some 32 bit libraries. I removed them and removed playonlinux. I'll try installing it again and tell you the results. Sorry if I am not very clear, I don't know a lot about it

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

[Expired for wine (Ubuntu) because there has been no activity for 60 days.]

Changed in wine (Ubuntu):
status: Incomplete → Expired
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.