[App Store] 应用商店里的软件重复更新是什么情况? Resolved
Tofloor
poster avatar
thinking2019
deepin
2024-05-10 16:06
Author

系统使用的是20.9。最近几天应用商店里提示有软件更新,更新软件成功后关闭应用商店再打开,又再次提示软件更新;更新软件后又提示更新成功,关闭应用商店再次打开后还是提示更新,似乎陷入了无限循环,请问是什么原因?该怎样解决?

我的系统:

20240510160102.jpg

应用商店截图

20240510155628.jpg

Reply Favorite View the author
All Replies
忘记、过去
deepin
2024-05-10 17:11
#1
sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf update
sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf upgrade

终端执行上面两条命令试试能不能升级应用?

Reply View the author
thinking2019
deepin
2024-05-10 17:50
#2
忘记、过去
sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf update
sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf upgrade

终端执行上面两条命令试试能不能升级应用?

感谢回复。终端依次执行命令后显示如下:

Thinking@R7000:/Desktop$ sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf update
请输入密码:
验证成功
命中:1 https://community-packages.deepin.com/deepin apricot InRelease
获取:2 https://app-store-files.uniontech.com/240510160947250/appstore deepin InRelease [6,131 B]
获取:3 https://app-store-files.uniontech.com/240510160947250/appstore deepin/appstore amd64 Packages [5,871 kB]
已下载 5,877 kB,耗时 5秒 (1,218 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 18 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。

Thinking@R7000:/Desktop$ sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包将被【卸载】:
com.sugarcane.adobe.photoshop:i386
下列【新】软件包将被安装:
libomp5
下列软件包将被升级:
cn.photosir.himirage com.360.browser-stable com.meitu.mtxx com.netease.youdaonote com.qq.weixin.deepin
com.visualstudio.code deepin-wine-helper deepin-wine-runtime deepin-wine6-stable dtk5-gles.runtime.szbt
ffmpeg4.szbt linux.qq.com org.remmina qt5.15gles-basic.runtime.szbt qt5.15gles-extra.runtime.szbt
spark-deepin-wine-runner store.spark-app.wechat-linux-spark uos-ai
升级了 18 个软件包,新安装了 1 个软件包,要卸载 1 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 724 MB/1,668 MB 的归档。
解压缩后将会空出 575 MB 的空间。
您希望继续执行吗? [Y/n] Y
获取:12 https://community-packages.deepin.com/deepin apricot/main amd64 libomp5 amd64 1:13.0-54 [8,900 B]
获取:1 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine-runtime amd64 0.1.8 [140 MB]
获取:2 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine6-stable amd64 6.0.0.68 [52.6 MB]
获取:3 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 cn.photosir.himirage amd64 2.0.4.40407 [233 MB]
获取:4 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 com.meitu.mtxx amd64 2.0.4 [58.0 MB]
获取:5 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine-helper amd64 5.3.14-1 [1,340 kB]
获取:6 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 qt5.15gles-extra.runtime.szbt amd64 5.15.10+szbt5 [68.9 MB]
获取:7 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 qt5.15gles-basic.runtime.szbt amd64 5.15.10+szbt5 [31.6 MB]
获取:8 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 dtk5-gles.runtime.szbt amd64 5.6.17+szbt5 [2,134 kB]
获取:9 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 ffmpeg4.szbt amd64 4.4.4~deepin+szbt4 [15.6 MB]
获取:10 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 org.remmina amd64 1.4.32 [4,287 kB]
获取:11 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 store.spark-app.wechat-linux-spark amd64 2.2.1-real1.0.0.241 [117 MB]
已下载 724 MB,耗时 17秒 (43.4 MB/s)
(正在读取数据库 ... 系统当前共安装有 355696 个文件和目录。)
正在卸载 com.sugarcane.adobe.photoshop:i386 (19.0spark4) ...
/var/lib/dpkg/info/com.sugarcane.adobe.photoshop.postrm:行31: 语法错误: 未预期的文件结尾
dpkg: 处理软件包 com.sugarcane.adobe.photoshop:i386 (--remove)时出错:
已安装 com.sugarcane.adobe.photoshop:i386 软件包 post-removal 脚本 子进程返回错误状态 2
在处理时有错误发生:
com.sugarcane.adobe.photoshop:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)

