dde因deepin-anything-dkms无法更新,具体详情如下:
系统版本:
(base) zhanfei@zhanfei-PC:~$ neofetch ............ zhanfei@zhanfei-PC .';;;;;. .,;,. ------------------ .,;;;;;;;. ';;;;;;;. OS: Deepin 20.9 x86_64 .;::::::::' .,::;;,''''',. Host: MS-7B89 2.0 ,'.:::::::: .;;'. '; Kernel: 6.2.10-x64v1-xanmod1 ;' 'cccccc, ,' :: '.. .: Uptime: 13 hours, 56 mins ,, :ccccc. ;: .c, '' :. ,; Packages: 2000 (dpkg) .l. cllll' ., .lc :; .l' l. Shell: bash 5.0.3 .c :lllc ;cl: .l' .ll. :' Resolution: 2560x1440, 1080x1920 .l 'looc. . ,o: 'oo' c, DE: Deepin .o. .:ool::coc' .ooo' o. WM: KWin :: ..... .;dddo ;c Theme: deepin [GTK3] l:... .';lddddo. ,o Icons: bloom [GTK2/3] lxxxxxdoolllodxxxxxxxxxc :l Terminal: deepin-terminal ,dxxxxxxxxxxxxxxxxxxl. 'o, CPU: AMD Ryzen 5 2600X (12) @ 3.600GHz ,dkkkkkkkkkkkkko;. .;o; GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/ .;okkkkkdl;. .,cl:. Memory: 4232MiB / 15943MiB .,:cccccccc:,.
(base) zhanfei@zhanfei-PC:~$ sudo apt upgrade 请输入密码: 验证成功 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 正在计算更新... 完成 下列软件包的版本将保持不变: dde 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 1 个软件包未被升级。 有 3 个软件包没有被完全安装或卸载。 解压缩后会消耗 0 B 的额外空间。 您希望继续执行吗? [Y/n] y 正在设置 deepin-anything-dkms (6.0.3-1) ... Removing old deepin-anything-0.0 DKMS files... ------------------------------ Deleting module version: 0.0 completely from the DKMS tree. ------------------------------ Done. Loading new deepin-anything-0.0 DKMS files... Building for 6.2.10-x64v1-xanmod1 Building initial module for 6.2.10-x64v1-xanmod1 Error! Bad return status for module build on kernel: 6.2.10-x64v1-xanmod1 (x86_64) Consult /var/lib/dkms/deepin-anything/0.0/build/make.log for more information. dpkg: 处理软件包 deepin-anything-dkms (--configure)时出错: 已安装 deepin-anything-dkms 软件包 post-installation 脚本 子进程返回错误状态 10 dpkg: 依赖关系问题使得 dde-file-manager 的配置工作不能继续: dde-file-manager 依赖于 deepin-anything-dkms;然而: 软件包 deepin-anything-dkms 尚未配置。 dpkg: 处理软件包 dde-file-manager (--configure)时出错: 依赖关系问题 - 仍未被配置 dpkg: 依赖关系问题使得 deepin-anything-server 的配置工作不能继续: deepin-anything-server 依赖于 deepin-anything-dkms;然而: 软件包 deepin-anything-dkms 尚未配置。 dpkg: 处理软件包 deepin-anything-server (--configure)时出错: 依赖关系问题 - 仍未被配置 在处理时有错误发生: deepin-anything-dkms dde-file-manager deepin-anything-server E: Sub-process /usr/bin/dpkg returned an error code (1) (base) zhanfei@zhanfei-PC:~$ cat /var/lib/dkms/deepin-anything/0.0/build/make.log DKMS make.log for deepin-anything-0.0 for kernel 6.2.10-x64v1-xanmod1 (x86_64) 2023年 04月 12日 星期三 10:44:00 CST make: 进入目录“/usr/src/linux-headers-6.2.10-x64v1-xanmod1” warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc-12 (Debian 12.2.0-14) 12.2.0 You are using: gcc (Uos 8.3.0.3-3+rebuild) 8.3.0 CC [M] /var/lib/dkms/deepin-anything/0.0/build/arg_extractor.o CC [M] /var/lib/dkms/deepin-anything/0.0/build/event_merge.o CC [M] /var/lib/dkms/deepin-anything/0.0/build/event.o CC [M] /var/lib/dkms/deepin-anything/0.0/build/module.o CC [M] /var/lib/dkms/deepin-anything/0.0/build/vfs_kretprobes.o gcc: error: unrecognized command line option ‘-mharden-sls=all’; did you mean ‘-mhard-float’? CC [M] /var/lib/dkms/deepin-anything/0.0/build/vfs_fsnotify.o make[1]: *** [scripts/Makefile.build:252:/var/lib/dkms/deepin-anything/0.0/build/arg_extractor.o] 错误 1 make[1]: *** 正在等待未完成的任务.... gcc: error: unrecognized command line option ‘-mharden-sls=all’; did you mean ‘-mhard-float’? make[1]: *** [scripts/Makefile.build:252:/var/lib/dkms/deepin-anything/0.0/build/event_merge.o] 错误 1 gcc: error: unrecognized command line option ‘-mharden-sls=all’; did you mean ‘-mhard-float’? make[1]: *** [scripts/Makefile.build:252:/var/lib/dkms/deepin-anything/0.0/build/event.o] 错误 1 gcc: error: unrecognized command line option ‘-mharden-sls=all’; did you mean ‘-mhard-float’? make[1]: *** [scripts/Makefile.build:252:/var/lib/dkms/deepin-anything/0.0/build/module.o] 错误 1 gcc: error: unrecognized command line option ‘-mharden-sls=all’; did you mean ‘-mhard-float’? make[1]: *** [scripts/Makefile.build:252:/var/lib/dkms/deepin-anything/0.0/build/vfs_kretprobes.o] 错误 1 gcc: error: unrecognized command line option ‘-mharden-sls=all’; did you mean ‘-mhard-float’? make[1]: *** [scripts/Makefile.build:252:/var/lib/dkms/deepin-anything/0.0/build/vfs_fsnotify.o] 错误 1 make: *** [Makefile:2176:/var/lib/dkms/deepin-anything/0.0/build] 错误 2 make: 离开目录“/usr/src/linux-headers-6.2.10-x64v1-xanmod1” (base) zhanfei@zhanfei-PC:~$ cd /var/lib/dkms/deepin-anything/0.0/build (base) zhanfei@zhanfei-PC:/var/lib/dkms/deepin-anything/0.0/build$ cd / (base) zhanfei@zhanfei-PC:/$ cd ~ (base) zhanfei@zhanfei-PC:~$ apt list --upgradable 正在列表... 完成 dde/apricot,apricot 2023.02.16 all [可从该版本升级:2022.05.26-1] plymouth-theme-deepin-logo/apricot,apricot 15.10.20 all [可从该版本升级:15.10.19]
那是你使用xanmod内核引发的问题
多谢回复,这就换内核
Featured Collection
Popular Events
dde因deepin-anything-dkms无法更新,具体详情如下:
系统版本: