收起左侧

无法更新系统

8
回复
1244
查看
[ 复制链接 ]

12

主题

18

回帖

0

牛值

fnOS系统内测组

2025-1-17 13:21:43 显示全部楼层 阅读模式

设备环境:物理机,局域网,系统版本0.8.34,设备 CPU 为 N100

BUG现象: 系统更新界面如图: 4ab52454acac964f446e7fdf39f0cce.png

每次更新进度到 libidgmm 时便出错提示更新失败

遂 ssh 进去寻找问题,得到以下现象

点击更新前后使用 dpkg-query -l 查看已安装的包出现如下情况:

windowbr@myNAS:~$ dpkg-query -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version      Architecture Description
+++-=========================-============-============-=================================
ii  kernel                    6.6.38-trim  all          TRIM NAS Kernel
ii  linux-headers-6.6.38-trim 6.6.38       all          linux-headers-6.6.38-trim
ii  trim                      0.8.34       all          TRIM NAS


windowbr@myNAS:~$ dpkg-query -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version      Architecture Description
+++-=========================-============-============-==========================================================
ii  kernel                    6.6.38-trim  all          TRIM NAS Kernel
iU  libigdgmm12:amd64         22.4.1       amd64        Intel Graphics Memory Management Library -- shared library
ii  linux-headers-6.6.38-trim 6.6.38       all          linux-headers-6.6.38-trim
ii  trim                      0.8.34       all          TRIM NAS

可见 libigdgmm12 无法正常安装,原因未知

尝试使用 apt install libigdgmm12 出现如下情况:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libigdgmm12 is already the newest version (22.4.1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libigdgmm12 : Depends: libc6 (>= 2.34) but it is not going to be installed
               Depends: libgcc-s1 (>= 3.3.1) but it is not going to be installed
               Depends: libstdc++6 (>= 4.1.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

尝试 apt --fix-broken install 后再次 apt install libigdgmm12 仍然出现如下报错:

windowbr@myNAS:~$ sudo apt install libigdgmm12
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgcc-s1 : Depends: libc6 (>= 2.35) but it is not going to be installed
 libigdgmm12 : Depends: libc6 (>= 2.34) but it is not going to be installed
 libstdc++6 : Depends: libc6 (>= 2.36) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

更多的就暂时不敢轻举妄动了,根据这段时间的观察发现我这情况并不是个例,许多人都出现了类似的问题,希望能尽早解决

出现频率:必现

联系方式:26群-so? 顺带一提我是最新一批内测组成员,但似乎现在还没有拉我进内测群。

收藏
送赞 2
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

43

主题

8436

回帖

0

牛值

管理员

2025-1-17 15:08:38 显示全部楼层
是否有使用过apt upgrade命令呢,我先在群内联系您提供解决办法

0

主题

4

回帖

0

牛值

江湖小虾

2025-2-14 13:34:54 显示全部楼层
用apt upgrade命令也一样

0

主题

4

回帖

0

牛值

江湖小虾

2025-2-14 13:42:27 显示全部楼层
root@liubang:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install'to correct these.
The following packages have unmet dependencies:
libigdgmm12 : Depends: libc6(>= 2.34)but it is not installed
Depends:libgcc-s1(>= 3.3.1)but it is not installed
Depends:libstdc++6(>= 4.1.1)but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)
.root@liubang:~#

0

主题

5

回帖

0

牛值

江湖小虾

2025-2-14 22:16:45 显示全部楼层
是的,我的也是这个问题·

0

主题

5

回帖

0

牛值

江湖小虾

2025-2-14 22:17:52 显示全部楼层
root@fnos254252:~# sudo apt update
Ign:1 https://pkg.ltec.ch/public focal InRelease                           
Ign:2 https://mirrors.tuna.tsinghua.edu.cn/debian bookworm InRelease      
Hit:3 https://mirrors.tuna.tsinghua.edu.cn/debian bookworm-updates InRelease            
Hit:4 https://mirrors.tuna.tsinghua.edu.cn/debian bookworm-backports InRelease
Hit:5 https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security InRelease
Hit:6 https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian bookworm InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/debian bookworm InRelease
Hit:1 https://pkg.ltec.ch/public focal InRelease   
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@fnos254252:~# sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libigdgmm12 : Depends: libc6 (>= 2.34) but it is not installed
               Depends: libgcc-s1 (>= 3.3.1) but it is not installed
               Depends: libstdc++6 (>= 4.1.1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@fnos254252:~# dpkg-query -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version      Architecture Description
+++-=========================-============-============-==========================================================
ii  kernel                    6.6.38-trim  all          TRIM NAS Kernel
iU  libigdgmm12:amd64         22.4.1       amd64        Intel Graphics Memory Management Library -- shared library
ii  linux-headers-6.6.38-trim 6.6.38       all          linux-headers-6.6.38-trim
ii  trim                      0.8.36       all          TRIM NAS
root@fnos254252:~# apt install libigdgmm12
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libigdgmm12 is already the newest version (22.4.1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libigdgmm12 : Depends: libc6 (>= 2.34) but it is not going to be installed
               Depends: libgcc-s1 (>= 3.3.1) but it is not going to be installed
               Depends: libstdc++6 (>= 4.1.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix

0

主题

1

回帖

0

牛值

江湖小虾

2025-3-2 10:02:43 显示全部楼层
同是这个问题,使用过apt upgrade命令

0

主题

1

回帖

0

牛值

江湖小虾

2025-3-22 10:05:24 显示全部楼层
请问一下这个问题咋解决的,我也有这个问题。
官方人员是提供了一段shell脚本让我运行来解决包冲突的问题,但可能是因为内含危险操作所以说不希望我把它公开发出来,你或许应该尝试到用户群里去找官方人员解决一下  详情 回复
2025-3-31 20:29

12

主题

18

回帖

0

牛值

fnOS系统内测组

2025-3-31 20:29:35 楼主 显示全部楼层
hk473119895 发表于 2025-3-22 10:05
请问一下这个问题咋解决的,我也有这个问题。

官方人员是提供了一段shell脚本让我运行来解决包冲突的问题,但可能是因为内含危险操作所以说不希望我把它公开发出来,你或许应该尝试到用户群里去找官方人员解决一下
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则