Bugzilla – Bug 1213929
zypper-changelog-plugin lacks dependencies (No module named 'rpm')
Last modified: 2024-06-06 02:42:24 UTC
After installing the zypper-changelog-plugin in a TW container it says: > 21606fdb0e6d:/ # zypper changelog > Traceback (most recent call last): > File "/usr/bin/zypper-changelog", line 30, in <module> > import rpm > ModuleNotFoundError: No module named 'rpm' A bunch of dependencies were installed together with the package, but python311-rpm was missing.
> 21606fdb0e6d:/ # zypper changelog -p zypper > Traceback (most recent call last): > File "/usr/bin/zypper-changelog", line 172, in <module> > zcat_process = subprocess.Popen(["zcat", > ^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib64/python3.11/subprocess.py", line 1026, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib64/python3.11/subprocess.py", line 1950, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: 'zcat' > '/usr/bin/zypper-changelog' exited with status 1 Maybe a few more dependencies are missing: zcat
Thank you for reporting the problem. I am on it and I will release a fix in few days.
The https://build.opensuse.org/request/show/1178636 is up