> 本文作者:丁辉 # Ubuntu缺失libc.so.6问题 **报错: `* /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_*' not found(*) `** 检查版本 ```bash strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC_ ``` 显示结果 ```bash GLIBC_2.* ···· GLIBC_2.* GLIBC_PRIVATE ``` **问题解决方案**: 1. 编辑源 ```bash vi /etc/apt/sources.list ``` 2. 添加内容 > 国外源 > > ```bash > deb http://th.archive.ubuntu.com/ubuntu jammy main > ``` 国内源 ```bash deb http://mirrors.tencentyun.com/ubuntu jammy main ``` 3. 运行升级 ```bash apt update ``` 4. 安装 ```bash apt install libc6 -y ``` 完美解决