apt-get升级期间的错误

使用sudo apt-get update; sudo apt-get upgrade sudo apt-get update; sudo apt-get upgrade ,我总是收到以下错误消息(有时不止一次):

 Processing triggers for libc-bin ... ldconfig deferred processing now taking place /sbin/ldconfig.real: /usr/lib32/libstdc++.so.6.0.18-gdb.py is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig.real: /usr/lib/libisl.so.10.1.1-gdb.py is not an ELF file - it has the wrong magic bytes at the start. 

这是什么意思(我的意思是如何将python源文件变为ELF)? 我该如何解决这个问题? 谢谢。


附加信息:

我使用zsh而不是bash 。 这是shell兼容性问题吗?

我不认为这是一个shell问题。 但是,我确实看到其他人也有这个问题 – 甚至还有一个错误报告 。 显然,文件最终在/usr/lib ,当ldconfig尝试处理它们时,它自然会失败。 但是,既然这只是一个警告,也许你不应该担心它? 或者,您可以尝试将它们移动到某个位置的临时位置,并查看它从何处获取。

尝试确定这个文件属于哪个包(例如使用apt-file search "libisl.so.10.1.1-gdb.py" ;我认为它可能是libisl8-dbg – 你需要这个包吗?),以及检查包本身(或依赖于该包的包)是否运行没有问题。 不幸的是,你没有提到你正在使用的Ubuntu版本。