-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: deepin目前不支持zstd格式打包的deb安装包。 #369
Comments
手动解决方案:手拆zstd格式deb安装包,重新打包后安装
|
备忘录: dpkg -X ./xxx.deb extract dpkg -e ./xxx.deb extract/DEBIAN dpkg -b 文件夹 文件名.deb sudo dpkg -i 文件名.deb 解压命令:tar -zxvf 压缩文件名.tar.gz 解压到指定目录:tar -zxvf 压缩文件名.tar.gz -C <目标目录> 压缩命令:tar -zcvf 压缩文件名.tar.gz <被压缩的文件夹> deb 默认使用的压缩格式为 gzip 格式,所以最常见的就是 data.tar.gz。看他提示 control.tar.zst看样子应该是。 最新的23,内核5.18,好像得5.19才支持 Debian 11/ Ubuntu 21.10开始变成默认了 【仓库/镜像】 V20稳定版本还有可能支持debian 11的上游依赖吗?https://bbs.deepin.org/phone/post/251304 deepin现在的dpkg版本还在1.19.这个版本,支持zstd压缩的dpkg要升级到1.21.以上 |
@linonetwo 所以解决方法就是打包用的Ubuntu环境降低一点点就可以了,可以使用Ubuntu20.04 |
|
所以其实是用户的 ubuntu 版本过低,所以无法解压这种包吗?现在 Ubuntu 大家还有用 20 的吗 |
@linonetwo 大概是这个意思,其实只要低于Ubuntu 21.10 ,dpkg版本就会使用原有的压缩方式。Deepin目前采用的dpkg版本低于Ubuntu 21.10采用的dpkg版本,故而不支持新版的采用zstd软件包。 |
这个新版软件包有什么优势吗,没啥区别就先降级 Action 里的 ubuntu 吧 |
听说就是安装速度快,性能好一点。其它都一样,就仅仅换了一个压缩格式罢了。就像用zip压缩还是用7z压缩 |
我用Ubuntu22.04测试过了,可以正常解压安装老版的基于旧的压缩方式的deb包(deepin可以用的)。 |
Environment 环境信息
Deepin Linux 平台TidGi
Description 描述
Steps to Reproduce 复现方式
https://bbs.deepin.org/zh/post/235873
The text was updated successfully, but these errors were encountered: