收起左侧

更新失败,V0.9.27

9
回复
527
查看
[ 复制链接 ]

1

主题

4

回帖

0

牛值

江湖小虾

2025-9-18 21:33:05 显示全部楼层 阅读模式
悬赏1飞牛币未解决

python3-pkg-resources更新失败
cea35dfd-aa6e-41fc-8644-27ed045c87ed.png

附件: 您需要 登录 才可以下载或查看,没有账号?立即注册
收藏
送赞
分享

本帖子中包含更多资源

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

x

63

主题

4794

回帖

925

牛值

共建版主

社区上线纪念勋章社区共建团荣誉勋章飞牛百度网盘玩家fnOS1.0上线纪念勋章

2025-9-18 22:06:41 显示全部楼层

看看这个帖子:https://club.fnnas.com/forum.php?mod=viewthread&tid=33052&extra=page%3D1

2

主题

4

回帖

0

牛值

江湖小虾

2025-9-18 22:14:44 显示全部楼层

有几个包给定的版本安装不了,手动apt install

1

主题

4

回帖

0

牛值

江湖小虾

2025-9-19 08:37:13 楼主 显示全部楼层

运行apt install python3-pkg-resources=66.1.1-1+deb12u1,还是不行呀

root@fnOS:~# apt install python3-pkg-resources=66.1.1-1+deb12u1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pkg-resources is already the newest version (66.1.1-1+deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python3 (3.11.2-1+b1) ...
running python rtupdate hooks for python3.11...
Traceback (most recent call last):
File "/usr/bin/py3clean", line 210, in
main()
File "/usr/bin/py3clean", line 196, in main
pfiles = set(dpf.from_package(options.package))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/python3/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of dpdk
error running python rtupdate hook dpdk
Traceback (most recent call last):
File "/usr/bin/py3clean", line 210, in
main()
File "/usr/bin/py3clean", line 196, in main
pfiles = set(dpf.from_package(options.package))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/python3/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of libglib2.0-dev-bin
error running python rtupdate hook libglib2.0-dev-bin
dpkg: error processing package python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
dpkg: dependency problems prevent configuration of apt-listchanges:
apt-listchanges depends on python3:any (>= 3.7~); however:
Package python3 is not configured yet.

dpkg: error processing package apt-listchanges (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pkg-resources:
python3-pkg-resources depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-pkg-resources (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-apt:
python3-apt depends on python3 (<< 3.12); however:
Package python3 is not configured yet.
python3-apt depends on python3 (>= 3.11~); however:
Package python3 is not configured yet.
python3-apt depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-apt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-debconf:
python3-debconf depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-debconf (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3
apt-listchanges
python3-pkg-resources
python3-apt
python3-debconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@fnOS:~#

昨晚跟着gpt修好了: 1. download apt-get download apt-listchanges dpdk 2. unpack dpkg --unpack ./apt-listchanges_.deb ./dpdk_.deb 3. configure 关键包 dpkg --configure python3 python3-pkg-resources 4  详情 回复
2025-9-19 11:31
我和你这个一样的问题  详情 回复
2025-9-19 09:20

2

主题

15

回帖

0

牛值

fnOS系统内测组

2025-9-19 09:20:11 显示全部楼层
18091283551 发表于 2025-9-19 08:37
运行apt install python3-pkg-resources=66.1.1-1+deb12u1,还是不行呀
root@fnOS:~# apt install python3- ...

我和你这个一样的问题

0

主题

4

回帖

0

牛值

江湖小虾

2025-9-19 10:35:39 显示全部楼层

问题一样,手动安装不行,python3-pkg-resources=66.1.1-1+deb12u1

3

主题

74

回帖

0

牛值

初出茅庐

2025-9-19 11:31:15 显示全部楼层
[quote][size=2][url=forum.php?mod=redirect&goto=findpost&pid=176140&ptid=37951][color=#999999]18091283551 发表于 2025-9-19 08:37[/color][/url][/size] 运行apt install python3-pkg-resources=66.1.1-1+deb12u1,还是不行呀 root@fnOS:~# apt install python3- ...[/quote]

昨晚跟着gpt修好了:

1. download

apt-get download apt-listchanges dpdk

2. unpack

dpkg --unpack ./apt-listchanges_.deb ./dpdk_.deb

3. configure 关键包

dpkg --configure python3 python3-pkg-resources

4. 完成依赖补齐

apt -f install
dpkg --configure -a

1

主题

4

回帖

0

牛值

江湖小虾

2025-9-19 12:48:21 楼主 显示全部楼层

还是不行呀,dpkg --unpack ./apt-listchanges_.deb ./dpdk_.deb这条命令出错

0

主题

5

回帖

0

牛值

江湖小虾

2025-9-19 16:32:57 显示全部楼层

我更新了也不行还是更新错误,

1

主题

4

回帖

0

牛值

江湖小虾

2025-9-19 18:11:29 楼主 显示全部楼层

执行这个命令curl http://static2.fnnas.com/aptfix/fixapt.sh | bash,后重启NAS,系统中重新更新2次就好了

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则