[Seek Help] 安装更新失败
Tofloor
poster avatar
lovelu1
deepin
2021-07-24 04:07
Author

167Kb的更新失败,使用 sudo apt-get update && sudo apt-get dist-upgrade -y后提示如下信息;

 

仍然无法更新,什么原因?怎么破

Reply Favorite View the author
All Replies
wudi593
deepin
2021-07-24 04:35
#1

pkg: 错误: 无法新建文件 '/var/lib/dpkg/info/format-new': 没有那个文件或目录

E: Sub-process /usr/bin/dpkg returned an error code (2)

 

Reply View the author
wudi593
deepin
2021-07-24 04:37
#2

升级了 75 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。

有 1 个软件包没有被完全安装或卸载。

需要下载 0 B/77.4 MB 的归档。

解压缩后会消耗 5,315 kB 的额外空间。

您希望继续执行吗? [Y/n] y

正在从软件包中解出模板:100%

正在预设定软件包 ...

dpkg: 错误: 无法新建文件 '/var/lib/dpkg/info/format-new': 没有那个文件或目录

E: Sub-process /usr/bin/dpkg returned an error code (2)

 

Reply View the author
lovelu1
deepin
2021-07-24 04:51
#3
wudi593

pkg: 错误: 无法新建文件 '/var/lib/dpkg/info/format-new': 没有那个文件或目录

E: Sub-process /usr/bin/dpkg returned an error code (2)

 

什么意思?新建个目录呀?

Reply View the author
wudi593
deepin
2021-07-24 05:11
#4
lovelu1

什么意思?新建个目录呀?

wudi@wudi-PC:~$ sudo apt autoremove

正在读取软件包列表... 完成

正在分析软件包的依赖关系树       

正在读取状态信息... 完成       

下列软件包将被【卸载】:

  deepin-pw-check fbterm gir1.2-appindicator3-0.1 gir1.2-notify-0.7 imageworsener libatkmm-1.6-1v5

  libcairomm-1.0-1v5 libdumbnet1 libgtkmm-3.0-1v5 libheif1 liblqr-1-0 libmaxminddb0 libmspack0

  libpangomm-1.4-1v5 libqtermwidget5-0 libsmi2ldbl libutempter0 libutf8proc2 libwireshark-data

  libwireshark11 libwiretap8 libwscodecs2 libwsutil9 libx86-1 libxmlsec1-openssl qtermwidget5-data

  squashfs-tools x11-apps x11-session-utils xbitmaps xinit

升级了 0 个软件包,新安装了 0 个软件包,要卸载 31 个软件包,有 75 个软件包未被升级。

有 1 个软件包没有被完全安装或卸载。

解压缩后将会空出 114 MB 的空间。

您希望继续执行吗? [Y/n] y

dpkg: 错误: 无法新建文件 '/var/lib/dpkg/info/format-new': 没有那个文件或目录

E: 子进程 dpkg --set-selections 返回了一个错误号 (2)

E: Couldn't record the approved state changes as dpkg selection states

wudi@wudi-PC:~$ 

 

Reply View the author
qq8645
deepin
2021-07-24 17:32
#5

我把那个 changelog.debian.gz文件删除后,一切OK

Reply View the author
zeno
deepin
2021-07-24 21:04
#6

libmariadb3 仓库更新了一个 1:10.3.29.2-0+deb10u1的版本装这个版本就可以了

Reply View the author
wudi593
deepin
2021-07-28 02:24
#7
lovelu1

什么意思?新建个目录呀?

一直都没办法处理,不知道   工作人员也不出来,也不修复bug   这系统让人爱不起来

Reply View the author
lovelu1
deepin
2021-08-08 05:37
#8
wudi593

一直都没办法处理,不知道   工作人员也不出来,也不修复bug   这系统让人爱不起来

我的解决了,就是按照帖子的方法解决的

Reply View the author