每次过系统更新 和 dpkg -i 安装软件最后 都会报处错误
Tofloor
poster avatar
echo_-
deepin
2020-09-18 18:44
Author
大佬有遇到过类似这种问题么
Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment
sh: 0: Can't open /tmp/spark-store-install/feedback.sh
dpkg: 处理软件包 spark-store (--configure)时出错:
已安装 spark-store 软件包 post-installation 脚本 子进程返回错误状态 127
在处理时有错误发生:
spark-store
E: Sub-process /usr/bin/dpkg returned an error code (1)

[attach]102655[/attach]

Reply Favorite View the author
All Replies
deepinuser17
deepin
2020-09-18 19:33
#1
/usr/share/applications/screensavers/glitchpeg.desktop 文件来自软件包xscreensaver-data-extra。

安装debsums, 然后运行debsums命令如下,检查xscreensaver-data-extra是否正确安装,以及是否有文件损坏。

  1. sudo apt install debsums
  2. sudo debsums xscreensaver-data-extra

  3. 结果:
  4. /usr/lib/xscreensaver/anemone                                                 OK
  5. /usr/lib/xscreensaver/anemotaxis                                              OK
  6. /usr/lib/xscreensaver/apollonian                                              OK
  7. /usr/lib/xscreensaver/apple2                                                  OK
  8. /usr/lib/xscreensaver/attraction                                              OK
  9. /usr/lib/xscreensaver/barcode                                                 OK
  10. .....
  11. /usr/share/applications/screensavers/fontglide.desktop                        OK
  12. /usr/share/applications/screensavers/glitchpeg.desktop                        OK
  13. /usr/share/applications/screensavers/goop.desktop                             OK
  14. /usr/share/applications/screensavers/grav.desktop                             OK
  15. /usr/share/applications/screensavers/greynetic.desktop                        OK
  16. .....
Copy the Code


如果任何文件的检查结果不是OK, 重新安装这个软件包。
Reply View the author
陌生人
deepin
2020-09-18 19:42
#2
先卸载星火,然后重新安装,在星火安装的时候出现了问题
Reply View the author
陌生人
deepin
2020-09-18 19:42
#3
麻烦再安装的时候出现失败的话截图发一下
Reply View the author
echo_-
deepin
2020-09-18 19:53
#4
https://bbs.deepin.org/post/202410
/usr/share/applications/screensavers/glitchpeg.desktop 文件来自软件包xscreensaver-data-extra。

安装 ...

sudo debsums xscreensaver-data-extra
检查 相关文件 都OK 状态的
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-09-18 20:26
#5
https://bbs.deepin.org/user/154730 新版本把feedback去掉吧
Reply View the author
Comments
zty199
2020-09-19 06:41
已经去掉了,下次更新的时候我打包检查一下。
echo_-
deepin
2020-09-18 20:43
#6
https://bbs.deepin.org/post/202410
先卸载星火,然后重新安装,在星火安装的时候出现了问题

sudo dpkg -r spark-store
(正在读取数据库 ... 系统当前共安装有 282616 个文件和目录。)
正在卸载 spark-store (2.0) ...
Could not parse file "/usr/share/applications/spark-store.desktop": No such file or directory
Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment

sudo dpkg --purge spark-store
(正在读取数据库 ... 系统当前共安装有 282598 个文件和目录。)
正在清除 spark-store (2.0) 的配置文件 ...
Could not parse file "/usr/share/applications/spark-store.desktop": No such file or directory
Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment

Reply View the author
echo_-
deepin
2020-09-18 23:12
#7
https://bbs.deepin.org/post/202410
麻烦再安装的时候出现失败的话截图发一下


我安装spark-store-dtk2_1.0-beta5.2_plus_sm1_amd64.deb 没问题
这个包spark-store_2.0_amd64.deb 安装上述出现问题 做 检查 sudo apt-get upgrade 最后也会报
2020-09-18 15:06:21 (104 MB/s) - 已保存 “dcs-repo.gpg-key.asc.2” [2456/2456])

Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package spark-store)
OK
Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment


Reply View the author