[App Store] 应用商店内的软件无法下载提示安装失败
Tofloor
poster avatar
Leen
deepin
2022-07-06 23:20
Author

不管是什么软件,点击下载或者更新都提示失败!哪位大佬遇到过这个情况?

image.png


日志:

2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:24.394 [Debug ] [ ] void AptDownloadTask::safeDeleteEventLoop() currentThreadId: 0x7f26b37fe700
2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:24.394 [Info ] [ ] virtual AptDownloadTask::~AptDownloadTask() currentThreadId: 0x7f26b37fe700 "com.postman.postman" QDateTime(2022-07-06 15:09:24.394 CST Qt::LocalTime)
2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[67837]: "Current Nice and Priority: priority = 10 scheduler = 2"
2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[67837]: Log file clean failed!
2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[67837]: Log file existed: "2022-07-06-12-35-22-799" , backup and create new one...
2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[67837]: Log file backup failed! Appending new log in old file...
2022-07-06 15:09:24 leen-PC com.deepin.daemon.SoundEffect[67692]: use 'alsa_output.pci-0000_00_1f.3.analog-stereo' instead of empty device
2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:24.606 [Debug ] [ ] parseJson: "illegal value"
2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:24.606 [Info ] [ ] download.bi.data= "type/42 device_id/66aa0caa3c3b49e9a473e3c8d1677f61 client_version/7.4.1.0003-1 os/Community os_version/20.6 channel/ uid/ app_id/1000489 package_version/9.22.2 session_id/de48c26ca40f470aae7537f7f9058c43 code/504"
2022-07-06 15:09:24 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:24.670 [Info ] [ ] 59 run uploadDownloadState.sucess
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.113 [Info ] [ ] DbusAppstore::InstallPackage "deepin-app-store" "com.postman.postman" "9.22.2" "Postman" "https://home-store-img.uniontech.com/icon/721efb39-e33d-4f31-9cc6-3dda5a033a39"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.116 [Info ] [ ] =======addDownloadPollTask "com.postman.postman" "9.22.2"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.116 [Info ] [ ] 51 onAddUploadDownloadTaskSlot "c07e841d5d0e489980c381953b03de6b" "9.22.2"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.116 [Debug ] [ ] 1 0 0
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.116 [Debug ] [ ] "/var/cache/deepin/deepin-home-appstore-daemon/archives/" Existed!
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.116 [Info ] [ ] "com.postman.postman" OnAptOperationDataChangeSlot "deepin-app-store"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.122 [Debug ] [ ] insert application_history "com.postman.postman" ---- "9.22.2"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.143 [Debug ] [ ] void Service::initRequestHeader(QNetworkRequest&) baseline_version
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.143 [Debug ] [ ] void Service::initRequestHeader(QNetworkRequest&) baseline_version
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.144 [Info ] [ ] static void ProxySystem::setNetworkProxy(QNetworkAccessManager&, QString) proxy mode: "none"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.146 [Debug ] [ ] "/var/cache/deepin/deepin-home-appstore-daemon/archives/" Existed!
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.147 [Info ] [ ] void AptDownloadTask::startDownloadTask() apt proxy start: "apt-get" ("-c", "/var/lib/deepin-home-appstore-daemon/apt_custom.conf", "-y", "-d", "-o", "Acquire::Retries=1", "-o", "APT::Status-Fd=-1", "-o", "Debug::acquire::progress=true", "-o", "Dpkg::Progress=true", "-o", "Debug::NoLocking=1", "install", "^com\.postman\.postman$=9.22.2")
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.147 [Info ] [ ] virtual void AptDownloadTask::run() currentThreadId: 0x7f26b27fc700 "com.postman.postman" QDateTime(2022-07-06 15:09:57.147 CST Qt::LocalTime)
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.399 [Debug ] [ ] parseJson: "illegal value"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.399 [Info ] [ ] download.bi.data= "type/41 device_id/66aa0caa3c3b49e9a473e3c8d1677f61 client_version/7.4.1.0003-1 os/Community os_version/20.6 channel/ uid/ app_id/1000489 package_version/9.22.2 session_id/c07e841d5d0e489980c381953b03de6b down_type/1 code/"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.471 [Info ] [ ] 59 run uploadDownloadState.sucess
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.605 [Info ] [ ] void AptDownloadTask::onFinishedSlot(int, QProcess::ExitStatus) "deepin-app-store" "com.postman.postman" 100 QProcess::NormalExit
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.605 [Warning] [ ] AptDownloadTask::OnFinishedSlot failed: "E: Version '9.22.2' for 'com.postman.postman' was not found\n"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.605 [Info ] [ ] AptDownloadTask::OnFinishedSlot output: "Reading package lists...\nBuilding dependency tree...\nReading state information...\n"
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.606 [Info ] [ ] void AptDownloadTask::onFinishedSlot(int, QProcess::ExitStatus) Download Retry: 1
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.606 [Debug ] [ ] void AptDownloadTask::onFinishedSlot(int, QProcess::ExitStatus) isAptUpdateNeeded = false Enum_AptUpdate_State:: 1
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.606 [Debug ] [ ] "/var/cache/deepin/deepin-home-appstore-daemon/archives/" Existed!
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.631 [Debug ] [ ] void AptDownloadTask::startDownloadTask() no need run timer
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.631 [Debug ] [ ] void AptDownloadTask::startDownloadTask() no need run new process
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.631 [Debug ] [ ] "/var/cache/deepin/deepin-home-appstore-daemon/archives/" Existed!
2022-07-06 15:09:57 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:57.633 [Info ] [ ] void AptDownloadTask::startDownloadTask() apt proxy start: "apt-get" ("-c", "/var/lib/deepin-home-appstore-daemon/apt_custom.conf", "-y", "-d", "-o", "Acquire::Retries=1", "-o", "APT::Status-Fd=-1", "-o", "Debug::acquire::progress=true", "-o", "Dpkg::Progress=true", "-o", "Debug::NoLocking=1", "install", "^com\.postman\.postman$=9.22.2")
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.077 [Info ] [ ] void AptDownloadTask::onFinishedSlot(int, QProcess::ExitStatus) "deepin-app-store" "com.postman.postman" 100 QProcess::NormalExit
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.078 [Warning] [ ] AptDownloadTask::OnFinishedSlot failed: "E: Version '9.22.2' for 'com.postman.postman' was not found\nE: Version '9.22.2' for 'com.postman.postman' was not found\n"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.078 [Info ] [ ] AptDownloadTask::OnFinishedSlot output: "Reading package lists...\nBuilding dependency tree...\nReading state information...\n"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.078 [Info ] [ ] void AptDownloadTask::onFinishedSlot(int, QProcess::ExitStatus) Download Retry: 2
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.078 [Debug ] [ ] void AptDownloadTask::installFailUpdataDb(APPSTORE_DAEMON::NotifyStatus) "com.postman.postman"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.078 [Info ] [ ] 51 onAddUploadDownloadTaskSlot "c07e841d5d0e489980c381953b03de6b" "9.22.2"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.078 [Debug ] [ ] void Service::initRequestHeader(QNetworkRequest&) baseline_version
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.078 [Debug ] [ ] void Service::initRequestHeader(QNetworkRequest&) baseline_version
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.078 [Debug ] [ ] void AppstoreDb::updateApplicationHistoryInfo(QString, QString, QString, QString, QString, QString, QString, QString, QString, QString, QString, QString, const QString&, QString, QString, QString, QString, QString, const QString&, const QString&) updateStr "UPDATE application_history set version = ? , path = ? , operation = ? , time = ? , content = ? , result = ? , appName = ? , iconUrl = ? , appSize = ? , externColumnOne = ? , externColumnTwo = ? , packageMode = ? , fileSize = ? , isSpecificPkg = ? , sessionId = ? WHERE packageName = 'com.postman.postman'"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.079 [Info ] [ ] static void ProxySystem::setNetworkProxy(QNetworkAccessManager&, QString) proxy mode: "none"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.081 [Debug ] [ ] update application_history "com.postman.postman" ---- "9.22.2"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.088 [Debug ] [ ] void AptDownloadTask::safeDeletaAll() "com.postman.postman" , "9.22.2" m_bIsSafeDeleted = true QDateTime(2022-07-06 15:09:58.088 CST Qt::LocalTime)
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.088 [Info ] [ ] void AptDownloadTask::safeDeletaAll() cancel task "com.postman.postman" QDateTime(2022-07-06 15:09:58.088 CST Qt::LocalTime)
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.088 [Debug ] [ ] void AptDownloadTask::safeDeleteTimer() "com.postman.postman" , "9.22.2"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.088 [Info ] [ ] "com.postman.postman" OnAptOperationDataChangeSlot "deepin-app-store"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.088 [Debug ] [ ] void AptDownloadTask::safeDeleteDownloadProcess() "com.postman.postman" , "9.22.2"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.088 [Debug ] [ ] void AptDownloadTask::safeDeleteEventLoop() currentThreadId: 0x7f26b27fc700
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.088 [Info ] [ ] virtual AptDownloadTask::~AptDownloadTask() currentThreadId: 0x7f26b27fc700 "com.postman.postman" QDateTime(2022-07-06 15:09:58.088 CST Qt::LocalTime)
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[67961]: "Current Nice and Priority: priority = 10 scheduler = 2"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[67961]: Log file clean failed!
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[67961]: Log file existed: "2022-07-06-12-35-22-799" , backup and create new one...
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[67961]: Log file backup failed! Appending new log in old file...
2022-07-06 15:09:58 leen-PC com.deepin.daemon.SoundEffect[67692]: use 'alsa_output.pci-0000_00_1f.3.analog-stereo' instead of empty device
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.334 [Debug ] [ ] parseJson: "illegal value"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.335 [Info ] [ ] download.bi.data= "type/42 device_id/66aa0caa3c3b49e9a473e3c8d1677f61 client_version/7.4.1.0003-1 os/Community os_version/20.6 channel/ uid/ app_id/1000489 package_version/9.22.2 session_id/c07e841d5d0e489980c381953b03de6b code/504"
2022-07-06 15:09:58 leen-PC com.home.appstore.daemon[3828]: 2022-07-06, 15:09:58.393 [Info ] [ ] 59 run uploadDownloadState.sucess
2022-07-06 15:13:47 leen-PC org.desktopspec.ConfigManager[1623]: No appenders assotiated with category dsg.config
2022-07-06 15:13:47 leen-PC org.desktopspec.ConfigManager[1623]: [Info ] <> reuse connection:/org_deepin_dde_dock/org_deepin_dde_dock/1000
2022-07-06 15:13:47 leen-PC org.desktopspec.ConfigManager[1623]: No appenders assotiated with category dsg.config
2022-07-06 15:13:47 leen-PC org.desktopspec.ConfigManager[1623]: [Info ] <> reduced connection refrence service. service::1.134, path:/org_deepin_dde_dock/org_deepin_dde_dock/1000, remaining refrence 1
2022-07-06 15:13:47 leen-PC org.desktopspec.ConfigManager[1623]: No appenders assotiated with category dsg.config
2022-07-06 15:13:47 leen-PC org.desktopspec.ConfigManager[1623]: [Info ] <> reuse connection:/org_deepin_dde_dock/org_deepin_dde_dock/1000
2022-07-06 15:13:47 leen-PC org.desktopspec.ConfigManager[1623]: No appenders assotiated with category dsg.config
2022-07-06 15:13:47 leen-PC org.desktopspec.ConfigManager[1623]: [Info ] <> reduced connection refrence service. service::1.134, path:/org_deepin_dde_dock/org_deepin_dde_dock/1000, remaining refrence 1
2022-07-06 15:15:06 leen-PC org.desktopspec.ConfigManager[1623]: No appenders assotiated with category dsg.config
2022-07-06 15:15:06 leen-PC org.desktopspec.ConfigManager[1623]: [Info ] <> reuse connection:/org_deepin_dde_dock/org_deepin_dde_dock/1000
2022-07-06 15:15:06 leen-PC org.desktopspec.ConfigManager[1623]: No appenders assotiated with category dsg.config
2022-07-06 15:15:06 leen-PC org.desktopspec.ConfigManager[1623]: [Info ] <> reduced connection refrence service. service::1.134, path:/org_deepin_dde_dock/org_deepin_dde_dock/1000, remaining refrence 1

