Re: unable to install libxrandr-dev

2016-11-10 Thread Bryan White
On 9 November 2016 at 22:10, Christian Ehrhardt <
christian.ehrha...@canonical.com> wrote:

>
> On Mon, Nov 7, 2016 at 12:53 AM, Bryan White  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@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@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@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@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
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: unable to install libxrandr-dev

2016-11-09 Thread Christian Ehrhardt
On Mon, Nov 7, 2016 at 12:53 AM, Bryan White  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@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@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
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


unable to install libxrandr-dev

2016-11-09 Thread Bryan White
ref: https://www.howtoinstall.co/en/ubuntu/trusty/libxrandr-dev

When I run

sudo apt-get install libxrandr-dev

I get:

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:
 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?
Thanks

Regards

brewmanz
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss