I had deleted some old kernels a while back to make space on my boot partition (using elementary os), but now I realize they went into the trash-0/files folder on the boot, I tried opening sudo pantheon-files and deleting them manually but it doesn't work, I get this error:[Gtk] gtk_application_uninhibit: assertion 'cookie > 0' failedFiles will not function properly.I really need to get rid of these files as I need the space for updates.
How to empty trash on boot partition
boot;partition;trash