Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PiGro Won't Install/ Broken Packages #2553

Closed
3 tasks done
Pro42good opened this issue Feb 24, 2024 · 9 comments
Closed
3 tasks done

PiGro Won't Install/ Broken Packages #2553

Pro42good opened this issue Feb 24, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@Pro42good
Copy link

Pro42good commented Feb 24, 2024

Confirmations

What happened?

App Wont install/ I can't fix broken packages

Description

Hi so ive been trying to fix my broken packages and i go to PiGro And it isn't installed so i deinstall it and reinstall it but it doesn't work because it keeps saying i have broken packages, pls help

What are your system specs (run the following command in your terminal)?

OS: Debian GNU/Linux 12 (bookworm)
OS architecture: 64-bit
Last updated Pi-Apps on: 02/23/2024
Latest Pi-Apps version: 02/24/2024
Kernel: aarch64 6.1.0-rpi8-rpi-v8
Device model: Raspberry Pi 5 Model B Rev 1.0
SOC identifier: bcm2712
Cpu name: Cortex-A76
Ram size: 3.98 GB
Raspberry Pi OS image version: 2023-12-05
Language: en_US.UTF-8

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

Congratulations, Linux tinkerer, you broke your system. There are packages on your system that are in a broken state.
Refer to the output below for any potential solutions.

NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:armhf (!= 2.26.3+1rpi) but 2.26.5+dfsg-1 is installed
 libsdl2-2.0-0:armhf : Breaks: libsdl2-2.0-0 (!= 2.26.5+dfsg-1) but 2.26.3+1rpi is installed
 libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.26.5+dfsg-1) but 2.26.3+1rpi is installed

OS: Debian GNU/Linux 12 (bookworm)
OS architecture: 64-bit
Last updated Pi-Apps on: 02/23/2024
Latest Pi-Apps version: 02/24/2024
Kernel: aarch64 6.1.0-rpi8-rpi-v8
Device model: Raspberry Pi 5 Model B Rev 1.0
SOC identifier: bcm2712
Cpu name: Cortex-A76
Ram size: 3.98 GB
Raspberry Pi OS image version: 2023-12-05
Language: en_US.UTF-8

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

◢◣ WARNING: YOUR SYSTEM IS UNSUPPORTED:
Congratulations, Linux tinkerer, you broke your system. There are packages on your system that are in a broken state.
Refer to the output below for any potential solutions.

NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:armhf (!= 2.26.3+1rpi) but 2.26.5+dfsg-1 is installed
 libsdl2-2.0-0:armhf : Breaks: libsdl2-2.0-0 (!= 2.26.5+dfsg-1) but 2.26.3+1rpi is installed
 libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.26.5+dfsg-1) but 2.26.3+1rpi is installed
The ability to send error reports has been disabled.
Waiting 10 seconds... (To cancel, press Ctrl+C or close this terminal)
Will install these packages: https://github.com/actionschnitzel/PiGro-Aid-/releases/download/24.02/pigro-jci-24.02.deb 
Downloading pigro-jci-24.02.deb to /tmp/pigro-jci-24.02.deb... 
0.9MiB/4.0MiB ————————————————————
�Done ————————————————————————————————————————————————————————————————————————————————————————————————————
Creating an empty apt-package to install the necessary apt packages...
It will be named: pi-apps-591d9250
Depends: pigro-jci (>= 24.02)
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 [847 B]
Get:2 file:/tmp/pi-apps-local-packages ./ Release [847 B]
Get:3 file:/tmp/pi-apps-local-packages ./ Release.gpg
Ign:3 file:/tmp/pi-apps-local-packages ./ Release.gpg
Get:4 file:/tmp/pi-apps-local-packages ./ Packages [1,088 B]
Hit:5 http://deb.debian.org/debian-security bookworm-security InRelease
Get:6 https://download.docker.com/linux/debian bookworm InRelease [43.3 kB]
Hit:7 https://deb.debian.org/debian bookworm InRelease
Hit:8 https://Pi-Apps-Coders.github.io/box64-debs/debian ./ InRelease
Hit:9 https://dl.winehq.org/wine-builds/debian bookworm InRelease
Hit:10 https://deb.debian.org/debian bookworm-updates InRelease
Hit:11 https://Pi-Apps-Coders.github.io/box86-debs/debian ./ InRelease
Hit:12 https://repo.steampowered.com/steam stable InRelease
Hit:13 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:14 https://adoptium.jfrog.io/artifactory/deb bookworm InRelease
Fetched 43.3 kB in 1s (37.0 kB/s)
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
apt update complete.
Some packages can be upgraded. Please consider running sudo apt full-upgrade.
Installing the pi-apps-591d9250 package...
Waiting until APT locks are released... Done
Correcting dependencies... Done
The following additional packages will be installed:
  gdebi gdebi-core gir1.2-vte-2.91 libruby libruby3.1 libsdl2-2.0-0 lolcat mpg123 pigro-jci
  python3-debian rake ruby ruby-net-telnet ruby-optimist ruby-paint ruby-rubygems ruby-sdbm ruby-webrick
  ruby-xmlrpc ruby3.1 rubygems-integration
