Botspot / pi-apps

Raspberry Pi App Store for Open Source Projects
GNU General Public License v3.0
2.05k stars 208 forks source link

Failed to install from PiApps #1504

Closed UnderDug closed 2 years ago

UnderDug commented 2 years ago

Confirmations

What happened?

LinuxCNC failed to install

Description

It's all in the install/error log below

What is your operating system?

Raspian 64bit on Raspberry Pi 4 w/4GB RAM

(Optional) Error log? Terminal output? Debug messages?

OS: Raspbian GNU/Linux 11 (bullseye)
OS architecture: 32-bit
Pi-Apps local commit ID: 6d0ce3dfdf8c470c08a12debdabe89a1c9e42c80
Github latest commit ID: 6d0ce3dfdf8c470c08a12debdabe89a1c9e42c80   
Kernel: armv7l 5.10.92-v7l+
Device model: Raspberry Pi 4 Model B Rev 1.2
Ram size: 3.83 GB
Raspberry Pi OS image version: 2021-10-30
Language: en_US.UTF-8

BEGINNING OF LOG FILE:
-----------------------

Will install these packages: https://www.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-armhf/linuxcnc-uspace_2.8.1_armhf.deb 
Downloading linuxcnc-uspace_2.8.1_armhf.deb... 
?25lK2.3MiB/10MiB ———————————————————
?25h
Done
Running sudo apt update...
Get:1 file:/tmp/pi-apps-local-packages ./ InRelease
Ign:1 file:/tmp/pi-apps-local-packages ./ InRelease
Get:2 file:/tmp/pi-apps-local-packages ./ Release
Ign:2 file:/tmp/pi-apps-local-packages ./ Release
Get:3 file:/tmp/pi-apps-local-packages ./ Packages
Ign:3 file:/tmp/pi-apps-local-packages ./ Packages
Get:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Ign:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Get:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Ign:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Get:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Ign:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Get:3 file:/tmp/pi-apps-local-packages ./ Packages
Ign:3 file:/tmp/pi-apps-local-packages ./ Packages
Get:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Ign:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Get:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Ign:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Get:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Ign:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Get:3 file:/tmp/pi-apps-local-packages ./ Packages
Ign:3 file:/tmp/pi-apps-local-packages ./ Packages
Get:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Ign:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Get:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Ign:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Get:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Ign:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Get:3 file:/tmp/pi-apps-local-packages ./ Packages
Ign:3 file:/tmp/pi-apps-local-packages ./ Packages
Get:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Ign:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Get:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Ign:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Get:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Ign:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Get:3 file:/tmp/pi-apps-local-packages ./ Packages
Ign:3 file:/tmp/pi-apps-local-packages ./ Packages
Get:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Ign:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Get:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Ign:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Get:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Ign:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Get:3 file:/tmp/pi-apps-local-packages ./ Packages
Ign:3 file:/tmp/pi-apps-local-packages ./ Packages
Get:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Ign:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Get:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Ign:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Get:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Ign:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Get:3 file:/tmp/pi-apps-local-packages ./ Packages [2,283 B]
Get:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Ign:4 file:/tmp/pi-apps-local-packages ./ Translation-en_US
Get:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Ign:5 file:/tmp/pi-apps-local-packages ./ Translation-en
Get:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Ign:6 file:/tmp/pi-apps-local-packages ./ Translation-en_US.UTF-8
Hit:7 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:8 https://itai-nelken.github.io/weekly-box86-debs/debian  InRelease
Hit:9 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:10 https://adoptium.jfrog.io/artifactory/deb bullseye InRelease
All packages are up to date.
apt update complete.
Creating an empty apt-package to install the necessary apt packages...
It will be named: pi-apps-7d340cf5
Depends: linuxcnc-uspace
Installing the pi-apps-7d340cf5 package...
Waiting until APT locks are released... 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:
 linuxcnc-uspace : Depends: libboost-python1.67.0 but it is not installable
                   Depends: python2.7-glade2 but it is not installable or
                            python-glade2 but it is not installable
                   Depends: python2.7-numpy but it is not installable or
                            python-numpy but it is not installable
                   Depends: python2.7-imaging but it is not installable or
                            python-imaging but it is not installable or
                            python-pil but it is not installable
                   Depends: python2.7-imaging-tk but it is not installable or
                            python-imaging-tk but it is not installable or
                            python-pil.imagetk but it is not installable
                   Depends: python-gtksourceview2 but it is not installable
                   Depends: python-gst-1.0 but it is not installable
                   Depends: python-xlib but it is not installable
                   Depends: python-gtkglext1 but it is not installable
                   Depends: python-configobj but it is not installable
