Missing or damaged dependencies in wine1.7

Bug #1229221 reported by John Winterton
72
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Wine
Fix Released
Undecided
Unassigned

Bug Description

john@john-12-10:~$ sudo apt-get install wine1.7
[sudo] password for john:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 wine1.7 : Depends: wine1.7-i386 (= 1.7.2-0ubuntu1~ppa1)
E: Unable to correct problems, you have held broken packages.

Description: Ubuntu 13.04
Release: 13.04
apt:
  Installed: 0.9.7.7ubuntu5
  Candidate: 0.9.7.7ubuntu5
  Version table:
 *** 0.9.7.7ubuntu5 0
        500 http://ca.archive.ubuntu.com/ubuntu/ raring-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.9.7.7ubuntu4 0
        500 http://ca.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages

I get the same thing from the Software Centre but with much more detail of what packages are missing or wrong.
I need this update to the wine beta to operate a program (gmax) I am using.

More Q.A. of these adds from outside vendors needs to be done.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: apt 0.9.7.7ubuntu5
ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
Uname: Linux 3.8.0-25-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Mon Sep 23 10:40:26 2013
InstallationDate: Installed on 2012-10-22 (335 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: apt
UpgradeStatus: Upgraded to raring on 2013-04-25 (150 days ago)

Revision history for this message
John Winterton (jwinterton) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

This is a bug in the packaging of wine.1.7, which is provided by the ubuntu-wine developers in a PPA, and not by packages from the official Ubuntu archive. Subsequently, there is nothing we the developers of Ubuntu can do to resolve this bug report so I am setting it to invalid. You should contact the owners of the PPA regarding this issue.

https://launchpad.net/~ubuntu-wine/+archive/ppa

affects: apt (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Invalid
Revision history for this message
Jakub Orlowski (jakub-o) wrote :

it also appears in the ubuntu repo without PPA!

Jakub Orlowski (jakub-o)
Changed in ubuntu:
status: Invalid → Confirmed
Revision history for this message
Jakub Orlowski (jakub-o) wrote :

this confuses me...

Revision history for this message
fcole90 (fcole90) wrote :

Wine1.7 is not in ubuntu repos.

affects: ubuntu → wine
Revision history for this message
fcole90 (fcole90) wrote :

I confirm the bug also in 14.04. The problem seems to be related to liblcms.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

There was an unclear situation that may no longer be relevant where, if you had wine1.6 installed, apt-get install wine1.7 would fail in this way but "apt-get install wine1.7 wine1.7-i386" would work, even though wine1.7 directly depends on wine1.7-i386.

However, I have a suspicion that you no longer have the actual PPA on your system and still have stale packages, such as can occur when upgrading from one Ubuntu release to the next. Please retry: sudo add-apt-repository ppa:ubuntu-wine/ppa

Revision history for this message
Otus (jan-varho) wrote :

I'm getting this or similar errors through update notifier GUI. I have the ubuntu-wine PPA enabled.

I think the issue stems from wine1.7-i386 only existing for i386 (naturally), i.e. as wine1.7-i386:i386. Something doesn't like that. Not sure if that's a packaging error or a bug in the package management stack.

Revision history for this message
John Winterton (jwinterton) wrote :

This problem no longer exists for me on Trusty.

Revision history for this message
Lars Kinder (falaki) wrote :

This problem still exists.

I have a fresh new installation of Ubuntu 14.04 and first I want to install wine:

apt-get install wine

 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.
 The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Okay - I tried to install wine1.6 directly:

apt-get install wine wine1.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine1.6 : Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4) but it is not going to be installed
           Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4) but it is not installable
           Recommends: fonts-horai-umefont but it is not going to be installed
           Recommends: fonts-unfonts-core but it is not going to be installed
           Recommends: ttf-wqy-microhei
           Recommends: winbind but it is not going to be installed
           Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Now I tried to install wine from the PPA as described above and got the same error message!

If I want to install wine1.6 then the package wine1.6-i386 is not installable and if I want to install wine1.7 from the PPA then wine1.7-i386 (= 1:1.7.18-0ubuntu1~trusty1) is not installable.

Revision history for this message
John Winterton (jwinterton) wrote :

I don't understand this problem, as it has long since been fixed by Scott Ritchie, the person responsible for the PPA. I am currently running john@john-12-10:~$ wine --version\ wine-1.7.18. on Ubuntu 14.04. This update came in through the normal software updating process so perhaps you have an error in your PPA.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

You might be experiencing bug 1313123

Revision history for this message
Lars Kinder (falaki) wrote :

Thank you Scott for the hint to bug 1313123. I understand the problem there but I don't know how to adapt to this issue here or how it could solve the dependency problem here (don't have the propriatery nvidia driver installed).

To ensure that the original packaging from Ubuntu and the imported PPA are not defect, I rubbed out my installation of Ubuntu 14.04 and installed it again (from an MD5 checked ISO) - but the error by installing wine / wine1.7 (PPA) hasn't gone away.

Revision history for this message
B.J. Herbison (bj-herbison) wrote :

I have the same problem as Lars, and I also don't know how to adapt the information in bug 1313123 (now directing to bug 1247736) to solve my problem.

From https://bugs.launchpad.net/ubuntu/+source/ocl-icd/+bug/1247736/comments/13 I tried:
sudo apt-get install ocl-icd-opencl-dev
sudo apt-get install wine1.6-amd64

