You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior
The "leapp preupgrade" fails with an python error.
====> * vendor_signed_rpm_scanner
Provide data about installed RPM Packages signed by Red Hat.
Process Process-250:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
actor_instance.run(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 290, in run
self.process(*args)
File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/redhatsignedrpmscanner/actor.py", line 125, in process
"Package {} is unsigned, packager: {}, signature: {}".format(pkg.name, pkg.packager, pkg.pgpsig)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 7: ordinal not in range(128)
To Reproduce
call leapp preupgrade
Expected behavior
The run without any errors
System information (please complete the following information):
OS and version: CentOS 7.9
# uname -a Linux XXX 3.10.0-1160.83.1.el7.x86_64 fixed version_id #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
# rpm -qa "*leapp*" (or shorthashes of commits in case of manual installation):
Attach (or provide link to) log files if applicable (optional - may contain confidential information):
All files in /var/log/leapp
/var/lib/leapp/leapp.db
journalctl
If you want, you can optionally send anything else would you like to provide (e.g. storage info)
For your convenience you can pack all logs with this command:
# tar -czf leapp-logs.tar.gz /var/log/leapp /var/lib/leapp/leapp.db
Then you may attach only the leapp-logs.tar.gz file.
Additional context
The critical fields in the rpm database looks like name and packager.
Command to list it: rpm -qa --queryformat="%{=NAME} Version %{=VERSION} packager: %{=PACKAGER} \n"
As an hot fix, remove the affected packages, then it will work.
The text was updated successfully, but these errors were encountered:
In my case it is not an problem with the file system, it is one with the rpm database itself.
So 1917314 will point to another problem.(Which I don't see on my systems)
Actual behavior
The "leapp preupgrade" fails with an python error.
To Reproduce
call leapp preupgrade
Expected behavior
The run without any errors
System information (please complete the following information):
# uname -a
Linux XXX 3.10.0-1160.83.1.el7.x86_64 fixed version_id #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux# rpm -qa "*leapp*"
(or shorthashes of commits in case of manual installation):Attach (or provide link to) log files if applicable (optional - may contain confidential information):
For your convenience you can pack all logs with this command:
# tar -czf leapp-logs.tar.gz /var/log/leapp /var/lib/leapp/leapp.db
Then you may attach only the
leapp-logs.tar.gz
file.Additional context
The critical fields in the rpm database looks like name and packager.
Command to list it:
rpm -qa --queryformat="%{=NAME} Version %{=VERSION} packager: %{=PACKAGER} \n"
As an hot fix, remove the affected packages, then it will work.
The text was updated successfully, but these errors were encountered: