[elbe-devel] [PATCH v1 0/2] debian: fix for broken sub-command checkupdates in v14.0

Holger Dengler dengler at linutronix.de
Fri Jan 14 23:20:56 CET 2022


To lxcvs:linutronix/elbe/elbe
   c931652b..e729356c  devel/dengler/tip -> devel/dengler/tip

The series contains a fix for a broken sub-command and a version bump (see
error log).

The sub-command "check_updates" is broken in Debian installs of release
v14.0. Due to new functionality, the sub-command "check_updates" requires
now additional python libraries, which are not part of the
python3-elbe-common package.

The sub-command "check_updates" is mostly used outside of the initvm, where
python3-elbe-buildenv is not necessarily installed. Move the required
libraries from python3-elbe-buildenv to python3-elbe-common package to fix
the problem.

--- error log -------------------------------------------------------------
$ elbe check_updates --help
Traceback (most recent call last):
  File "/usr/bin/elbe", line 57, in <module>
    mod = __import__(modname)
  File "/usr/lib/python3/dist-packages/elbepack/commands/check_updates.py", line 12, in <module>
    from elbepack import virtapt
  File "/usr/lib/python3/dist-packages/elbepack/virtapt.py", line 22, in <module>
    from elbepack.rfs import create_apt_prefs
  File "/usr/lib/python3/dist-packages/elbepack/rfs.py", line 15, in <module>
    from elbepack.efilesystem import BuildImgFs
ModuleNotFoundError: No module named 'elbepack.efilesystem'
---------------------------------------------------------------------------

Holger Dengler (2):
  debian: fix library dependencies for check_updates
  debian: changelog: bump elbe version to 14.1

 debian/changelog                     | 7 +++++++
 debian/python3-elbe-buildenv.install | 6 ------
 debian/python3-elbe-common.install   | 6 ++++++
 elbepack/version.py                  | 2 +-
 4 files changed, 14 insertions(+), 7 deletions(-)

-- 
2.34.1



More information about the elbe-devel mailing list