Suggested packages:
  jackd nas oss4-base ri ruby-dev bundler
Recommended packages:
  libgtk2-perl lintian fonts-lato
The following NEW packages will be installed:
  gdebi gdebi-core gir1.2-vte-2.91 libruby libruby3.1 lolcat mpg123 pi-apps-591d9250 pigro-jci
  python3-debian rake ruby ruby-net-telnet ruby-optimist ruby-paint ruby-rubygems ruby-sdbm ruby-webrick
  ruby-xmlrpc ruby3.1 rubygems-integration
The following packages will be upgraded:
  libsdl2-2.0-0
1 upgraded, 21 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 36.0 MB of additional disk space will be used.
Get:1 file:/tmp/pi-apps-local-packages ./ pigro-jci 24.02 [4,195 kB]
Get:2 /home/diego/pi-apps-591d9250.deb pi-apps-591d9250 all 1.0 [748 B]
Get:3 https://deb.debian.org/debian bookworm/main arm64 python3-debian all 0.1.49 [115 kB]
Get:4 https://deb.debian.org/debian bookworm/main arm64 gdebi-core all 0.9.5.7+nmu6 [130 kB]
Get:5 https://deb.debian.org/debian bookworm/main arm64 gir1.2-vte-2.91 arm64 0.70.6-2~deb12u1 [603 kB]
Get:6 https://deb.debian.org/debian bookworm/main arm64 gdebi all 0.9.5.7+nmu6 [41.2 kB]
Get:7 https://deb.debian.org/debian bookworm/main arm64 rubygems-integration all 1.18 [6,704 B]
Get:8 https://deb.debian.org/debian bookworm/main arm64 ruby3.1 arm64 3.1.2-7 [663 kB]
Get:9 https://deb.debian.org/debian bookworm/main arm64 ruby-rubygems all 3.3.15-2 [293 kB]
Get:10 https://deb.debian.org/debian bookworm/main arm64 ruby arm64 1:3.1 [5,868 B]
Get:11 https://deb.debian.org/debian bookworm/main arm64 rake all 13.0.6-3 [83.9 kB]
Get:12 https://deb.debian.org/debian bookworm/main arm64 ruby-net-telnet all 0.2.0-1 [13.1 kB]
Get:13 https://deb.debian.org/debian bookworm/main arm64 ruby-webrick all 1.8.1-1 [51.4 kB]
Get:14 https://deb.debian.org/debian bookworm/main arm64 ruby-xmlrpc all 0.3.2-2 [24.4 kB]
Get:15 https://deb.debian.org/debian bookworm/main arm64 ruby-sdbm arm64 1.0.0-5+b1 [14.5 kB]
Get:16 https://deb.debian.org/debian bookworm/main arm64 libruby3.1 arm64 3.1.2-7 [5,248 kB]
Get:17 https://deb.debian.org/debian bookworm/main arm64 libruby arm64 1:3.1 [4,968 B]
Get:18 https://deb.debian.org/debian bookworm/main arm64 ruby-paint all 2.2.0-1 [17.5 kB]
Get:19 https://deb.debian.org/debian bookworm/main arm64 ruby-optimist all 3.0.0-2 [16.5 kB]
Get:20 https://deb.debian.org/debian bookworm/main arm64 lolcat all 100.0.1-3 [7,948 B]
Get:21 https://deb.debian.org/debian bookworm/main arm64 mpg123 arm64 1.31.2-1 [200 kB]
apt-listchanges: Reading changelogs...
Fetched 7,541 kB in 2s (3,512 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 310034 files and directories currently installed.)

Unpacking libsdl2-2.0-0:arm64 (2.26.5+dfsg-1) over (2.26.3+1rpi) ...

dpkg: error processing archive /tmp/apt-dpkg-install-wozb8s/00-libsdl2-2.0-0_2.26.5+dfsg-1_arm64.deb (--unpack):

 trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/changelog.gz', which is different from other instances of package libsdl2-2.0-0:arm64

Unpacking python3-debian (0.1.49) ...

Unpacking gdebi-core (0.9.5.7+nmu6) ...

Unpacking gir1.2-vte-2.91:arm64 (0.70.6-2~deb12u1) ...

Unpacking gdebi (0.9.5.7+nmu6) ...

Unpacking rubygems-integration (1.18) ...

Unpacking ruby3.1 (3.1.2-7) ...

Unpacking ruby-rubygems (3.3.15-2) ...

Unpacking ruby (1:3.1) ...

Unpacking rake (13.0.6-3) ...

Unpacking ruby-net-telnet (0.2.0-1) ...

Unpacking ruby-webrick (1.8.1-1) ...

Unpacking ruby-xmlrpc (0.3.2-2) ...

Unpacking ruby-sdbm:arm64 (1.0.0-5+b1) ...

Unpacking libruby3.1:arm64 (3.1.2-7) ...

Unpacking libruby:arm64 (1:3.1) ...

Unpacking ruby-paint (2.2.0-1) ...

Unpacking ruby-optimist (3.0.0-2) ...

Unpacking lolcat (100.0.1-3) ...

Unpacking mpg123 (1.31.2-1) ...

Unpacking pigro-jci (24.02) ...

Unpacking pi-apps-591d9250 (1.0) ...

Errors were encountered while processing:

 /tmp/apt-dpkg-install-wozb8s/00-libsdl2-2.0-0_2.26.5+dfsg-1_arm64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)
Apt finished.
Failed to install the packages!
APT reported these errors:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Correcting dependencies... Done
The following additional packages will be installed:
  gdebi gdebi-core gir1.2-vte-2.91 libruby libruby3.1 libsdl2-2.0-0 lolcat mpg123 pigro-jci
  python3-debian rake ruby ruby-net-telnet ruby-optimist ruby-paint ruby-rubygems ruby-sdbm ruby-webrick
  ruby-xmlrpc ruby3.1 rubygems-integration
Suggested packages:
  jackd nas oss4-base ri ruby-dev bundler
Recommended packages:
  libgtk2-perl lintian fonts-lato
The following NEW packages will be installed:
  gdebi gdebi-core gir1.2-vte-2.91 libruby libruby3.1 lolcat mpg123 pi-apps-591d9250 pigro-jci
  python3-debian rake ruby ruby-net-telnet ruby-optimist ruby-paint ruby-rubygems ruby-sdbm ruby-webrick
  ruby-xmlrpc ruby3.1 rubygems-integration
The following packages will be upgraded:
  libsdl2-2.0-0
1 upgraded, 21 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 36.0 MB of additional disk space will be used.
Get:1 file:/tmp/pi-apps-local-packages ./ pigro-jci 24.02 [4,195 kB]
Get:2 /home/diego/pi-apps-591d9250.deb pi-apps-591d9250 all 1.0 [748 B]
Get:3 https://deb.debian.org/debian bookworm/main arm64 python3-debian all 0.1.49 [115 kB]
Get:4 https://deb.debian.org/debian bookworm/main arm64 gdebi-core all 0.9.5.7+nmu6 [130 kB]
Get:5 https://deb.debian.org/debian bookworm/main arm64 gir1.2-vte-2.91 arm64 0.70.6-2~deb12u1 [603 kB]
Get:6 https://deb.debian.org/debian bookworm/main arm64 gdebi all 0.9.5.7+nmu6 [41.2 kB]
Get:7 https://deb.debian.org/debian bookworm/main arm64 rubygems-integration all 1.18 [6,704 B]
Get:8 https://deb.debian.org/debian bookworm/main arm64 ruby3.1 arm64 3.1.2-7 [663 kB]
Get:9 https://deb.debian.org/debian bookworm/main arm64 ruby-rubygems all 3.3.15-2 [293 kB]
Get:10 https://deb.debian.org/debian bookworm/main arm64 ruby arm64 1:3.1 [5,868 B]
Get:11 https://deb.debian.org/debian bookworm/main arm64 rake all 13.0.6-3 [83.9 kB]
Get:12 https://deb.debian.org/debian bookworm/main arm64 ruby-net-telnet all 0.2.0-1 [13.1 kB]
Get:13 https://deb.debian.org/debian bookworm/main arm64 ruby-webrick all 1.8.1-1 [51.4 kB]
Get:14 https://deb.debian.org/debian bookworm/main arm64 ruby-xmlrpc all 0.3.2-2 [24.4 kB]
Get:15 https://deb.debian.org/debian bookworm/main arm64 ruby-sdbm arm64 1.0.0-5+b1 [14.5 kB]
Get:16 https://deb.debian.org/debian bookworm/main arm64 libruby3.1 arm64 3.1.2-7 [5,248 kB]
Get:17 https://deb.debian.org/debian bookworm/main arm64 libruby arm64 1:3.1 [4,968 B]
Get:18 https://deb.debian.org/debian bookworm/main arm64 ruby-paint all 2.2.0-1 [17.5 kB]
Get:19 https://deb.debian.org/debian bookworm/main arm64 ruby-optimist all 3.0.0-2 [16.5 kB]
Get:20 https://deb.debian.org/debian bookworm/main arm64 lolcat all 100.0.1-3 [7,948 B]
Get:21 https://deb.debian.org/debian bookworm/main arm64 mpg123 arm64 1.31.2-1 [200 kB]
apt-listchanges: Reading changelogs...
Fetched 7,541 kB in 2s (3,512 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 310034 files and directories currently installed.)

Unpacking libsdl2-2.0-0:arm64 (2.26.5+dfsg-1) over (2.26.3+1rpi) ...

dpkg: error processing archive /tmp/apt-dpkg-install-wozb8s/00-libsdl2-2.0-0_2.26.5+dfsg-1_arm64.deb (--unpack):

 trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/changelog.gz', which is different from other instances of package libsdl2-2.0-0:arm64

Unpacking python3-debian (0.1.49) ...

Unpacking gdebi-core (0.9.5.7+nmu6) ...

Unpacking gir1.2-vte-2.91:arm64 (0.70.6-2~deb12u1) ...

Unpacking gdebi (0.9.5.7+nmu6) ...

Unpacking rubygems-integration (1.18) ...

Unpacking ruby3.1 (3.1.2-7) ...

Unpacking ruby-rubygems (3.3.15-2) ...

Unpacking ruby (1:3.1) ...

Unpacking rake (13.0.6-3) ...

Unpacking ruby-net-telnet (0.2.0-1) ...

Unpacking ruby-webrick (1.8.1-1) ...

Unpacking ruby-xmlrpc (0.3.2-2) ...

