View Issue Details

IDProjectCategoryView StatusLast Update
0008900Kali LinuxKali Package Bugpublic2025-03-20 13:02
Reporterbaraka983 Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionopen 
Summary0008900: ERROR defectdojo amd64 2.37.3-0kali1
Description

Hello my OS is
Linux kali 6.8.11-amd64 0000001 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux
i get this error when update defectdojo
apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
defectdojo
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.1 MB of archives.
After this operation, 2,958 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://kali.mirror.rafal.ca/kali kali-rolling/main amd64 defectdojo amd64 2.37.3-0kali1 [16.1 MB]
Fetched 16.1 MB in 6s (2,613 kB/s)
Reading changelogs... Done
(Reading database ... 1244620 files and directories currently installed.)
Preparing to unpack .../defectdojo_2.37.3-0kali1_amd64.deb ...
Unpacking defectdojo (2.37.3-0kali1) over (2.30.2-0kali5) ...
Setting up defectdojo (2.37.3-0kali1) ...
Installing new version of config file /etc/defectdojo/nginx.conf ...
[06/Sep/2024 13:18:34] INFO [dojo.models:4569] enabling audit logging
Traceback (most recent call last):
File "/usr/lib/defectdojo/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.11/dist-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.11/dist-packages/django/core/management/init.py", line 377, in execute
django.setup()
File "/usr/local/lib/python3.11/dist-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.11/dist-packages/django/apps/registry.py", line 122, in populate
app_config.ready()
File "/usr/local/lib/python3.11/dist-packages/django/contrib/admin/apps.py", line 24, in ready
self.module.autodiscover()
File "/usr/local/lib/python3.11/dist-packages/django/contrib/admin/init.py", line 24, in autodiscover
autodiscover_modules('admin', register_to=site)
File "/usr/local/lib/python3.11/dist-packages/django/utils/module_loading.py", line 47, in autodiscover_modules
import_module('%s.%s' % (app_config.name, module_to_search))
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/auditlog/admin.py", line 5, in <module>
from auditlog.mixins import LogEntryAdminMixin
File "/usr/lib/python3/dist-packages/auditlog/mixins.py", line 20, in <module>
class LogEntryAdminMixin:
File "/usr/lib/python3/dist-packages/auditlog/mixins.py", line 21, in LogEntryAdminMixin
@admin.display(description="Created")
^^^^^^^^^^^^^
AttributeError: module 'django.contrib.admin' has no attribute 'display'
dpkg: error processing package defectdojo (--configure):
installed defectdojo package post-installation script subprocess returned error exit status 1
Processing triggers for kali-menu (2024.3.1) ...
Errors were encountered while processing:
defectdojo
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thank you :)

Activities

g0tmi1k

g0tmi1k

2025-03-20 13:02

administrator   ~0020415

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2024-09-06 13:19 baraka983 New Issue
2025-03-20 13:02 g0tmi1k Note Added: 0020415
2025-03-20 13:02 g0tmi1k Status new => closed