From the comments and other answers,

First OP restored their .bashrc file by using this question.

First back up the old file:

cp ~/.bashrc ~/.bashrc.bak

Copy the skeleton version of the file

cp /etc/skel/.bashrc ~/

Load the new file:

source ~/.bashrc

After that OP ran:

mkdir xyz && sudo mv /var/lib/dpkg/info/python3* ~/xyz
sudo mv /var/lib/dpkg/info/unattended-upgrades* ~/xyz && sudo mv /var/lib/dpkg/info/software-properties-common* ~/xyz 

Then they ran:

sudo cp -r /var/lib/dpkg/status $HOME
echo > /var/lib/dpkg/status

Then at the end, they ran:

sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -f