Upgrading to 14.04 gives problems II
Colin Law
clanlaw at gmail.com
Fri Sep 12 17:17:23 UTC 2014
On 12 September 2014 18:10, Colin Law <clanlaw at gmail.com> wrote:
> On 12 September 2014 17:20, J.L. Blom <joep at neuroweave.nl> wrote:
>> On 12/09/14 16:55, Colin Law wrote:
>>>
>>> On 12 September 2014 14:06, J.L. Blom <joep at neuroweave.nl> wrote:
>>>>
>>>> On 12/09/14 14:43, Colin Law wrote:
>>>>>
>>>>>
>>>>> That appears to say that is there ok available to be installed, I
>>>>> wonder why it does not get installed. Try to install it explicitly
>>>>> sudo apt-get install wine1.6-i386
>>>>>
>>>>> Colin
>>>>>
>>>>>
>>>>>
>>>> I just removed the superfluous information, but your tenacity gives some
>>>> results, although I donĀ“t know how to go further (see the 2nd last line):
>>>> ---------------------------------------------
>>>> joep at laguna:~$ sudo apt-get install wine1.6-i386
>>>> [sudo] password for joep:
>>>> 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.
>>>>
>>>> Or should I try to install the library?
>>>
>>> Definitely not, you will likely just make it worse. The chain will
>>> not go on forever and eventually we will find the one that is causing
>>> he problem.
>>> So now we need to find why liblcms2-2 won't install, so once again:
>>> sudo apt-cache policy liblcms2-2
>>>
>>> That should show something like
>>> colinl at tigger:~$ apt-cache policy liblcms2-2
>>> liblcms2-2:
>>> Installed: (none)
>>> Candidate: 2.5-0ubuntu4
>>> Version table:
>>> *** 2.5-0ubuntu4 0
>>> 500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main i386
>>> Packages
>>>
>>> If it shows something other than none for installed then post the
>>> result here. If it shows as above then try to install it.
>>> sudo apt-get install liblcms2-2
>>>
>
>>
>> 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
>> ------------------------------------------
>> So ther is another version installed. Now I understand that it want to
>> remove all packages that are dependent on the installed version. I am
>> learning constantly!
>> How to proceed?
>
> I think that means it was installed from somewhere other that the
> repository, probably one of the precise repositories that you had
> enabled. The problem is that I fear it will want to remove lots of
> stuff if you remove it. Try a simulated remove (which won't actually
> do anything). The -s means simulate
>
> sudo apt-get purge -s liblcms2-2
>
> If that says it would remove loads of good stuff then come back again
> for advice.
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
try it with -s first just to make sure it is does not want to wreck
your system. It may still want to take out some stuff that is
dependent on that version. Come back to ask if not sure before
running it again without the -s
Colin
More information about the ubuntu-users
mailing list