这篇文章上次修改于 2259 天前,可能其部分内容已经发生变化,如有疑问可询问作者。
报错如下:
sudo dpkg -i deepin.com.qq.im_8.9.19983deepin23_i386.deb
(Reading database … 134047 files and directories currently installed.)
Preparing to unpack deepin.com.qq.im_8.9.19983deepin23_i386.deb …
Unpacking deepin.com.qq.im:i386 (8.9.19983deepin23) …
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing archive deepin.com.qq.im_8.9.19983deepin23_i386.deb (—install):
cannot copy extracted data for ‘./opt/deepinwine/apps/Deepin-QQ/files.7z’ to ‘/opt/deepinwine/apps/Deepin-QQ/files.7z.dpkg-new’: unexpected end of file or stream
Errors were encountered while processing:
deepin.com.qq.im_8.9.19983deepin23_i386.deb
解决办法,是ubuntu的源太新,使用这个,
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ cosmic main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ cosmic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ cosmic universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ cosmic universe
deb http://cn.archive.ubuntu.com/ubuntu/ cosmic-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ cosmic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ cosmic multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ cosmic multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu cosmic partner
# deb-src http://archive.canonical.com/ubuntu cosmic partner
deb http://security.ubuntu.com/ubuntu cosmic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted
deb http://security.ubuntu.com/ubuntu cosmic-security universe
# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe
deb http://security.ubuntu.com/ubuntu cosmic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu cosmic-security multiverse
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
没有评论