=============================================

上述操作后再次打开应用商店依然提示软件需要升级,没有任何变化。confused

Reply View the author
神末shenmo
deepin
Spark-App
2024-05-10 22:51
#3
thinking2019

感谢回复。终端依次执行命令后显示如下:

Thinking@R7000:/Desktop$ sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf update
请输入密码:
验证成功
命中:1 https://community-packages.deepin.com/deepin apricot InRelease
获取:2 https://app-store-files.uniontech.com/240510160947250/appstore deepin InRelease [6,131 B]
获取:3 https://app-store-files.uniontech.com/240510160947250/appstore deepin/appstore amd64 Packages [5,871 kB]
已下载 5,877 kB,耗时 5秒 (1,218 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 18 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。

Thinking@R7000:/Desktop$ sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包将被【卸载】:
com.sugarcane.adobe.photoshop:i386
下列【新】软件包将被安装:
libomp5
下列软件包将被升级:
cn.photosir.himirage com.360.browser-stable com.meitu.mtxx com.netease.youdaonote com.qq.weixin.deepin
com.visualstudio.code deepin-wine-helper deepin-wine-runtime deepin-wine6-stable dtk5-gles.runtime.szbt
ffmpeg4.szbt linux.qq.com org.remmina qt5.15gles-basic.runtime.szbt qt5.15gles-extra.runtime.szbt
spark-deepin-wine-runner store.spark-app.wechat-linux-spark uos-ai
升级了 18 个软件包,新安装了 1 个软件包,要卸载 1 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 724 MB/1,668 MB 的归档。
解压缩后将会空出 575 MB 的空间。
您希望继续执行吗? [Y/n] Y
获取:12 https://community-packages.deepin.com/deepin apricot/main amd64 libomp5 amd64 1:13.0-54 [8,900 B]
获取:1 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine-runtime amd64 0.1.8 [140 MB]
获取:2 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine6-stable amd64 6.0.0.68 [52.6 MB]
获取:3 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 cn.photosir.himirage amd64 2.0.4.40407 [233 MB]
获取:4 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 com.meitu.mtxx amd64 2.0.4 [58.0 MB]
获取:5 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine-helper amd64 5.3.14-1 [1,340 kB]
获取:6 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 qt5.15gles-extra.runtime.szbt amd64 5.15.10+szbt5 [68.9 MB]
获取:7 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 qt5.15gles-basic.runtime.szbt amd64 5.15.10+szbt5 [31.6 MB]
获取:8 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 dtk5-gles.runtime.szbt amd64 5.6.17+szbt5 [2,134 kB]
获取:9 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 ffmpeg4.szbt amd64 4.4.4~deepin+szbt4 [15.6 MB]
获取:10 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 org.remmina amd64 1.4.32 [4,287 kB]
获取:11 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 store.spark-app.wechat-linux-spark amd64 2.2.1-real1.0.0.241 [117 MB]
已下载 724 MB,耗时 17秒 (43.4 MB/s)
(正在读取数据库 ... 系统当前共安装有 355696 个文件和目录。)
正在卸载 com.sugarcane.adobe.photoshop:i386 (19.0spark4) ...
/var/lib/dpkg/info/com.sugarcane.adobe.photoshop.postrm:行31: 语法错误: 未预期的文件结尾
dpkg: 处理软件包 com.sugarcane.adobe.photoshop:i386 (--remove)时出错:
已安装 com.sugarcane.adobe.photoshop:i386 软件包 post-removal 脚本 子进程返回错误状态 2
在处理时有错误发生:
com.sugarcane.adobe.photoshop:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)

=============================================

上述操作后再次打开应用商店依然提示软件需要升级,没有任何变化。confused

sudo dpkg --force-all -r com.sugarcane.adobe.photoshop

Reply View the author
忘记、过去
deepin
2024-05-11 09:07
#4
thinking2019

感谢回复。终端依次执行命令后显示如下:

