Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78864 - [netplan] Missing dependencies

Attached to Project: Arch Linux
Opened by Simon Lipp (Sloonz) - Friday, 23 June 2023, 10:12 GMT
Last edited by David Runge (dvzrv) - Saturday, 02 September 2023, 10:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Running netplan (0.106-1) fails :

Traceback (most recent call last):
File "/usr/bin/netplan", line 23, in <module>
netplan.main()
File "/usr/share/netplan/netplan/cli/core.py", line 42, in main
self.parse_args()
File "/usr/share/netplan/netplan/cli/core.py", line 35, in parse_args
import netplan.cli.commands
File "/usr/share/netplan/netplan/cli/commands/__init__.py", line 27, in <module>
from netplan.cli.commands.status import NetplanStatus
File "/usr/share/netplan/netplan/cli/commands/status.py", line 28, in <module>
import dbus
ModuleNotFoundError: No module named 'dbus'

Manuallly installing dbus-python fixes this issue, but then another one arises:

Traceback (most recent call last):
File "/usr/bin/netplan", line 23, in <module>
netplan.main()
File "/usr/share/netplan/netplan/cli/core.py", line 42, in main
self.parse_args()
File "/usr/share/netplan/netplan/cli/core.py", line 35, in parse_args
import netplan.cli.commands
File "/usr/share/netplan/netplan/cli/commands/__init__.py", line 27, in <module>
from netplan.cli.commands.status import NetplanStatus
File "/usr/share/netplan/netplan/cli/commands/status.py", line 30, in <module>
from rich.console import Console
ModuleNotFoundError: No module named 'rich'

Installing python-rich finally allows me to run netplan.
This task depends upon

Closed by  David Runge (dvzrv)
Saturday, 02 September 2023, 10:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with netplan 0.107-1 in [extra-testing]
Comment by Miha Verlic (fluke571) - Wednesday, 02 August 2023, 13:35 GMT
Also, netplan 105+ seems to be broken on Arch. If netplan is installed and any interface is configured with it, any systemd operation (daemon reloading, status, enabling service) takes ~60 seconds. During that 60 seconds access to /run is also blocked.

See:
https://bbs.archlinux.org/viewtopic.php?id=281599
https://gitlab.archlinux.org/archlinux/arch-boxes/-/issues/156

Reverting to 104 works.
Comment by David Runge (dvzrv) - Saturday, 02 September 2023, 10:50 GMT
@Sloonz: Thanks for the ticket!

I have just pushed 0.107 to [extra-testing] which should fix the issue of the missing dependencies.
(I guess this was bound to happen if packagers do not run tests...)

Irt the other issue: Please open a separate ticket for it, if you still experience that with 0.107 in [extra-testing].

@Shibumi: I have revised the PKGBUILD. Please make sure to review the tests that have now been disabled and report them upstream.

Loading...