[Internal testing communication] apt upgrade 执行失败,系统也无法更新
Tofloor
poster avatar
动态规划小青蛙
deepin
2025-02-15 00:54
Author

Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: error: unable to access the dpkg database directory /var/lib/dpkg: Read-only file system
E: Sub-process /usr/bin/dpkg returned an error code (2)

image.png

image.png

Reply Favorite View the author
All Replies
小图巴巴
deepin
2025-02-27 08:39
#1

1 sudo apt update

2 sudo apt dist-upgrade 此步是获取需要升级的程序清单 不要在此升级,会有只读系统错误提示,我们只要复制这些程序名称就可以

3 终端另开一页面 用sudo apt install 贴上刚才复制的程序名 回车安装

Reply View the author