View Issue Details

IDProjectCategoryView StatusLast Update
0006404Kali Linux[All Projects] Tool Upgradepublic2020-05-22 11:02
Reporterprofessor833 Assigned Tosbrun  
PriorityhighSeveritymajorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version2020.2 
Target VersionFixed in Version 
Summary0006404: cannot run apt-get autoremove
DescriptionI have recencntly upgraded my kali-linux (persistent) live usb to kali-linux 2020.2 and the upgrade was succesful but whenever i try to run apt-get autoremove i get this error:

root@kali:~# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 79 not upgraded.
3 not fully installed or removed.
Need to get 0 B/50.0 MB of archives.
After this operation, 282 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 338100 files and directories currently installed.)
Removing linux-image-5.5.0-kali2-amd64 (5.5.17-1kali1) ...
run-parts: failed to exec /etc/kernel/postrm.d/initramfs-tools: Exec format error
run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.5.0-kali2-amd64 (--remove):
 installed linux-image-5.5.0-kali2-amd64 package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

and due to this i can't install any new package also.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-05-22 11:02 professor833 New Issue
2020-05-22 11:02 professor833 Status new => assigned
2020-05-22 11:02 professor833 Assigned To => sbrun