Thinking@R7000:/Desktop$ sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf update
请输入密码:
验证成功
命中:1 https://community-packages.deepin.com/deepin apricot InRelease
获取:2 https://app-store-files.uniontech.com/240510160947250/appstore deepin InRelease [6,131 B]
获取:3 https://app-store-files.uniontech.com/240510160947250/appstore deepin/appstore amd64 Packages [5,871 kB]
已下载 5,877 kB,耗时 5秒 (1,218 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 18 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。

Thinking@R7000:/Desktop$ sudo apt -c /var/lib/deepin-home-appstore-daemon/apt_custom.conf upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包将被【卸载】:
com.sugarcane.adobe.photoshop:i386
下列【新】软件包将被安装:
libomp5
下列软件包将被升级:
cn.photosir.himirage com.360.browser-stable com.meitu.mtxx com.netease.youdaonote com.qq.weixin.deepin
com.visualstudio.code deepin-wine-helper deepin-wine-runtime deepin-wine6-stable dtk5-gles.runtime.szbt
ffmpeg4.szbt linux.qq.com org.remmina qt5.15gles-basic.runtime.szbt qt5.15gles-extra.runtime.szbt
spark-deepin-wine-runner store.spark-app.wechat-linux-spark uos-ai
升级了 18 个软件包,新安装了 1 个软件包,要卸载 1 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 724 MB/1,668 MB 的归档。
解压缩后将会空出 575 MB 的空间。
您希望继续执行吗? [Y/n] Y
获取:12 https://community-packages.deepin.com/deepin apricot/main amd64 libomp5 amd64 1:13.0-54 [8,900 B]
获取:1 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine-runtime amd64 0.1.8 [140 MB]
获取:2 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine6-stable amd64 6.0.0.68 [52.6 MB]
获取:3 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 cn.photosir.himirage amd64 2.0.4.40407 [233 MB]
获取:4 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 com.meitu.mtxx amd64 2.0.4 [58.0 MB]
获取:5 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 deepin-wine-helper amd64 5.3.14-1 [1,340 kB]
获取:6 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 qt5.15gles-extra.runtime.szbt amd64 5.15.10+szbt5 [68.9 MB]
获取:7 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 qt5.15gles-basic.runtime.szbt amd64 5.15.10+szbt5 [31.6 MB]
获取:8 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 dtk5-gles.runtime.szbt amd64 5.6.17+szbt5 [2,134 kB]
获取:9 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 ffmpeg4.szbt amd64 4.4.4~deepin+szbt4 [15.6 MB]
获取:10 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 org.remmina amd64 1.4.32 [4,287 kB]
获取:11 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 store.spark-app.wechat-linux-spark amd64 2.2.1-real1.0.0.241 [117 MB]
已下载 724 MB,耗时 17秒 (43.4 MB/s)
(正在读取数据库 ... 系统当前共安装有 355696 个文件和目录。)
正在卸载 com.sugarcane.adobe.photoshop:i386 (19.0spark4) ...
/var/lib/dpkg/info/com.sugarcane.adobe.photoshop.postrm:行31: 语法错误: 未预期的文件结尾
dpkg: 处理软件包 com.sugarcane.adobe.photoshop:i386 (--remove)时出错:
已安装 com.sugarcane.adobe.photoshop:i386 软件包 post-removal 脚本 子进程返回错误状态 2
在处理时有错误发生:
com.sugarcane.adobe.photoshop:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)

=============================================

上述操作后再次打开应用商店依然提示软件需要升级,没有任何变化。confused

看上去是星火商店里的 photoshop 卸载失败导致无法安装应用,可以执行下列命令强制卸载:

sudo rm -f /var/lib/dpkg/info/com.sugarcane.adobe.photoshop.postrm
sudo dpkg -P --force-remove-reinstreq com.sugarcane.adobe.photoshop
sudo apt install -f
Reply View the author
thinking2019
deepin
2024-05-11 21:10
#5
神末shenmo

sudo dpkg --force-all -r com.sugarcane.adobe.photoshop

大佬来回复了,感谢!

Reply View the author
thinking2019
deepin
2024-05-11 21:11
#6
忘记、过去

看上去是星火商店里的 photoshop 卸载失败导致无法安装应用,可以执行下列命令强制卸载:

sudo rm -f /var/lib/dpkg/info/com.sugarcane.adobe.photoshop.postrm
sudo dpkg -P --force-remove-reinstreq com.sugarcane.adobe.photoshop
sudo apt install -f

感谢版主的帮助,问题解决!thanks

Reply View the author