# 1.ubuntu22.10(这里对 ubuntu 进行更新) 清华源用 update 报错(出现 404)
换成中科大的源就好了 (23.04 的源)
deb https://mirrors.ustc.edu.cn/ubuntu/ lunar main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ lunar main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ lunar-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ lunar-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ lunar-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ lunar-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ lunar-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ lunar-backports main restricted universe multiverse
## Not recommended
# deb https://mirrors.ustc.edu.cn/ubuntu/ lunar-proposed main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu/ lunar-proposed main restricted universe multiverse
# 2.pwn 调试 c 程序缺少 libstdc.so.6
首先安装:
sudo apt install libstdc++6
然后安装下面的,报错了:
sudo apt install lib32stdc++6
换源(23.04)后安装即可成功运行 c++ 程序
另一种方式:
https://blog.csdn.net/xdz233/article/details/127470733