my machine is a raspberry pi 4 8gb arm64 running kali linux

i cannot install, upgrade anything in my terminal do to apt not working properly

this started to happen after i did a full-upgrade

possibly something wrong with new 2.1.12+deb11u1?

i get the error:

┌──(root💀masterwolf)-[/home/kali]
└─# sudo apt-get update && apt-get upgrade
sudo: unable to resolve host masterwolf: Name or service not known
Hit:2 https://download.sublimetext.com apt/stable/ InRelease
Hit:1 http://kali.download/kali kali-rolling InRelease
Hit:3 http://http.re4son-kernel.com/re4son kali-pi InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
apt-utils : Depends: apt (= 2.1.11) but 2.1.12+deb11u1 is installed
libhttp-dav-perl : Depends: libpod-parser-perl but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

also:

kali@masterwolf:~$ sudo apt-get install apt
sudo: unable to resolve host masterwolf: Name or service not known
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt is already the newest version (2.1.12+deb11u1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
apt-utils : Depends: apt (= 2.1.11) but 2.1.12+deb11u1 is to be installed
libhttp-dav-perl : Depends: libpod-parser-perl but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


i have tried everything on every forum they either did not match my criteria or did not work

i am new to forums

i am a hacker in the learning and use try hack me and hack the box regularly