The first command worked, the second said:
The following packages have unmet dependencies:
 wine1.6-amd64 : Depends: wine1.6:any (= 1:1.6.2-0ubuntu4)

So I tried "sudo apt-get install wine1.6" ant got:
The following packages have unmet dependencies:
 wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)

Which led to "sudo apt-get install wine1.6-i386" giving:
The following packages have unmet dependencies:
 wine1.6-i386:i386 : Depends: liblcms2-2:i386 (>= 2.2+git20110628) but it is not going to be installed

> dpkg --get-selections | grep liblcms
liblcms1:amd64 install
liblcms1:i386 deinstall
liblcms2-2:amd64 install
liblcms2-dev:amd64 install

> sudo dpkg -i liblcms2-2:i386
dpkg: error processing archive liblcms2-2:i386 (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 liblcms2-2:i386

What is the correct series of steps to get wine installed. It was working before I upgraded to 14.04.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

What happens if you try to install liblcms2-2:i386 using apt?

Revision history for this message
B.J. Herbison (bj-herbison) wrote :

> What happens if you try to install liblcms2-2:i386 using apt?

> sudo apt-get install liblcms2-2:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libxine1-plugins : Depends: libxine1-misc-plugins (>= 1.1.21-2ubuntu1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

And, to short-circuit the next question, I have no held packages.

> aptitude search \~ahold
> aptitude search \~ahold | wc
      0 0 0

> sudo apt-get install libxine1-misc-plugins
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxine1-misc-plugins is already the newest version.
libxine1-misc-plugins set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

> sudo apt-cache policy libxine1-misc-plugins
libxine1-misc-plugins:
  Installed: 1.1.21-2ubuntu1
  Candidate: 1.1.21-2ubuntu1
  Version table:
 *** 1.1.21-2ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Libxine isn't anywhere in the dependency tree for Wine. Something else is broken for you.

What's apt-get -f install suggest?

Revision history for this message
B.J. Herbison (bj-herbison) wrote :

The output from running the installation again adding -f is below. I'm not sure why i386 appears instead of amd64 (but "dpkg --get-selections" does show 900 amd64 packages installed and 270 i386, so it's not the only i386 package).

> sudo apt-get -f install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

> sudo apt-get -f install wine1.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
E: Unable to correct problems, you have held broken packages.

> sudo apt-get -f install wine1.6-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine1.6-i386:i386 : Depends: liblcms2-2:i386 (>= 2.2+git20110628) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

> sudo apt-get -f install liblcms2-2:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libxine1-plugins : Depends: libxine1-misc-plugins (>= 1.1.21-2ubuntu1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

> sudo apt-get -f install libxine1-misc-plugins
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxine1-misc-plugins is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
B.J. Herbison (bj-herbison) wrote :

Someone suggested aptitude for the install, the output is below. The installation failed for roughly the same reason, just slightly different explanation. (Aptitude had a second suggestion, but it involved removing 483 packages and still not installing Wine.)

The conflict seems to be around versions from precise (12.04), but I'm running trusty. Is there a way to upgrade to the trusty versions of everything?

> sudo aptitude install wine1.7
The following NEW packages will be installed:
  libcapi20-3{a} libgif4:i386{a} liblcms2-2:i386{ab} libpcap0.8:i386{a} ocl-icd-libopencl1:i386{a} p11-kit-modules:i386{a}
  wine-gecko2.24{a} wine-gecko2.24:i386{a} wine-mono4.5.2{a} wine1.7 wine1.7-amd64{a} wine1.7-i386:i386{a}
0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 136 MB of archives. After unpacking 379 MB will be used.
The following packages have unmet dependencies:
 liblcms2-2 : Breaks: liblcms2-2:i386 (!= 2.6-3ubuntu1~precise1) but 2.5-0ubuntu4 is to be installed.
 liblcms2-2:i386 : Breaks: liblcms2-2 (!= 2.5-0ubuntu4) but 2.6-3ubuntu1~precise1 is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1) liblcms2-2:i386 [Not Installed]
2) wine1.7 [Not Installed]
3) wine1.7-amd64 [Not Installed]
4) wine1.7-i386:i386 [Not Installed]

     Leave the following dependencies unresolved:
5) wine-gecko2.24 recommends wine1.5-amd64
6) wine-gecko2.24:i386 recommends wine1.5-i386:i386

Accept this solution? [Y/n/q/?]
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

Revision history for this message
B.J. Herbison (bj-herbison) wrote :

My problems have been fixed by upgrading to 14.10. After the upgrade I was able to install wine with no problems.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Yes, the dependency issues should all be fixed in 14.10. I'll investigate SRUing some to 14.04 as well.

Changed in wine:
status: Confirmed → Fix Released
Revision history for this message
MichaelLabowicz (mlabowicz) wrote :

I'm still running into this issue on 14.04, having upgraded from 12.04. Any chance this could get fixed on 14.04?

Revision history for this message
kenorb (kenorb) wrote :

Just do: sudo apt-get update

Revision history for this message
B.J. Herbison (bj-herbison) wrote :

kenorb, when I had this problem "sudo apt-get update" didn't help address the problem at all. (For me upgrading to 14.10 fixed the problem.)

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.