unable to install libxrandr-dev

Bryan White brewmanz at gmail.com
Wed Nov 9 21:27:37 UTC 2016


On 9 November 2016 at 22:10, Christian Ehrhardt <
christian.ehrhardt at canonical.com> wrote:

>
> On Mon, Nov 7, 2016 at 12:53 AM, Bryan White <brewmanz at gmail.com> wrote:
>
>>
>> The following packages have unmet dependencies:
>>  libxrandr-dev : Depends: libxrandr2 (= 2:1.4.2-1) but 2:1.5.0-1~trusty1
>> is to be installed
>> E: Unable to correct problems, you have held broken packages.
>>
>> How do I fix this?
>
>
> Hi Bryan,
> just checked and was able to install as expected.
> Actually for you libxrandr-dev should be on 1.5.0 from trusty-updated as
> well.
> The change is out for a while (2016-07-29), but to be sure you could run
> 'apt-get update' once more.
> Then check why your system isn't going for libxrandr-dev 2:1.5.0-1~trusty1
> with apt-cache policy.
>
> IMHO it should these days look like:
>
> root at trusty-tests:~# apt-cache policy libxrandr-dev
> libxrandr-dev:
>   Installed: (none)
>   Candidate: 2:1.5.0-1~trusty1
>   Version table:
>      2:1.5.0-1~trusty1 0
>         500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64
> Packages
>      2:1.4.2-1 0
>         500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
> root at trusty-tests:~# apt-cache policy libxrandr2
> libxrandr2:
>   Installed: (none)
>   Candidate: 2:1.5.0-1~trusty1
>   Version table:
>      2:1.5.0-1~trusty1 0
>         500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64
> Packages
>      2:1.4.2-1 0
>         500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
>
> Kind Regards,
> Christian
>
Hello Christian

# # # #
SHORT VERSION... now fixed - thanks.

# # # #
LONG VERSION...
My as-was details ...

bryan at ASUS-K75DE:~$ apt-cache policy libxrandr-dev
libxrandr-dev:
  Installed: (none)
  Candidate: 2:1.4.2-1
  Version table:
     2:1.4.2-1 0
        500 http://nz.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

 ... clearly missing the trusty-updates bit
===
(using Synaptic Package Manager)
Software & Updates - only checked box was 'Important security updates
(trusty-security)'
i.e. 'Recommended updates (trusty updates)' NOT selected

So I selected 'Recommended updates' & updated 150+MB
===
My new details ...

bryan at ASUS-K75DE:~$ apt-cache policy libxrandr-dev
libxrandr-dev:
  Installed: (none)
  Candidate: 2:1.5.0-1~trusty1
  Version table:
     2:1.5.0-1~trusty1 0
        500 http://nz.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64
Packages
     2:1.4.2-1 0
        500 http://nz.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

===
and libxrandr-dev now installs :-)

# # # #

Regards

Bryan White
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20161110/e1a4ca49/attachment.html>


More information about the Ubuntu-devel-discuss mailing list