問題如下:
$ sudo apt-get install libao-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc6-dbg : Depends: libc6 (= 2.36-9+deb12u13) but 2.36-9+deb12u10 is to be installed
libc6-dev : Depends: libc-dev-bin (= 2.36-9+deb12u10) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
$ apt-cache policy libc6
libc6:
Installed: 2.36-9+deb12u13
Candidate: 2.36-9+deb12u13
Version table:
*** 2.36-9+deb12u13 500
500 http://deb.debian.org/debian bookworm/main armhf Packages
2.36-9+deb12u10 100
100 /var/lib/dpkg/status
2.28-10+deb10u1 500
500 http://archive.debian.org/debian buster/main armhf Packages
解法如下:
$ cd $ wget https://github.com/steward-fu/website/releases/download/xt897/libc6-dbg_2.36-9+deb12u10_armhf.deb $ wget https://github.com/steward-fu/website/releases/download/xt897/libc6-dev_2.36-9+deb12u10_armhf.deb $ wget https://github.com/steward-fu/website/releases/download/xt897/libc6_2.36-9+deb12u10_armhf.deb $ wget https://github.com/steward-fu/website/releases/download/xt897/libc-dev-bin_2.36-9+deb12u10_armhf.deb $ sudo dpkg --force-all -i libc6_2.36-9+deb12u10_armhf.deb $ sudo dpkg --force-all -i libc6-dev_2.36-9+deb12u10_armhf.deb $ sudo dpkg --force-all -i libc-dev-bin_2.36-9+deb12u10_armhf.deb $ sudo dpkg --force-all -i libc6-dbg_2.36-9+deb12u10_armhf.deb