Reply Favorite View the author
All Replies
babyfengfjx
Super Moderator
CQA
2022-07-06 23:52
#1
  • 暂时没遇到过嘞,先看下通过终端安装的具体信息,这报错看起来是拉取不到具体应用文件;
  • sudo apt install com.postman.postman
    
  • 试试看终端安装是否OK。
  • 当前使用的系统语言是英文么?地域选择的是哪里?
Reply View the author
Leen
deepin
2022-07-07 00:34
#2
babyfengfjx
  • 暂时没遇到过嘞,先看下通过终端安装的具体信息,这报错看起来是拉取不到具体应用文件;
  • sudo apt install com.postman.postman
    
  • 试试看终端安装是否OK。
  • 当前使用的系统语言是英文么?地域选择的是哪里?

英文, 北京

Reply View the author
Leen
deepin
2022-07-07 00:35
#3
Leen

英文, 北京

image.png

Reply View the author
Leen
deepin
2022-07-07 00:41
#4
Leen

image.png

我本来是想安装下面这个软件的

image.png
image.png

Reply View the author
Leen
deepin
2022-07-07 00:44
#5
Leen

我本来是想安装下面这个软件的

image.png
image.png

不知道跟这个源是否有关系, 但是我把appstore那一条打开也是一样下载不成功

