LulzRose

Fix for broken initrd.img file after full upgrade

Nov 15th, 2018
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. |__ __| / ____| | | | | | (_)
  2. | | __ _ _ _ _ __ _ _ ___ | | ___ | | | ___ ___| |_ ___ _____
  3. | |/ _` | | | | '__| | | / __| | | / _ \| | |/ _ \/ __| __| \ \ / / _ \
  4. | | (_| | |_| | | | |_| \__ \ | |___| (_) | | | __/ (__| |_| |\ V / __/
  5. |_|\__,_|\__,_|_| \__,_|___/ \_____\___/|_|_|\___|\___|\__|_| \_/ \___|
  6.  
  7. +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+
  8. |P|a|r|r|o|t| |O|p|e|r|a|t|i|n|g| |S|y|s|t|e|m| |P|a|r|r|o|t|6|4|
  9. +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+
  10.  
  11. Broken initrd img after recent system upgrade Fix for 64bit systems
  12.  
  13. Recently many parrot users have been receiving a message at the end of their full upgrade due to a
  14. lack of space in their /boot partition as follows:
  15.  
  16. update-initramfs...........(bad exit status: 1)
  17. Warning: There was a problem remaking your initrd. You must manually remake it
  18. before booting into this kernel.
  19. DKMS: uninstall completed.
  20. Error! Problems with mkinitrd detected. Automatically uninstalling this module.
  21. DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
  22. dpkg: error processing package broadcom-sta-dkms (--configure):
  23. installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7
  24. Errors were encountered while processing:
  25. broadcom-sta-dkms
  26. Configuring sandbox profiles....
  27. Sandbox profiles updated!
  28. E: Sub-process /usr/bin/dpkg returned an error code (1)
  29.  
  30. In order to fix this you must do:
  31.  
  32. sudo apt remove --purge linux-image-4.18.0-parrot8-amd64
  33.  
  34. sudo update-grub
  35.  
  36. sudo update-initramfs -u
  37.  
  38. cd /boot
  39.  
  40. (OPTIONAL) sudo rm initrd.img-4.18.0-parrot10-amd64.old-dkms
  41.  
  42. sudo apt update
  43.  
  44. sudo apt full-upgrade
  45.  
  46. OPTIONAL:
  47.  
  48. If you countinue having an issue in which broadcom-sta-dkms returns an error exit status 7
  49. you may run:
  50.  
  51. sudo apt remove broadcom-sta-dkms
Advertisement
Add Comment
Please, Sign In to add comment