dgmenghuan
2023-07-07 17:38 deepin
我从来不会利用升级程序,出现新版本了就写入U盘,重作,呵呵,没有这种闹心的事情
Reply Like 0 View the author
我从来不会利用升级程序,出现新版本了就写入U盘,重作,呵呵,没有这种闹心的事情
sudo apt purge linux-image-5.15.77-amd64-desktop
sudo apt update && sudo apt upgrade
sudo apt install linux-image-5.15.77-amd64-desktop
一样的报错,我是重装系统解决的
关于第一条问题:
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
说明这个文件glitchpeg.desktop有问题,我们使用desktop-file-validate命令检查一下这个文件是否符合规范,问题到底是什么
desktop-file-validate /usr/share/applications/screensavers/glitchpeg.desktop
提示如下:
glitchpeg.desktop: error: 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 comment, a group or an entry
glitchpeg.desktop: hint: value "Screensaver;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
从第一行提示中给出了明确的错误原因,我们打开文件看一下:
从文本编辑器中可以看到,Comment在第6行,而第7行内容本应同属于Comment内容却多了换行符,我们把换行符删掉,让他们处在同一行(第6行)就行了。
这样第一条这个错误就修复了。你试试看。
(如果有强迫症的话,在删除换行符后记得在这个逗号后面加个空格)
补充:
glitchpeg.desktop的问题是在xscreensaver-data-extra 5.42
包中存在的,Debian在5.45中修正了这个问题,DeepinV20仓库中目前暂时只有5.42,V23仓库中用的是目前最新的6.02。
sudo apt reinstall deepin-boot-kit
sudo apt install -f
重新装下 deepin-boot-kit
这个包,错误里面说可执行文件找不到了,导致内核安装配置没完成
Popular Events
More
最近每次更新都会有如下报错,有知道是什么原因导致的吗