1
0
Fork 0
mirror of https://github.com/pikvm/pikvm.git synced 2026-03-02 18:16:56 -05:00

failure to update (dependency issues) across several PiKVM units #890

Closed
opened 2026-02-20 14:08:01 -05:00 by deekerman · 12 comments
Owner

Originally created by @Wilford888 on GitHub (May 13, 2024).

Originally assigned to: @mdevaev on GitHub.

Describe the bug
pacman -Syu fails across devices that have been upgraded in the recent past with the following error (answering Y or N makes no difference, error is the same):
:: Replace dbus-python with extra/python-dbus? [Y/n] n
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'python<3.12' required by kvmd
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-luma-core
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-luma-oled
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyghmi
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyrad
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyserial-asyncio
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-raspberry-gpio
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-smbus2
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-spidev

To Reproduce
Steps to reproduce the behavior, like:

  1. run pacman -Syu

Expected behavior
Successful update

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows Terminal program
  • Browser LibreWolf

PiKVM info:

  • Raspberry Pi board version 3

  • PiKVM platform v3]

  • KVMD version: pacman -Q | grep kvmd generates:
    kvmd 3.333-1
    kvmd-fan 0.30-1
    kvmd-oled 0.27-1
    kvmd-platform-v3-hdmi-rpi4 3.333-1
    kvmd-webterm 0.50-1

  • uStreamer version: pacman -Q | grep ustreamer generates:
    ustreamer 6.11-1

  • Linux kernel: uname -a
    Linux PiKVM-214 6.6.21-4-rpi #1 SMP Wed Mar 13 20:36:42 UTC 2024 armv7l GNU/Linux

Additional context
None

Originally created by @Wilford888 on GitHub (May 13, 2024). Originally assigned to: @mdevaev on GitHub. **Describe the bug** pacman -Syu fails across devices that have been upgraded in the recent past with the following error (answering Y or N makes no difference, error is the same): :: Replace dbus-python with extra/python-dbus? [Y/n] n resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: unable to satisfy dependency 'python<3.12' required by kvmd :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-luma-core :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-luma-oled :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyghmi :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyrad :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyserial-asyncio :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-raspberry-gpio :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-smbus2 :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-spidev **To Reproduce** Steps to reproduce the behavior, like: 1. run pacman -Syu **Expected behavior** Successful update **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: Windows Terminal program - Browser LibreWolf **PiKVM info:** - Raspberry Pi board version 3 - PiKVM platform v3] - KVMD version: `pacman -Q | grep kvmd` generates: kvmd 3.333-1 kvmd-fan 0.30-1 kvmd-oled 0.27-1 kvmd-platform-v3-hdmi-rpi4 3.333-1 kvmd-webterm 0.50-1 - uStreamer version: `pacman -Q | grep ustreamer` generates: ustreamer 6.11-1 - Linux kernel: `uname -a` Linux PiKVM-214 6.6.21-4-rpi #1 SMP Wed Mar 13 20:36:42 UTC 2024 armv7l GNU/Linux **Additional context** None
Author
Owner

@rheindevde commented on GitHub (May 13, 2024):

same here:

pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
pikvm is up to date
:: Starting full system upgrade...
:: Replace dbus-python with extra/python-dbus? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'python<3.12' required by kvmd
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-luma-core
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-luma-oled
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyghmi
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyrad
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyserial-asyncio
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-raspberry-gpio
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-smbus2
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-spidev

@rheindevde commented on GitHub (May 13, 2024): same here: pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date community is up to date alarm is up to date aur is up to date pikvm is up to date :: Starting full system upgrade... :: Replace dbus-python with extra/python-dbus? [Y/n] Y resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: unable to satisfy dependency 'python<3.12' required by kvmd :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-luma-core :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-luma-oled :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyghmi :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyrad :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-pyserial-asyncio :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-raspberry-gpio :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-smbus2 :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-spidev
Author
Owner

@e-hollebone commented on GitHub (May 13, 2024):

comment to follow issue, I have the same problem

@e-hollebone commented on GitHub (May 13, 2024): comment to follow issue, I have the same problem
Author
Owner

@DialectKBA-Teodor commented on GitHub (May 13, 2024):

Same issue here, but with a few differences to the original report:

  • Raspberry Pi board version 4

  • PiKVM platform v2

  • KVMD version: pacman -Q | grep kvmd generates:
    kvmd 3.332-1
    kvmd-fan 0.30-1
    kvmd-oled 0.27-1
    kvmd-platform-v2-hdmiusb-rpi4 3.332-1
    kvmd-webterm 0.49-1

@DialectKBA-Teodor commented on GitHub (May 13, 2024): Same issue here, but with a few differences to the original report: - Raspberry Pi board version 4 - PiKVM platform v2 - KVMD version: `pacman -Q | grep` kvmd generates: kvmd 3.332-1 kvmd-fan 0.30-1 kvmd-oled 0.27-1 kvmd-platform-v2-hdmiusb-rpi4 3.332-1 kvmd-webterm 0.49-1
Author
Owner

@4plb0mb commented on GitHub (May 13, 2024):

