diff --git a/README.md b/README.md index 6096537..cf435d8 100644 --- a/README.md +++ b/README.md @@ -77,3 +77,33 @@ R-base https://hub.docker.com/_/r-base ``` 使用 **Docker Hub** 的基础镜像无法正常构建容器,应该是 **DNS** 问题导致,这类网络导致的问题其实挺麻烦,解决的问题的最佳方案就是本地化基础镜像库。 + +## deepin 伪装 debian12 + +```shell + + +sudo sed -i -e 's/^ID=.*$/ID=debian/' -e 's/^VERSION_CODENAME=.*$/VERSION_CODENAME=bookworm/' /etc/os-release + +# CasaOS安装成功之后,要记得还原配置文件 +restore_os_release() { + sudo cp /etc/os-release.backup /etc/os-release + Show 0 "配置文件已还原" +} + +``` + +## deepin v23(debian12 bookworm) 安装 squashfs-tools-ng + +编译安装apptainer需要这个依赖但是deepin没有 + +[下载][https://packages.debian.org/bookworm/squashfs-tools-ng] [URL](https://packages.debian.org/bookworm/amd64/squashfs-tools-ng/download) + +http://ftp.hk.debian.org/debian/pool/main/s/squashfs-tools-ng/squashfs-tools-ng_1.2.0-1_amd64.deb +http://ftp.hk.debian.org/debian/pool/main/s/squashfs-tools-ng/libsquashfs1_1.2.0-1_amd64.deb + + +```shell +sudo dpkg -i ./libsquashfs1_1.2.0-1_amd64.deb +sudo dpkg -i ./squashfs-tools-ng_1.2.0-1_amd64.deb +``` \ No newline at end of file