[Newbies] apt upgrade升级报错
Tofloor
poster avatar
187******72
deepin
2023-04-27 19:39
Author

系统升级apt upgrade报错:

sh: /usr/bin/deepin-app-store-pkgcache: 没有那个文件或目录

sh: /usr/bin/deepin-app-store-tool: 没有那个文件或目录

dpkg: 错误: 执行钩子 if { test ture; };then /usr/bin/deepin-app-store-pkgcache -u;/usr/bin/deepin-app-store-tool; fi 出错,退出状态为 32512

有老师知道上面的报错怎么处理吗?或者怎么屏蔽报错,让升级跑下去呢?

Reply Favorite View the author
All Replies
mmbliu
deepin
2023-04-27 22:26
#1

https://bbs.deepin.org/zh/post/222189

Reply View the author
187******72
deepin
2023-04-27 23:11
#2
mmbliu

https://bbs.deepin.org/zh/post/222189

你好,我试了原帖的操作,删除了/etc/apt/apt.conf.d/99appstore.conf,但是上面的报错依旧存在

Reply View the author
187******72
deepin
2023-04-27 23:41
#3

我全盘搜了一下,/etc/dpkg/dpkg.cfg.d/pkg-config-hook-config文件里面也有类似内容,是不是这个文件也可以删除呢

Reply View the author
xye9008
deepin
2023-04-27 23:42
#4

sudo apt-get update && sudo apt-get upgrade

或者

sudo apt-get update && sudo apt-get dist-upgrade

参考

https://www.cnblogs.com/gzxbkk/p/7808669.html

Reply View the author