Failed Import Content View Version

Sorry for late reply.

I’ve noticed the same issue on Oracle Linux 9 including baseos, appstream, uekr7, uekr8 and epel repositories. So it doesn’t seem to be limited to just deb or rpm packages.

  1. I created products Ubuntu 24 / Oracle Linux 9 with all the mentioned repositories.
  2. I created content views for Ubuntu / Oracle Linux with all the mentioned repositories.
  3. I created an export of the content views.
hammer content-export complete version –organization=ORG –content-view=”Ubuntu_24” –version=1.0 –chunk-size=1
  1. I transferred the export to destination server.
  2. I did a content view import.
hammer content-import version --organization=ORG --path=/var/lib/pulp/imports/ORG/Ubuntu_24/1.0/2026-04-10T10-00-00-00/

Error log:

File /usr/lib/python3.12/site-packages/pulpcore/tasking/tasks.py", line 94, in _execute_task 
	func (*args, **kwargs)
File "/usr/lib64/python3.12/contextlib.py", line 81, in inner 
	return func(*args, **kwds)
         ^^^^^^^^^^^^^^^^^^^^^^^^
File */usr/lib/python3.12/site-packages/pulp_deb/app/tasks/copy.py", line 120, in copy_content
	content_to_copy = find_structured_publish_content(content_to_copy, source_repo_version)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File /usr/Lib/python3.12/site-packages/pulp_deb/app/tasks/copy.py", line 45, in find_structured_publish_content 
	for prc in pre_qs. select_related(" release_component"). iterator() :
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File /usr/lib/python3.12/site-packages/django/db/models/query.py", line 518, in _iterator 
	yield from iterable
File /usr/lib/python3.12/site-packages/django/db/models/query.py", line 93, in _iter_
	results = compiler.execute_sql(
                       ^^^^^^^^^^^^^^^^^^^^
File */usr/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
cursor-execute(sql, params)
File "/usr/lib/python3.12/site-packages/django/db/backends/utils.py", line 67, in execute 
	return self._execute_with_wrappers(
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File /usr/lib/python3.12/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
	return executor(sql, params, many, context)
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/django/db/backends/utils.py”, line 84, in _execute
	with self.db. wrap_database_errors:
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File /usr/Lib/python3.12/site-packages/django/db/utils.py", line 91, in _exit_ 
	raise dj_exc_value.with_traceback(traceback) from exc_value
File /usr/lib/python3.12/site-packages/django/db/backends/utils.py", line 89, in _execute 
	return self. cursor.execute(sql, params)
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/psycopg/_server_cursor.py", line 98, in execute 
	raise ex. with_traceback(None)
description: ‘sending query and params failed: number of parameters must be between 0 and 65535’