apt install fail as package file not found
I am new to Linux and I recently install debian 12 on my old computer, I try in install nvidia-legacy-check before, but the result show my GPU is too old and not support, so I terminated the process. After that, seem something wrong with my apt install which always throw an error package nvidia-legacy-check is need to reinstall, but cannot find its package file (not exact wordings as my language is Chinese). And this error appear all the time when try to install others such as php. apt update and apt upgrade were fail