apt install netplan.io, run netpaln got error

Bug #2012782 reported by sean joe he
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
Expired
Undecided
Unassigned

Bug Description

# netplan
traceback(most recent call last):
  File "/usr/sbin/netplan", line 20 in <module>
    from netplan import Netplan
File "/usr/share/netplan/netplan/cli/core.py", line 24, in <module>
import netplan.libnetplan as np
File "/usr/share/netplan/netplan/libnetplan.py" line 54, in <module>
lib.netplan_get_id_from_nm_filename.restype = ctypes.c_char_p
File "/usr/lib/python3.10/ctypes/__init__.py", line 387, in __getattr__
func = self.__getitem(name)
File "/usr/lib/python3.10/ctypes/__init__.py", line 392, in __getitem__
func = self._FuncPtr(name_or_ordinal, self)

AtrributeError: /usr/bin/python3: undefined symbol: netplan_get_id_from_nm_filename

Revision history for this message
sean joe he (seanjoe) wrote :

ubuntu 22.04

Revision history for this message
Lukas Märdian (slyon) wrote :

Can you please provide the output of `$ apt list *netplan*`

It looks like your Netplan CLI version (netplan.io package) and libnetplan version (libnetplan0 package) do not match up. The packaging information should avoid this. How did you install netplan.io?

Changed in netplan:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for netplan because there has been no activity for 60 days.]

Changed in netplan:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.