Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die
eigentliche Nachricht steht dadurch in einem Anhang.

This message was wrapped to be DMARC compliant. The actual message
text is therefore in an attachment.
--- Begin Message ---
You may try to install the package manually from FAI prompt (second console, 
before the system reboots), or by ssh’ing into the system (add sshd to 
FAI_FLAGS if not there already). This way you may be able to debug the 
situation.

 

BR,
Toomas

 

From: linux-fai <linux-fai-boun...@uni-koeln.de> On Behalf Of Bob A
Sent: reede, 16. juuni 2023 20:07
To: fully automatic installation for Linux <linux-fai@uni-koeln.de>
Subject: FAI/Debian 12 - Custom python package fails

 

This may be off-topic. I have two custom python packages in a local repository 
that I install using FAI. One package is working (python3-ifcfg) fine while the 
other (python3-python-vxi11) fails.  If I install python3-python-vxi11 after 
the system reboots, it will install successfully without any errors.

 

During FAI I am getting the following errors (from fai.log):

 

Setting up python3-python-vxi11 (0.9-1) ...

  File "/usr/bin/py3compile", line 323, in <module>

    main()

  File "/usr/bin/py3compile", line 302, in main

    compile(files, version,

  File "/usr/bin/py3compile", line 185, in compile

    for fn, version_to_compile in filter_files(files, e_patterns, versions):

  File "/usr/bin/py3compile", 128, in filter_files

    for fpath in files:

  File "/usr/share/python3/debpython/files.py", line 71, in filter_public

   for fn in files:

  File "/usr/share/python3/debpython/files.py", line 53, in from_package

    raise Exception("cannot get content of %s" % package_name)

Exception: cannot get content of python3-python-vxi11

 

After I reboot the system, the package seems to be fine:

$ dpkg -l | grep vxi11

ii   python3-python-vxi11                         0.9-1                         
   all

      Python3 VXI-11 driver for controlling instruments over Ethern

 

If I purge the package and reinstall there are  no errors, warnings, or 
exceptions.

 

This package was built using dh-python on a Debian 12 system.

 

Any suggestions?

 

 


--- End Message ---

Antwort per Email an