Unpacking ruby-sdbm:arm64 (1.0.0-5+b1) ...

Unpacking libruby3.1:arm64 (3.1.2-7) ...

Unpacking libruby:arm64 (1:3.1) ...

Unpacking ruby-paint (2.2.0-1) ...

Unpacking ruby-optimist (3.0.0-2) ...

Unpacking lolcat (100.0.1-3) ...

Unpacking mpg123 (1.31.2-1) ...

Unpacking pigro-jci (24.02) ...

Unpacking pi-apps-591d9250 (1.0) ...

Errors were encountered while processing:

 /tmp/apt-dpkg-install-wozb8s/00-libsdl2-2.0-0_2.26.5+dfsg-1_arm64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

Failed to install PiGro!
◢◣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
Additional log diagnosis for developers below:

Package: libsdl2-2.0-0
Source: libsdl2
Version: 2.26.5+dfsg-1
Installed-Size: 1915
Maintainer: Debian SDL packages maintainers <[email protected]>
Architecture: arm64
Replaces: libsdl-1.3-0
Depends: libasound2 (>= 1.0.27), libc6 (>= 2.34), libdecor-0-0 (>= 0.1.0), libdrm2 (>= 2.4.47), libgbm1 (>= 8.1~0), libpulse0 (>= 0.99.1), libsamplerate0 (>= 0.1.7), libwayland-client0 (>= 1.20.0), libwayland-cursor0 (>= 1.18), libwayland-egl1 (>= 1.18), libx11-6 (>= 2:1.2.99.901), libxcursor1 (>> 1.1.2), libxext6, libxfixes3 (>= 1:5.0), libxi6 (>= 2:1.6.99.1), libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.99.3), libxss1
Suggests: xdg-utils
Conflicts: libsdl-1.3-0
Description-en: Simple DirectMedia Layer
 SDL is a library that allows programs portable low level access to a video
 framebuffer, audio output, mouse, and keyboard.
 .
 This version of SDL is compiled with X11 and Wayland graphics drivers and OSS,
 ALSA, sndio and PulseAudio sound drivers.
Description-md5: d559f821a8f0d5e89c678fe44650c80c
Multi-Arch: same
Homepage: https://www.libsdl.org/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/libs/libsdl2/libsdl2-2.0-0_2.26.5+dfsg-1_arm64.deb
Size: 565580
MD5sum: 9583f4c15b1064412d48814c0fe15c6d
SHA256: 7d875b119108a240015e7739c7a0de402616975281bcd8169cb434326fa93a66

Package: libsdl2-2.0-0
Status: install ok unpacked
Priority: optional
Section: libs
Installed-Size: 1791
Maintainer: Debian SDL packages maintainers <[email protected]>
Architecture: arm64
Multi-Arch: same
Source: libsdl2
Version: 2.26.3+1rpi
Config-Version: 2.26.5+dfsg-1
Replaces: libsdl-1.3-0
Depends: libc6 (>= 2.34), libudev1, libdbus-1-3
Conflicts: libsdl-1.3-0
Description: Simple DirectMedia Layer
 SDL is a library that allows programs portable low level access to
 a video framebuffer, audio output, mouse, and keyboard.
 .
 This package contains the shared library, compiled with X11 graphics drivers and OSS, ALSA and PulseAudio sound drivers.
Description-md5: c98b3a2c577aab9e177e9a051f0b947a
Homepage: http://www.libsdl.org/

