有时,当我安装东西时,我会收到如下错误:
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:
package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?
package-management apt ppa dependencies software-installation
在尝试为我的 NVidia 1050M 安装驱动程序时,我遇到了覆盖另一个包创建的文件的问题。
~$ sudo apt-get install nvidia-390
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libbsd0:i386 libffi6:i386 libgl1:i386 libglvnd0:i386 libglx0:i386 libnvidia-cfg1-390 libnvidia-fbc1-390 libnvidia-fbc1-390:i386 libnvidia-gl-390:i386
libnvidia-ifr1-390 libnvidia-ifr1-390:i386 libwayland-client0:i386 libwayland-server0:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386
libxext6:i386 nvidia-dkms-390 nvidia-kernel-common-390 nvidia-kernel-source-390
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
nvidia-390
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
113 …Run Code Online (Sandbox Code Playgroud)