问题:
$ man gccNo manual entry for gcc
看到这个方法,但是失败了
$ sudo apt install gcc-docReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: gcc-doc : Depends: gcc-10-doc (>= 10.1.0-1~) but it is not installableE: Unable to correct problems, you have held broken packages.
看到这个方法,解决了问题
echo deb http://deb.debian.org/debian buster-backports main contrib non-free | sudo tee /etc/apt/sources.list.d/buster-backports.listsudo apt updatesudo apt install -t buster-backports gcc-doc