ifup --print-dependency=dot -> error: main exception: name 'GvGen' is not defined

banksiaboy

Member
Nov 17, 2022
16
0
6
># apt list --installed | grep ifupdown2 ifupdown2/stable,now 3.1.0-1+pmx3 all [installed]

I tried:
># ifup --print-dependency=dot vmbr1 error: main exception: name 'GvGen' is not defined

GvGen seems to be a python generator for dot-files. https://github.com/stricaud/gvgen
I can't find any packages in the repository that match gvgen:
># apt search gvgen Sorting... Done Full Text Search... Done

Does this mean there is a missing python dependency in proxmox ifupdown2 ?

https://tracker.debian.org/pkg/python-gvgen reports the package is 'gone'
 
Last edited:
dpkg -s ifupdown2 Package: ifupdown2 Status: install ok installed Priority: optional Section: admin Installed-Size: 1646 Maintainer: Proxmox Support Team <support@proxmox.com> Architecture: all Version: 3.1.0-1+pmx3 Replaces: ifupdown Provides: ifupdown Depends: python3:any, iproute2 [I]Suggests: isc-dhcp-client, bridge-utils, ethtool, python3-gvgen, python3-mako[/I] Breaks: libpve-common-perl (<< 6.0-14) Conflicts: ifupdown [...]

The suggested packages are: isc-dhcp-client, bridge-utils, ethtool, python3-gvgen, python3-mako

using dpkg -s on that list it seems that python3-gvgen, and python3-mako are missing from the repository.

Should this be documented?
 
From 2.1.6. Package dependencies of the Debian manual

  • "Suggests"
    • This declares a weak dependency. Many users of this package may benefit from installing packages listed in this field but can have reasonable functions without them.
So, it looks like a nice-to-have. It would be nice to have :)

It doesn't seem nice to raise an exception...
 
Last edited: