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

Installing Steam Link removes system packages #2495

Closed
3 tasks done
hfozsy opened this issue Dec 4, 2023 · 3 comments
Closed
3 tasks done

Installing Steam Link removes system packages #2495

hfozsy opened this issue Dec 4, 2023 · 3 comments
Labels
Upstream Bug something isn't working that can only be fixed upstream

Comments

@hfozsy
Copy link

hfozsy commented Dec 4, 2023

Confirmations

What happened?

Trying to install Steam Link removes desktop environment and some system apps

Description

I tried to install Steam Link app from Pi-Apps on my Raspberry Pi 5. It removed many packages like lxde, thonny, openbox etc. and ended up with E: Sub-process /usr/bin/dpkg returned an error code (1) error.
I've tried also manual installing with sudo apt install steamlink and it did the same thing. You'll probably need to put a warning to users NOT to download this app for now.

By the way sorry I couldn't get ~/pi-apps/api get_device_info because it was also removed. I wrote specs that I know instead.

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

OS: Raspberry Pi OS GNU/Linux 12 (bookworm)
OS architecture: 64-bit
Device model: Raspberry Pi 5 Model B Rev 1.0
Ram size: 8 GB

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

...
Get:36 http://deb.debian.org/debian bookworm/main armhf libgpm2 armhf 1.20.7-10+b1 [13.4 kB]
Get:37 http://deb.debian.org/debian bookworm/main armhf libunistring2 armhf 1.0-2 [409 kB]
Get:38 http://deb.debian.org/debian bookworm/main armhf libidn2-0 armhf 2.3.3-1+b1 [120 kB]
Fetched 12.4 MB in 7s (1,844 kB/s)                                             
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 145177 files and directories currently installed.)
Removing agnostics (0.13) ...
Removing alacarte (3.44.2-1+rpt1) ...
Removing apt-listchanges (3.24) ...
Removing arandr (0.1.11-1+rpt15) ...
Removing cifs-utils (2:7.0-2) ...
Removing fio (3.33-3) ...
Removing hplip (3.22.10+dfsg0-2) ...
Removing libinput-tools (1.22.1-1) ...
Removing lxde (11+rpt1) ...
Removing lxde-core (11+rpt1) ...
Removing thonny (4.1.4-1) ...
Removing mypy (1.0.1-1) ...
Removing nfs-common (1:2.6.2-4) ...
Removing raspberrypi-ui-mods (1.20231115) ...
update-alternatives: using /usr/bin/startlxde to provide /usr/bin/x-session-mana
ger (x-session-manager) in auto mode
Removing pipanel (1:1.32) ...
Removing openbox-lxde-session (0.99.2-4) ...
update-alternatives: using /usr/bin/lxsession to provide /usr/bin/x-session-mana
ger (x-session-manager) in auto mode
Removing piwiz (0.66) ...
Removing pi-language-support (0.1) ...
Removing pylint (2.16.2-2) ...
Removing python-is-python3 (3.11.1-3) ...
Removing rpi-eeprom (20.2-1) ...
Removing openbox (3.6.1-10+rpt1) ...
Selecting previously unselected package gcc-12-base:armhf.
(Reading database ... 142452 files and directories currently installed.)
Preparing to unpack .../0-gcc-12-base_12.2.0-14_armhf.deb ...
Unpacking gcc-12-base:armhf (12.2.0-14) ...
Selecting previously unselected package libgcc-s1:armhf.
Preparing to unpack .../1-libgcc-s1_12.2.0-14_armhf.deb ...
Unpacking libgcc-s1:armhf (12.2.0-14) ...
Selecting previously unselected package libc6:armhf.
Preparing to unpack .../2-libc6_2.36-9+rpt2+deb12u3_armhf.deb ...
Unpacking libc6:armhf (2.36-9+rpt2+deb12u3) ...
Selecting previously unselected package libatomic1:armhf.
Preparing to unpack .../3-libatomic1_12.2.0-14_armhf.deb ...
Unpacking libatomic1:armhf (12.2.0-14) ...
Selecting previously unselected package libssl3:armhf.
Preparing to unpack .../4-libssl3_3.0.11-1~deb12u2+rpt1_armhf.deb ...
Unpacking libssl3:armhf (3.0.11-1~deb12u2+rpt1) ...
Selecting previously unselected package libpython3.11-minimal:armhf.
Preparing to unpack .../5-libpython3.11-minimal_3.11.2-6_armhf.deb ...
Unpacking libpython3.11-minimal:armhf (3.11.2-6) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../6-libexpat1_2.5.0-1_armhf.deb ...
Unpacking libexpat1:armhf (2.5.0-1) ...
Selecting previously unselected package zlib1g:armhf.
Preparing to unpack .../7-zlib1g_1%3a1.2.13.dfsg-1_armhf.deb ...
Unpacking zlib1g:armhf (1:1.2.13.dfsg-1) ...
(Reading database ... 142753 files and directories currently installed.)
Removing python3-venv (3.11.2-1+b1) ...
Removing python3.11-venv (3.11.2-6) ...
Removing python3-picamera2 (0.3.16-1) ...
Removing python3-simplejpeg (1.6.6-1) ...
Removing python3-pgzero (1.2.post4+dfsg-2) ...
Removing python3-pygame (2.1.2+dfsg-5+b1) ...
Removing sense-hat (1.4) ...
Removing python3-sense-hat (2.6.0-1) ...
Removing python3-dev (3.11.2-1+b1) ...
Removing python3.11-dev (3.11.2-6) ...
Removing python3-spidev (20200602~200721-1+bookworm) ...
dpkg: python3-numpy: dependency problems, but removing anyway as you requested:
 python3-pidng depends on python3-numpy.
 python3-av depends on python3-numpy.

Removing python3-numpy (1:1.24.2-1) ...
dpkg: python3.11: dependency problems, but removing anyway as you requested:
 python3 depends on python3.11 (>= 3.11.2-1~).

Removing python3.11 (3.11.2-6) ...
dpkg: python3.11-minimal: dependency problems, but removing anyway as you reques
ted:
 python3-minimal depends on python3.11-minimal (>= 3.11.2-1~).

Removing python3.11-minimal (3.11.2-6) ...
Unlinking and removing bytecode for runtime python3.11
Setting up gcc-12-base:armhf (12.2.0-14) ...
Setting up libgcc-s1:armhf (12.2.0-14) ...
Setting up libc6:armhf (2.36-9+rpt2+deb12u3) ...
Selecting previously unselected package python3.11-minimal:armhf.
(Reading database ... 141379 files and directories currently installed.)
Preparing to unpack .../python3.11-minimal_3.11.2-6_armhf.deb ...
Unpacking python3.11-minimal:armhf (3.11.2-6) ...
dpkg: python3-minimal: dependency problems, but removing anyway as you requested
:
 python3 depends on python3-minimal (= 3.11.2-1+b1).

(Reading database ... 141388 files and directories currently installed.)
Removing python3-minimal (3.11.2-1+b1) ...
Setting up libatomic1:armhf (12.2.0-14) ...
Setting up libssl3:armhf (3.0.11-1~deb12u2+rpt1) ...
Setting up libpython3.11-minimal:armhf (3.11.2-6) ...
Setting up libexpat1:armhf (2.5.0-1) ...
Setting up zlib1g:armhf (1:1.2.13.dfsg-1) ...
Setting up python3.11-minimal:armhf (3.11.2-6) ...
Segmentation fault
dpkg: error processing package python3.11-minimal:armhf (--configure):
 installed python3.11-minimal:armhf package post-installation script subprocess 
returned error exit status 139
Errors were encountered while processing:
 python3.11-minimal:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
@hfozsy hfozsy added the bug Something isn't working label Dec 4, 2023
Copy link
Contributor

github-actions bot commented Dec 4, 2023

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.

@theofficialgman theofficialgman added Upstream Bug something isn't working that can only be fixed upstream and removed bug Something isn't working labels Dec 4, 2023
@theofficialgman
Copy link
Collaborator

theofficialgman commented Dec 4, 2023

@Multowz thanks for reporting.
This package is from the archive.raspberrypi.com repo used on the piOS distro. Please file a bug here with raspberry pi ltd -> https://github.com/raspberrypi/bookworm-feedback/issues

You can link back to this bug by putting the url for this issue in your description of the issue there.

As a side note, I brought up somewhere else (not sure if it was on github here or in the discord) that we should probably not be showing and allow users to install non-main architecture package apps. steamlink is an armhf package yet, as you have shown, you were able to install it though the pi-apps GUI on an arm64 OS (whether searching for it directly or showing in the list of available apps). Not all packages are created equal and some packages may not be safe to install from a foreign architecture.

@theofficialgman
Copy link
Collaborator

Corrected with 7ffb491

package-apps that are not available for the users current default dpkg architecture will no longer show in pi-apps GUI or show in the GUI search results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upstream Bug something isn't working that can only be fixed upstream
Projects
None yet
Development

No branches or pull requests

2 participants