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

Raspberry Pi 4 | dietpi-firstrun fails | "python-pip no install candidate" #5245

Closed
eyduh opened this issue Feb 7, 2022 · 8 comments
Closed
Labels
Bug 🐞 Bullseye Solution available 🥂 Definite solution has been done
Milestone

Comments

@eyduh
Copy link

eyduh commented Feb 7, 2022

Hoi,

trying to setup a fresh install on a raspberry pi using the automation, I selected a bunch of tools I would like on there - among others python 3. I guess the package naming has changed since bullseye as it won't work? It's weird cause I could install python and pip from dietpi-software on the previous install before wiping it.

Other stuff that fails to install during first run skips itself and waits for reboot (Noticed docker did this in the install due to kernel update)

Details:

  • Date | Mon Feb 7 12:32:31 CET 2022
  • DietPi version | v8.1.2 (MichaIng/master)
  • Image creator | DietPi Core Team
  • Pre-image | from scratch
  • Hardware | RPi 4 Model B (aarch64) (ID=4)
  • Kernel version | Linux adaprints0 5.10.63-v8+ #1488 SMP PREEMPT Thu Nov 18 16:16:16 GMT 2021 aarch64 GNU/Linux
  • Distro | bullseye (ID=6,RASPBIAN=0)
  • Command | apt-get -qq --allow-change-held-packages install motion v4l-utils curl python-pip python-dev gcc libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev
  • Exit code | 100
  • Software title | DietPi-Software

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

E: Package 'python-pip' has no installation candidate

@Joulinar
Copy link
Collaborator

Joulinar commented Feb 7, 2022

I guess you are trying to install MotionEye correct? This is not working on Bullseye, since it did not support Python 3 and probably will not, because the maintainer is not continue working on the project.

@eyduh
Copy link
Author

eyduh commented Feb 7, 2022

Oh, yeah I was also going to install motioneye - but only because mjpg-streamer wasnt working for some reason.

The end goal of this pi is to run octoprint+klipper with a CSI camera monitoring prints.

I'll try again without motioneye & report back

@MichaIng
Copy link
Owner

MichaIng commented Feb 7, 2022

How did you try to install MotionEye? It should be disabled and deselected automatically when trying to install it on Bullseye and shouldn't be visible in the list 🤔.

Let's also debug why mjpg-streamer isn't working.

@Joulinar
Copy link
Collaborator

Joulinar commented Feb 7, 2022

indeed should be disabled already 🤔

root@DietPi4:~# dietpi-software list | grep Moti
ID 136 | =0 | MotionEye: Web interface & surveillance for your camera | +FFmpeg DISABLED for Debian bullseye | https://dietpi.com/docs/software/camera/#motioneye
root@DietPi4:~#

@MichaIng MichaIng added this to the v8.2 milestone Feb 7, 2022
@MichaIng MichaIng added the Solution available 🥂 Definite solution has been done label Feb 7, 2022
@MichaIng
Copy link
Owner

MichaIng commented Feb 7, 2022

I just recognised that software installs not supported on arch, hardware model or Debian version are not skipped when installing via automated first run installs. This was checked only for CLI or menu installs: b6ade21

Interesting that this was never recognised before, was like that since a long time 😅. Fixed with: b6ade21

Probably we should add this check at a later place in code which is called regardless how the install flag has been set, like just before dependency checks.

@eyduh
Copy link
Author

eyduh commented Feb 8, 2022

So yeah, I swapped the motioneye auto-install for mjpg-streamer and the install worked fine - apart from some other weird quirks but those are unrelated to this so closing this issue.

@eyduh eyduh closed this as completed Feb 8, 2022
@eyduh
Copy link
Author

eyduh commented Feb 8, 2022

Let's also debug why mjpg-streamer isn't working.

After the finished install & auto-setup it worked so must've been something weird with the previous install c:

@MichaIng
Copy link
Owner

MichaIng commented Feb 8, 2022

Okay great.

MichaIng added a commit that referenced this issue Feb 8, 2022
- DietPi-Software | WireGuard: Check more effectively whether the module is shipped with the kernel package and also support the case that the module is really a kernel builtin instead of a dedicated file
- CHANGELOG | DietPi-Software: Resolved an issue where it was possible via AUTO_SETUP_INSTALL_SOFTWARE_ID dietpi.txt settings to install software on first boot which is actually not supported on the platform (hardware architecture, SBC model or Debian version). Many thanks to @eyduh for reporting this issue: #5245
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 Bullseye Solution available 🥂 Definite solution has been done
Projects
None yet
Development

No branches or pull requests

3 participants