image.png

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-07-07 01:16
#6
Leen

不知道跟这个源是否有关系, 但是我把appstore那一条打开也是一样下载不成功

image.png

  • 这个最好不要添加其他第三方源,可能会是系统组件出一些不可预制的依赖问题;
  • 如果需要使用第三方源去获取一些特定应用,可以获取完成后,及时关闭源信息。
  • 可以先屏蔽后再试试。
Reply View the author
Leen
deepin
2022-07-07 01:31
#7
babyfengfjx
  • 这个最好不要添加其他第三方源,可能会是系统组件出一些不可预制的依赖问题;
  • 如果需要使用第三方源去获取一些特定应用,可以获取完成后,及时关闭源信息。
  • 可以先屏蔽后再试试。

还是一样image.png

image.png
一样

Reply View the author
忘记、过去
deepin
2022-07-07 05:23
#8

检查下 /etc/apt/sources.list.d/appstore.list 文件,这个是商店的源文件。

如果源没有问题的话,每次重启客户端都会执行 sudo apt update 操作更新源索引信息的,一般不会出现日志里找不到 postman 指定版本 9.22.0 的问题。

P.S. 可以执行下 sudo rm /var/lib/deepin-home-appstore-daemon/lists/* 把 apt 的索引文件删掉再重启下客户端试试。

Reply View the author
Ziggy
deepin
2022-07-07 06:48
#9

把所有第三方源屏蔽再pkexec dpkg --configure -a && pkexec apt -f install,你这样几个源混用,很容易出问题的!

Reply View the author
Leen
deepin
2022-07-07 16:40
#10
忘记、过去

检查下 /etc/apt/sources.list.d/appstore.list 文件,这个是商店的源文件。

如果源没有问题的话,每次重启客户端都会执行 sudo apt update 操作更新源索引信息的,一般不会出现日志里找不到 postman 指定版本 9.22.0 的问题。

P.S. 可以执行下 sudo rm /var/lib/deepin-home-appstore-daemon/lists/* 把 apt 的索引文件删掉再重启下客户端试试。

好像没有这个文件😳

/etc/apt/sources.list.d/appstore.list

Reply View the author
Leen
deepin
2022-07-07 16:41
#11
Ziggy

把所有第三方源屏蔽再pkexec dpkg --configure -a && pkexec apt -f install,你这样几个源混用,很容易出问题的!

这个方法没有生效

Reply View the author
Leen
deepin
2022-07-07 18:24
#12
Leen

好像没有这个文件😳

/etc/apt/sources.list.d/appstore.list

加上了那个文件还是不行!!

Reply View the author
忘记、过去
deepin
2022-07-11 21:24
#13
Leen

好像没有这个文件😳

/etc/apt/sources.list.d/appstore.list

没有的话肯定不行啊,商店的源都没有当然下载失败。

sudo apt reinstall deepin-app-store
终端执行命令重装下客户端,写入下这个源文件应该就好了

Reply View the author
Leen
deepin
2022-07-11 21:56
#14
忘记、过去

没有的话肯定不行啊,商店的源都没有当然下载失败。

sudo apt reinstall deepin-app-store
终端执行命令重装下客户端,写入下这个源文件应该就好了

可以了, 谢谢😄

Reply View the author