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
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)
ProcVersionSign
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/
InstallationDate: Installed on 2017-05-08 (1 days ago)
InstallationMedia: Ubuntu-Budgie 17.04 "Zesty Zapus" - Release amd64 (20170412)
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: wine
Title: package fonts-wine (not installed) failed to install/upgrade: trying to overwrite '/usr/share/
UpgradeStatus: No upgrade log present (probably fresh install)
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