Upgrading to 14.04 gives problems II

Colin Law clanlaw at gmail.com
Sat Sep 13 06:11:47 UTC 2014


On 12 September 2014 23:13, J.L. Blom <joep at neuroweave.nl> wrote:
> On 12/09/14 23:01, Colin Law wrote:
>>
>> On 12 September 2014 18:40, Oliver Grawert <ogra at ubuntu.com> wrote:
>>>
>>> hi,
>>>
>>> Am Freitag, den 12.09.2014, 18:17 +0100 schrieb Colin Law:
>>>
>>>>>> Well, it definitely gave something else. Here is the output:
>>>>>> ------------------------------------------
>>>>>> joep at laguna:~$ sudo apt-cache policy liblcms2-2
>>>>>> [sudo] password for joep:
>>>>>> liblcms2-2:
>>>>>>    Installed: 2.6-3ubuntu1~precise1
>>>>>>    Candidate: 2.6-3ubuntu1~precise1
>>>>>>    Version table:
>>>>>>   *** 2.6-3ubuntu1~precise1 0
>>>>>>          100 /var/lib/dpkg/status
>>>>>>       2.5-0ubuntu4 0
>>>>>>          500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64
>>>>>> Packages
>>>
>>> ...
>>>>>
>>>>> sudo apt-get purge -s liblcms2-2
>>>
>>> ...
>>>>
>>>> Actually I think the answer is to use apt-get to change it to the
>>>> correct version in one go, so
>>>> apt-get install -s liblcms2-2=2.5-0ubuntu4
>>>
>>> note: liblcms2-2:i386 != liblcms2-2:amd64 ...
>>>
>>> that wine package is obviously a multiarch i386 package to be installed
>>> on amd64 ... if you research the dependency chain here, make sure to
>>> always use colon and arch appended to the package name to specify the
>>> desired arch ...
>>
>> Oops, I had missed that.  Hold your horses Joep till we get this
>> sorted out.  Oli, does that mean that on a 64 bit system one can have
>> liblcms2-2 (which will actually be the 64 bit version) and
>> liblcms2-2:i386 both installed?  In which case Joep what does
>> apt-cache policy liblcms2-2:i386
>> show (you don't need sudo on apt-cache policy by the way).  The fact
>> that liblcms2-2 (:amd64?) appears to be from the wrong repo is still
>> odd, the fact that it appears to be a later version from an earlier
>> repo even stranger.
>>
>> Colin
>>
> Oliver, Colin,
> AGain thanks for your insight. I understand your remarks of course but I
> have insufficient knowledge of the debian package system so I duly follow
> your suggestions.
> As I don´t know in which time zones you are there is of course a timing
> sifference. Moreover I was away this evening (I´ḿ on GMT+2, summertime).
> Here are the results of Colin´s suggestion:
> ------------------------------------------------------
> joep at laguna:~$ apt-cache policy liblcms2-2:i386
> liblcms2-2:i386:
>   Installed: (none)
>   Candidate: 2.5-0ubuntu4
>   Version table:
>      2.5-0ubuntu4 0
>         500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
> _____________________________________
> And here of the same command without :i386:
> ______________________________________________
> joep at laguna:~$ apt-cache policy liblcms2-2
> liblcms2-2:
>   Installed: 2.6-3ubuntu1~precise1
>   Candidate: 2.6-3ubuntu1~precise1
>   Version table:
>  *** 2.6-3ubuntu1~precise1 0
>         100 /var/lib/dpkg/status
>      2.5-0ubuntu4 0
>         500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
> _______________________________________________
> And the same command with :AMD64:
> _______________________________________________
> joep at laguna:~$ apt-cache policy liblcms2-2:AMD64

That should have been lower case amd64 I think, and since you have
installed the 64 bit Ubuntu that should show the same as liblcms2-2.

There are in fact two versions of that package that you can install,
the 64 bit version, which is what you have, and the 386 version which
is what wine seems to want.  So I suggest trying
sudo apt-get install liblcms2-2:i386

Can I just re-check that you have done
sudo apt-get install -f

Can you post the result of that.  Also do the install above though.

Colin




More information about the ubuntu-users mailing list