libegl1 installation problem on X15

98 views
Skip to first unread message

Bas de Bruijn

unread,
Jan 3, 2018, 11:39:48 AM1/3/18
to BeagleBoard
Hi,

I'm trying to install Machinekit on the Beagleboard X15, one of these steps results in libegl1 being installed. However, this results in an error where there is already a shared library in package libegl1-mesa:armhf 17.1.3-2rcnee0~stretch+20170627

Get:1 http://repos.rcn-ee.com/debian stretch/main armhf libegl1 armhf 0.2.999+git20170802-2 [27.2 kB]
Fetched 27.2 kB in 0s (53.7 kB/s)  
(Reading database ... 97424 files and directories currently installed.)
Preparing to unpack .../libegl1_0.2.999+git20170802-2_armhf.deb ...
Unpacking libegl1:armhf (0.2.999+git20170802-2) ...
dpkg: error processing archive /var/cache/apt/archives/libegl1_0.2.999+git20170802-2_armhf.deb (--unpack):
 trying to overwrite '/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0', which is also in package libegl1-mesa:armhf 17.1.3-2rcnee0~stretch+20170627

I'm running from SD card with the "stock" image of stretch found here https://beagleboard.org/latest-images
debian@BeagleBoard-X15:~/machinekit$ uname -a
Linux BeagleBoard-X15 4.9.35-ti-r44 #1 SMP PREEMPT Sat Jul 1 00:54:33 UTC 2017 armv7l GNU/Linux

sudo apt --fix-broken install gets me in an eternal broken packages loop :)

Any ideas on how to solve this would be highly appreciated.
Regards,
Bas

Robert Nelson

unread,
Jan 3, 2018, 11:46:09 AM1/3/18
to Beagle Board, Bas de Bruijn
Hi Bas,
This happened when i merged mesa: 17.3.x over 17.1.3

It should resolve with:

sudo apt update
sudo apt dist-upgrade
sudo apt --fix-broken install

For "i.mx6" hardware 17.3.x brought us "Desktop" OpenGL 2.0... sadly
only software bug fixes for the X15...

Regards,

--
Robert Nelson
https://rcn-ee.com/

Robert Nelson

unread,
Jan 3, 2018, 12:03:18 PM1/3/18
to Beagle Board, Bas de Bruijn
I'm working on a better fix so this will be more seamless and not
noticeable, with an upgrade of libglvnd

Package: libegl1
Architecture: any
Pre-Depends: ${misc:Pre-Depends},
Depends:
${shlibs:Depends},
${misc:Depends},
libglvnd0 (= ${binary:Version}),
libegl-mesa0 | libegl-vendor,
Replaces:
libegl1-mesa (<< 17.2.0~rc4-1),
libglvnd0 (<< 0.2.999+git20170201-1)
Breaks:
libegl1-mesa (<< 17.2.0~rc4-1),
libglvnd0 (<< 0.2.999+git20170201-1)


https://anonscm.debian.org/git/pkg-xorg/lib/libglvnd.git/tree/debian/control

Bas de Bruijn

unread,
Jan 3, 2018, 1:10:52 PM1/3/18
to beagl...@googlegroups.com
Thanks, that solved it! the X15 is now compiling Machinekit.

Robert Nelson

unread,
Jan 3, 2018, 3:25:30 PM1/3/18
to Beagle Board
Thanks for testing.

So after an updated libglvnd & mesa, and with a fresh factory install:

dogtag:[BeagleBoard.org Debian Image 2017-07-02]

sudo apt update ; sudo apt upgrade

Works just fine now...

magnus....@gmail.com

unread,
Sep 8, 2018, 10:38:32 PM9/8/18
to BeagleBoard
Hi! I got a BB x15 which Ive installed machinekit on, but I have big trouble finding any documentation on others setting up their HAL on the x15 and how to set up the pins with the PRU on the x15 and how well it is implemented at this stage. If you could share about your setup it would be awesome!

Cheers, 
Magnus

Bas de Bruijn

unread,
Sep 9, 2018, 5:23:09 AM9/9/18
to beagl...@googlegroups.com


On 9 Sep 2018, at 01:14, magnus....@gmail.com wrote:

Hi! I got a BB x15 which Ive installed machinekit on, but I have big trouble finding any documentation on others setting up their HAL on the x15 and how to set up the pins with the PRU on the x15 and how well it is implemented at this stage. If you could share about your setup it would be awesome!

Hi Magnus

I have only installed MK and not looked into the PRU, pins and IO. Work and other projects have left me with too little time. You’d best ask around on the Machinekit group.

Bas


Cheers, 
Magnus

On Wednesday, January 3, 2018 at 5:39:48 PM UTC+1, Bas de Bruijn wrote:
Hi,

I'm trying to install Machinekit on the Beagleboard X15, one of these steps results in libegl1 being installed. However, this results in an error where there is already a shared library in package libegl1-mesa:armhf 17.1.3-2rcnee0~stretch+20170627

Get:1 http://repos.rcn-ee.com/debian stretch/main armhf libegl1 armhf 0.2.999+git20170802-2 [27.2 kB]
Fetched 27.2 kB in 0s (53.7 kB/s)  
(Reading database ... 97424 files and directories currently installed.)
Preparing to unpack .../libegl1_0.2.999+git20170802-2_armhf.deb ...
Unpacking libegl1:armhf (0.2.999+git20170802-2) ...
dpkg: error processing archive /var/cache/apt/archives/libegl1_0.2.999+git20170802-2_armhf.deb (--unpack):
 trying to overwrite '/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0', which is also in package libegl1-mesa:armhf 17.1.3-2rcnee0~stretch+20170627

I'm running from SD card with the "stock" image of stretch found here https://beagleboard.org/latest-images
debian@BeagleBoard-X15:~/machinekit$ uname -a
Linux BeagleBoard-X15 4.9.35-ti-r44 #1 SMP PREEMPT Sat Jul 1 00:54:33 UTC 2017 armv7l GNU/Linux

sudo apt --fix-broken install gets me in an eternal broken packages loop :)

Any ideas on how to solve this would be highly appreciated.
Regards,
Bas

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/8J9Clq3NI0w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/0f9d285f-0bd8-4465-aaa8-440515fd8d7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

magnus....@gmail.com

unread,
Sep 10, 2018, 8:08:57 AM9/10/18
to BeagleBoard
Hi,
Okay, I understand. Ive posted in the machinekit group as well and got no response and have found even less on machinekit on x15 there than here.
But thanks for the reply :) I'll try to figure it out on my own then.
Reply all
Reply to author
Forward
0 new messages