Package: libsdl2-dev
Source: libsdl2
Version: 2.26.5+dfsg-1
Installed-Size: 6201
Maintainer: Debian SDL packages maintainers <[email protected]>
Architecture: arm64
Replaces: libsdl-1.3-dev
Depends: libasound2-dev, libdbus-1-dev, libdecor-0-dev, libdrm-dev, libegl-dev, libgbm-dev, libgl-dev, libgles-dev, libibus-1.0-dev, libpulse-dev, libsamplerate0-dev, libsdl2-2.0-0 (= 2.26.5+dfsg-1), libsndio-dev, libudev-dev, libwayland-dev, libx11-dev, libxcursor-dev, libxext-dev, libxfixes-dev, libxi-dev, libxinerama-dev, libxkbcommon-dev, libxrandr-dev, libxss-dev, libxt-dev, libxv-dev, libxxf86vm-dev
Conflicts: libsdl-1.3-dev
Description-en: Simple DirectMedia Layer development files
 SDL is a library that allows programs portable low level access to a video
 framebuffer, audio output, mouse, and keyboard.
 .
 This package contains the files needed to compile and link programs which
 use SDL.
Description-md5: 9a82f59c5790721baad7ffc5f181d3d6
Multi-Arch: same
Homepage: https://www.libsdl.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/libs/libsdl2/libsdl2-dev_2.26.5+dfsg-1_arm64.deb
Size: 1007252
MD5sum: 2af60395a983b154e6790462bcf49194
SHA256: b69722e33bdce9102c8608a648a9969c7e9e03bdb9c894f1ba441f9229d3e273

Listing...
libsdl2-2.0-0/stable 2.26.5+dfsg-1 amd64

libsdl2-2.0-0/stable 2.26.5+dfsg-1 arm64 [upgradable from: 2.26.3+1rpi]
libsdl2-2.0-0/now 2.26.3+1rpi arm64 [installed,upgradable to: 2.26.5+dfsg-1]

libsdl2-2.0-0/stable,now 2.26.5+dfsg-1 armhf [installed,automatic]

libsdl2-2.0-0/stable 2.26.5+dfsg-1 i386

libsdl2-dev/stable 2.26.5+dfsg-1 amd64

libsdl2-dev/stable,now 2.26.5+dfsg-1 arm64 [installed,automatic]

libsdl2-dev/stable 2.26.5+dfsg-1 armhf

libsdl2-dev/stable 2.26.5+dfsg-1 i386

NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  libsdl2-2.0-0
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
24 not fully installed or removed.
Inst libsdl2-2.0-0 [2.26.3+1rpi] (2.26.5+dfsg-1 Debian:12.5/stable [arm64])
Conf libsdl2-2.0-0 (2.26.5+dfsg-1 Debian:12.5/stable [arm64])
Conf ruby-sdbm (1.0.0-5+b1 Debian:12.5/stable [arm64])
Conf ruby-optimist (3.0.0-2 Debian:12.5/stable [all])
Conf libruby (1:3.1 Debian:12.5/stable [arm64])
Conf ruby-net-telnet (0.2.0-1 Debian:12.5/stable [all])
Conf rubygems-integration (1.18 Debian:12.5/stable [all])
Conf libruby3.1 (3.1.2-7 Debian:12.5/stable [arm64])
Conf gdebi (0.9.5.7+nmu6 Debian:12.5/stable [all])
Conf rake (13.0.6-3 Debian:12.5/stable [all])
Conf pigro-jci (24.02  [all])
Conf ruby (1:3.1 Debian:12.5/stable [arm64])
Conf gdebi-core (0.9.5.7+nmu6 Debian:12.5/stable [all])
Conf ruby3.1 (3.1.2-7 Debian:12.5/stable [arm64])
Conf libsdl2-2.0-0:armhf (2.26.5+dfsg-1 Debian:12.5/stable [armhf])
Conf mpg123 (1.31.2-1 Debian:12.5/stable [arm64])
Conf ruby-paint (2.2.0-1 Debian:12.5/stable [all])
Conf ruby-rubygems (3.3.15-2 Debian:12.5/stable [all])
Conf lolcat (100.0.1-3 Debian:12.5/stable [all])
Conf gir1.2-vte-2.91 (0.70.6-2~deb12u1 Debian:12.5/stable [arm64])
Conf libsdl2-dev (2.26.5+dfsg-1 Debian:12.5/stable [arm64])
Conf pi-apps-591d9250 (1.0  [all])
Conf ruby-xmlrpc (0.3.2-2 Debian:12.5/stable [all])
Conf ruby-webrick (1.8.1-1 Debian:12.5/stable [all])
Conf python3-debian (0.1.49 Debian:12.5/stable [all])
Package: pigro-jci
Status: install ok unpacked
Priority: optional
Section: misc
Maintainer: Timo Westphal <[email protected]>
Architecture: all
Version: 24.02
Depends: python3-dev, python3-psutil, python3-distro, python3-bs4, python3-requests, python3-pil, python3-pil.imagetk, xterm, mpg123, lolcat, wmctrl, gdebi, mousepad, pkexec | policykit-1
Description: A system control tool for Raspberry Pi
 PiGro is a system configuration tool inspired by openSUSE's YaST
 but designed with the user-friendliness of Linux Mint in mind.
 It equips Raspberry Pi OS with graphical interfaces for tasks 
 that would otherwise require the terminal.
 PiGro is also optimized for Ubuntu, Ubuntu Mate, and MX Linux.