Same here, except for a couple things:

  • Hardware are 2x pikvm v4 plus

  • update command is pikvm-update (although I know that it's "just" a script that also uses pacman)

Both v4's pacman -Q | grep kvmd:
kvmd 3.333-1
kvmd-fan 0.30-1
kvmd-oled 0.27-1
kvmd-platform-v4plus-hdmi-rpi4 3.333-1
kvmd-webterm 0.50-1

pacman -Q | grep ustreamer
ustreamer 6.11-1

and finally uname -a
Linux pikvm-004 6.6.21-4-rpi #1 SMP Wed Mar 13 20:36:42 UTC 2024 armv7l GNU/Linux

@4plb0mb commented on GitHub (May 13, 2024): Same here, except for a couple things: - Hardware are 2x pikvm v4 plus - update command is pikvm-update (although I know that it's "just" a script that also uses pacman) Both v4's `pacman -Q | grep kvmd`: kvmd 3.333-1 kvmd-fan 0.30-1 kvmd-oled 0.27-1 kvmd-platform-v4plus-hdmi-rpi4 3.333-1 kvmd-webterm 0.50-1 `pacman -Q | grep ustreamer` ustreamer 6.11-1 and finally `uname -a` Linux pikvm-004 6.6.21-4-rpi #1 SMP Wed Mar 13 20:36:42 UTC 2024 armv7l GNU/Linux
Author
Owner

@NoahDar commented on GitHub (May 13, 2024):

Having the same issue. Also, noticed for little over a week no updates from Arch so made me wonder what is up.

@NoahDar commented on GitHub (May 13, 2024): Having the same issue. Also, noticed for little over a week no updates from Arch so made me wonder what is up.
Author
Owner

@mdevaev commented on GitHub (May 13, 2024):

This happens when Python is updated in the distribution. We have a pinned version, so that nothing breaks because of the update. Everything worked as it should.

Updated now.

@mdevaev commented on GitHub (May 13, 2024): This happens when Python is updated in the distribution. We have a pinned version, so that nothing breaks because of the update. Everything worked as it should. Updated now.
Author
Owner

@dougmaitelli commented on GitHub (May 13, 2024):

@mdevaev

Thanks for the quick follow-up, after your comment I see now that the error changed, none of the original dependency conflicts are there, but there is one new one:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-ajsonrpc
@dougmaitelli commented on GitHub (May 13, 2024): @mdevaev Thanks for the quick follow-up, after your comment I see now that the error changed, none of the original dependency conflicts are there, but there is one new one: ``` error: failed to prepare transaction (could not satisfy dependencies) :: installing python (3.12.3-1) breaks dependency 'python<3.12' required by python-ajsonrpc ```
Author
Owner

@mdevaev commented on GitHub (May 13, 2024):

Run pacman -R python-ajsonrpc and perform update again.

@mdevaev commented on GitHub (May 13, 2024): Run `pacman -R python-ajsonrpc` and perform update again.
Author
Owner

@Wilford888 commented on GitHub (May 16, 2024):

Thank you. Issue resolved.

@Wilford888 commented on GitHub (May 16, 2024): Thank you. Issue resolved.
Author
Owner

@matteha commented on GitHub (May 22, 2024):

pikvm-update gives this error:

:: installing python (3.12.3-1) breaks dependency 'python<3.11' required by python-ajsonrpc
++ on_error
++ set +x

  An unexpected error occurred during the update.

==============================================================

and the solution above gives this error:

[root@pikvm kvmd-webterm]# pacman -R python-ajsonrpc
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python-ajsonrpc breaks dependency 'python-ajsonrpc' required by platformio

@matteha commented on GitHub (May 22, 2024): pikvm-update gives this error: :: installing python (3.12.3-1) breaks dependency 'python<3.11' required by python-ajsonrpc ++ on_error ++ set +x ============================================================== An unexpected error occurred during the update. ============================================================== and the solution above gives this error: [root@pikvm kvmd-webterm]# pacman -R python-ajsonrpc checking dependencies... error: failed to prepare transaction (could not satisfy dependencies) :: removing python-ajsonrpc breaks dependency 'python-ajsonrpc' required by platformio
Author
Owner

@mdevaev commented on GitHub (May 22, 2024):

@matteha please contact me via discord: https://discord.gg/bpmXfz5

@mdevaev commented on GitHub (May 22, 2024): @matteha please contact me via discord: https://discord.gg/bpmXfz5
Author
Owner

@tim-lux commented on GitHub (May 25, 2024):

I also ran into this issue:
removing python-ajsonrpc breaks dependency 'python-ajsonrpc' required by platformio
(following a chain of dependencies, so removing it did not)

As some suggested on the discord, reinstalling worked for me (rpi 4, pikvm 3): pacman -S python-ajsonrpc

@tim-lux commented on GitHub (May 25, 2024): I also ran into this issue: `removing python-ajsonrpc breaks dependency 'python-ajsonrpc' required by platformio` (following a chain of dependencies, so removing it did not) As some suggested on the discord, reinstalling worked for me (rpi 4, pikvm 3): **`pacman -S python-ajsonrpc`**
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pikvm-pikvm#890
No description provided.