E: Unable to correct problems, you have held broken packages.
Apt finished.
Failed to install the packages!
APT reported these errors:
E: Unable to correct problems, you have held broken packages.
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:
 linuxcnc-uspace : Depends: libboost-python1.67.0 but it is not installable
                   Depends: python2.7-glade2 but it is not installable or
                            python-glade2 but it is not installable
                   Depends: python2.7-numpy but it is not installable or
                            python-numpy but it is not installable
                   Depends: python2.7-imaging but it is not installable or
                            python-imaging but it is not installable or
                            python-pil but it is not installable
                   Depends: python2.7-imaging-tk but it is not installable or
                            python-imaging-tk but it is not installable or
                            python-pil.imagetk but it is not installable
                   Depends: python-gtksourceview2 but it is not installable
                   Depends: python-gst-1.0 but it is not installable
                   Depends: python-xlib but it is not installable
                   Depends: python-gtkglext1 but it is not installable
                   Depends: python-configobj but it is not installable
E: Unable to correct problems, you have held broken packages.
 linuxcnc-uspace : Depends: libboost-python1.67.0 but it is not installable
                   Depends: python2.7-glade2 but it is not installable or
                            python-glade2 but it is not installable
                   Depends: python2.7-numpy but it is not installable or
                            python-numpy but it is not installable
                   Depends: python2.7-imaging but it is not installable or
                            python-imaging but it is not installable or
                            python-pil but it is not installable
                   Depends: python2.7-imaging-tk but it is not installable or
                            python-imaging-tk but it is not installable or
                            python-pil.imagetk but it is not installable
                   Depends: python-gtksourceview2 but it is not installable
                   Depends: python-gst-1.0 but it is not installable
                   Depends: python-xlib but it is not installable
                   Depends: python-gtkglext1 but it is not installable
                   Depends: python-configobj but it is not installable
The Pi-Apps Local Repository was being used, and a package seemed to not be available. Here's the Packages file:
Package: linuxcnc-uspace
Architecture: armhf
Version: 1:2.8.1
Priority: optional
Section: misc
Source: linuxcnc
Maintainer: Sebastian Kuzminsky <seb@highlab.com>
Installed-Size: 48725
Depends: libatk1.0-0 (>= 1.12.4), libboost-python1.67.0, libc6 (>= 2.28), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.5), libgdk-pixbuf2.0-0 (>= 2.22.0), libgl1, libglib2.0-0 (>= 2.16.0), libglu1-mesa | libglu1, libgtk2.0-0 (>= 2.8.0), libmodbus5 (>= 3.1.4), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libpython2.7 (>= 2.7), libreadline5 (>= 5.2), libstdc++6 (>= 5.2), libtk8.6 (>= 8.6.0), libudev1 (>= 183), libusb-1.0-0 (>= 2:1.0.22), libx11-6, libxext6, libxft2 (>> 2.1.1), libxinerama1, libxmu6, libxss1, zlib1g (>= 1:1.1.4), libudev-dev, iptables, tcl8.6, tk8.6, bwidget (>= 1.7), libtk-img (>= 1.13), python (>= 2.7), python (<< 2.8), python:any (<< 2.8), python:any (>= 2.7~), python2.7-tk, python2.7-glade2 | python-glade2, python2.7-numpy | python-numpy, python2.7-imaging | python-imaging | python-pil, python2.7-imaging-tk | python-imaging-tk | python-pil.imagetk, python-gtksourceview2, python-vte | gir1.2-vte-2.91, python-gst-1.0, gstreamer1.0-plugins-base, python-xlib, python-gtkglext1, python-configobj, tclreadline, procps, psmisc, module-init-tools | kmod, tclx, mesa-utils, blt
Recommends: linuxcnc-doc-en | linuxcnc-doc, python-pyqt5, python-pyqt5.qsci, python-pyqt5.qtopengl, python-pyqt5.qtsvg, python-pyqt5.qtwebkit, python-opencv, python-rsvg, python-dbus.mainloop.pyqt5, gstreamer1.0-tools, python-espeak, espeak, pyqt5-dev-tools, hostmot2-firmware-all
Conflicts: linuxcnc, linuxcnc-sim
Filename: linuxcnc-uspace_2.8.1_armhf.deb
Size: 10976788
MD5sum: b7f0c9b27511d383fbbd46b3940e9995
SHA1: 8ce141d6edde1e9901025d5e805900daa083fd07
SHA256: fc95f2f7da74996d85edc0f49dfbb681f19d404da68c6c66bb1ade44ff363d5b
SHA512: 9ec28fc61b065947828dc7a7cdebb6b8cd43f9ec0d7ef6adcb335168ae0efd803472a229d67f3bdb68bcea68df66a60884bfe6bc46583ad8f555db9c37f4bb51
Description: motion controller for CNC machines and robots
 LinuxCNC is the next-generation Enhanced Machine Controller which
 provides motion control for CNC machine tools and robotic
 applications (milling, cutting, routing, etc.).

Failed to install LinuxCNC!
◢◣Need help? Copy the ENTIRE terminal output or take a screenshot.
Please ask on Github: https://github.com/Botspot/pi-apps/issues/new/choose
Or on Discord: https://discord.gg/RXSTvaUvuu
Botspot commented 2 years ago

LinuxCNC is build on python2 but Debian Bullseye has removed Python2. There was nothing else to do, we removed LinuxCNC from Pi-Apps with commit https://github.com/Botspot/pi-apps/commit/49b049f0382ac202ce5a34937bd24ea621d8a3ad.

Existing installations will still have these unsupported apps though.