View Issue Details

IDProjectCategoryView StatusLast Update
0008057Kali Linux[All Projects] Kali Package Bugpublic2022-11-15 12:19
ReporterJokerSob Assigned To 
PriorityhighSeverityblockReproducibilityalways
Status newResolutionopen 
Product Version2022.3 
Target VersionFixed in Version 
Summary0008057: rkhunter install problem
DescriptionI tried to install rkhunter but I think the package is corrupt and won't install.
Steps To Reproducesudo apt -y install rkhunter => E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo dpkg --configure -a => Errors encountered during processing: rkhunter

sudo apt-get install -f => Errors encountered during processing: rkhunter
                                            grep: /etc/default/rkhunter: No such file or directory
                                            E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo apt-get remove --purge rkhunter
Additional InformationI think the reason for the error in installing/upgrading kali-linux-everything is due to the presence of such problematic tools.

Activities

JokerSob

2022-11-15 01:45

reporter   ~0017067

I also followed the steps below, but nothing changed.

sudo apt -y install rkhunter

sudo apt-get install -f

sudo ls -l /var/lib/dpkg/info | grep -i rkhunter

sudo mv /var/lib/dpkg/info/rkhunter /tmp

sudo apt update

sudo dpkg -i --force-overwrite /var/cache/apt/archives/rkhunter

steev

2022-11-15 02:19

manager   ~0017068

Can you give more information about your kali installation or how you are running it? I can’t reproduce the issue at all here on multiple systems.

JokerSob

2022-11-15 12:19

reporter   ~0017070

I have been using kali as the only operating system on the computer for many years. I recently performed a clean install with the installer, the version of which is 2.9 G installed on my system, and my source repositories are;
Kali-rolling,
kali-last-snapshot,
kali-experimental,
kali-bleeding-edge. (as on the source page https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/)


Note: I have stated my opinion on the problems experienced in the kali-everything installation, which I have presented as additional information above, only as a personal opinion that can help you solve the error. Because after performing a clean installation, I installed a lot of tools and made my customizations without any problems.

Issue History

Date Modified Username Field Change
2022-11-15 01:12 JokerSob New Issue
2022-11-15 01:45 JokerSob Note Added: 0017067
2022-11-15 02:19 steev Note Added: 0017068
2022-11-15 12:19 JokerSob Note Added: 0017070