Can't update or download software from software manager

Recently, I am facing problem to download software from software manager but it is showing error:

Failed to prepare transaction
Target not found: texlive-basic

What should I do?

Try

sudo pacman-mirrors --fasttrack && sudo pacman -Syyu

pamac update --force-refresh

This is fairly similar to the above. But depending on when you last updated, you may need to update via pacman first in order to address an issue with pamac.