Solving small error displayed

while performing UcareSystemCore I discovered two errors
1
'the initramfs will attempt to resume from sda5'

Solution from here https://www.startpage.com/do/dsearch?query=the+initramfs+will+attempt+to+resume+from+sda5&cat=web&pl=ext-ff&language=english&extVersion=1.3.0

sudo update-initramfs -u -k all

2
'sub-procces /usr/bin.dpkg returned an error code 1'

Solution from here https://phoenixnap.com/kb/fix-sub-process-usr-bin-dpkg-returned-error-code-1

sudo dpkg ––configure –a
sudo apt-get install –f
sudo apt-get remove package-name
In my case was droid