Description-md5: c535d14626931328720484a3767d353e
Homepage: https://zestful-pigroxtrmo.wordpress.com/
License: GPL-3.0

Listing...
pigro-jci/now 24.02 all [installed,local]

NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
pigro-jci is already the newest version (24.02).
pigro-jci set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:armhf (!= 2.26.3+1rpi) but 2.26.5+dfsg-1 is to be installed
 libsdl2-2.0-0:armhf : Breaks: libsdl2-2.0-0 (!= 2.26.5+dfsg-1) but 2.26.3+1rpi is to be installed
 libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.26.5+dfsg-1) but 2.26.3+1rpi is to be installed
Additional log diagnosis for developers below:

Package: libsdl2-2.0-0
Source: libsdl2
Version: 2.26.5+dfsg-1
Installed-Size: 1915
Maintainer: Debian SDL packages maintainers <[email protected]>
Architecture: arm64
Replaces: libsdl-1.3-0
Depends: libasound2 (>= 1.0.27), libc6 (>= 2.34), libdecor-0-0 (>= 0.1.0), libdrm2 (>= 2.4.47), libgbm1 (>= 8.1~0), libpulse0 (>= 0.99.1), libsamplerate0 (>= 0.1.7), libwayland-client0 (>= 1.20.0), libwayland-cursor0 (>= 1.18), libwayland-egl1 (>= 1.18), libx11-6 (>= 2:1.2.99.901), libxcursor1 (>> 1.1.2), libxext6, libxfixes3 (>= 1:5.0), libxi6 (>= 2:1.6.99.1), libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.99.3), libxss1
Suggests: xdg-utils
Conflicts: libsdl-1.3-0
Description-en: Simple DirectMedia Layer
 SDL is a library that allows programs portable low level access to a video
 framebuffer, audio output, mouse, and keyboard.
 .
 This version of SDL is compiled with X11 and Wayland graphics drivers and OSS,
 ALSA, sndio and PulseAudio sound drivers.
Description-md5: d559f821a8f0d5e89c678fe44650c80c
Multi-Arch: same
Homepage: https://www.libsdl.org/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/libs/libsdl2/libsdl2-2.0-0_2.26.5+dfsg-1_arm64.deb
Size: 565580
MD5sum: 9583f4c15b1064412d48814c0fe15c6d
SHA256: 7d875b119108a240015e7739c7a0de402616975281bcd8169cb434326fa93a66

Package: libsdl2-2.0-0
Status: install ok unpacked
Priority: optional
Section: libs
Installed-Size: 1791
Maintainer: Debian SDL packages maintainers <[email protected]>
Architecture: arm64
Multi-Arch: same
Source: libsdl2
Version: 2.26.3+1rpi
Config-Version: 2.26.5+dfsg-1
Replaces: libsdl-1.3-0
Depends: libc6 (>= 2.34), libudev1, libdbus-1-3
Conflicts: libsdl-1.3-0
Description: Simple DirectMedia Layer
 SDL is a library that allows programs portable low level access to
 a video framebuffer, audio output, mouse, and keyboard.
 .
 This package contains the shared library, compiled with X11 graphics drivers and OSS, ALSA and PulseAudio sound drivers.
