Note, selecting 'libreadline-dev' instead of 'libreadline6-dev' Package libgcc-9-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'libgcc-9-dev' has no installation candidate
TYPE IN TERMINAL (
nano /etc/apt/sources.list
) DELETE ALL LINES INTO ITGO TO (
https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
)or
copy repositories below mentioned
COPY AND PASTE THESE LINES INTO SOURCE LIST
TO EXIT AND SAVE press (
ctrl
+x
) and pressY
to confirm savingType
apt update
&&apt upgrade
in terminal//hope it will work//