我最近安装了 Ubuntu 16.10。这是全新安装,而不是升级。我不确定我做了什么,但是当我使用apt
安装包时,最后打印出以下错误:
Processing triggers for libc-bin (2.24-3ubuntu2) ... /sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libgstallocators-1.0.so.0 is not an ELF file
- it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libgstallocators-1.0.so.0.803.0 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0.803.0 is not an ELF file
- it has the wrong magic bytes at the start.
我怀疑这会导致我正在使用的某些应用程序出现问题,但我不知道如何在重新安装所有内容的情况下修复它。我能做些什么 ?
答案1
重新安装提供这些文件的软件包应该可以解决问题:
sudo apt-get --reinstall install libgstreamer-plugins-base1.0-0