Description-md5: c98b3a2c577aab9e177e9a051f0b947a
Homepage: http://www.libsdl.org/

Listing...
libsdl2-2.0-0/stable 2.26.5+dfsg-1 amd64

libsdl2-2.0-0/stable 2.26.5+dfsg-1 arm64 [upgradable from: 2.26.3+1rpi]
libsdl2-2.0-0/now 2.26.3+1rpi arm64 [installed,upgradable to: 2.26.5+dfsg-1]

libsdl2-2.0-0/stable,now 2.26.5+dfsg-1 armhf [installed,automatic]

libsdl2-2.0-0/stable 2.26.5+dfsg-1 i386
@Pro42good Pro42good added the bug Something isn't working label Feb 24, 2024
Copy link
Contributor

Hello there 👋
Thanks for submitting your first issue to the Pi-Apps project! We'll try to get back to you as soon as possible.
In the meantime, we encourage you join our Discord server, where you can ask any questions you might have.

Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response.

@Botspot
Copy link
Owner

Botspot commented Feb 24, 2024

Hello. It seems that this is the core issue here:

 libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:armhf (!= 2.26.3+1rpi) but 2.26.5+dfsg-1 is installed
 libsdl2-2.0-0:armhf : Breaks: libsdl2-2.0-0 (!= 2.26.5+dfsg-1) but 2.26.3+1rpi is installed
 libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.26.5+dfsg-1) but 2.26.3+1rpi is installed

You have 64-bit and 32-bit versions of these sdl packages installed at the same time. Pi-Apps did this and this is usually fine to do. Here's a screenshot of both installed at the same time on my system:
20240224_14h28m29s_grim
But on your system, for whatever reason, the 64-bit package is version 2.26.5+dfsg-1 and the 32-bit package is version 2.26.3+1rpi. Not sure why.

Please run sudo apt update, then send me the output of this command:

apt policy libsdl2-2.0-0:armhf

This command should show if the correct 2.26.5+dfsg-1 version is available but not yet installed for the 32-bit package.

@Botspot Botspot changed the title GiPro Won't Install/ Broken Packages PiGro Won't Install/ Broken Packages Feb 24, 2024
@Pro42good
Copy link
Author

Pro42good commented Feb 24, 2024

Yeah the output was

~ $ apt policy libsdl2-2.0-0:armhf
libsdl2-2.0-0:armhf:
 Installed: 2.26.5+dfsg-1
 Candidate: 2.26.5+dfsg-1
 Version table:
*** 2.26.5+dfsg-1 500
       500 https://deb.debian.org/debian bookworm/main armhf Packages
       100 /var/lib/dpkg/status

Edited by Botspot to fix your code formatting

@Botspot
Copy link
Owner

Botspot commented Feb 24, 2024

Try this: sudo apt --fix-broken install -o Dpkg::Options::="--force-overwrite"

@Pro42good
Copy link
Author

It worked Thanks. :)

@Botspot
Copy link
Owner

Botspot commented Feb 24, 2024

I will try to improve our error diagnostics so that it will suggest this command to you in case this issue ever happens again.

@Botspot
Copy link
Owner

Botspot commented Feb 24, 2024

Hey @Pro42good, in a popup dialog, did pi-apps say this to you?

You have overwritten system files which prevent packages that share files from being able to install.

It should not have said that, but I just need to make sure.

@Pro42good
Copy link
Author

Pro42good commented Feb 24, 2024

It said something about a system error, not anything about overwritten system files.

@Botspot
Copy link
Owner

Botspot commented Feb 24, 2024

OK I have added a little fix to hopefully suggest the right repair command to anyone who encounters this error in the future.

See the change I made here:
b0d10b6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants