RPI4 Raspbian 64 bit & LinuxCNC

More
5 years 5 months ago - 5 years 5 months ago #207985 by elovalvo
try

sudo apt-get install libgl-dev

and then

sudo apt --fix-broken install
Last edit: 5 years 5 months ago by elovalvo.

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #207988 by Craig E
Sorry that did not work
I still get this error

npacking libgl-dev:arm64 (1.3.0-7~bpo10+1) ...
dpkg: error processing archive /var/cache/apt/archives/libgl-dev_1.3.0-7~bpo10+1_arm64.deb (--unpack):
trying to overwrite '/usr/include/KHR/khrplatform.h', which is also in package libraspberrypi-dev 2+git20200520~143707+2fe4ca3-1
Errors were encountered while processing:
/var/cache/apt/archives/libgl-dev_1.3.0-7~bpo10+1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~ $

Sorry I am sure I must be doing or have done something wrong. I have downloaded the .deb file but cant install them ether.

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago - 5 years 5 months ago #207993 by Aciera
This seems to be a known issue:

github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/14

so maybe try:

sudo apt update
sudo apt full-upgrade

and then the above suggested

sudo apt install libgl-dev
sudo apt --fix-broken install
Last edit: 5 years 5 months ago by Aciera.

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #207995 by Craig E
I have tried everyone of these in every way I can think of and I always get the same error.

dpkg: error processing archive /var/cache/apt/archives/libgl-dev_1.3.0-7~bpo10+1_arm64.deb (--unpack):
trying to overwrite '/usr/include/KHR/khrplatform.h', which is also in package libraspberrypi-dev 2+git20200520~143707+2fe4ca3-1
Errors were encountered while processing:
/var/cache/apt/archives/libgl-dev_1.3.0-7~bpo10+1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~ $

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #207996 by Aciera
are you sure you did the

sudo apt update

before
sudo apt full-upgrade

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #207998 by andypugh
Do you really need deb packages?

Why not just build and run LinuxCNC in-place?

Please Log in or Create an account to join the conversation.

Time to create page: 0.370 seconds
Powered by Kunena Forum