在sudo apt-get update
我尝试安装 sshpass 库之后
sudo apt-get install sshpass
但我收到此错误信息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
yate-alsa : Depends: yate-core (= 5.4.0-1-1ubuntu2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
我不知道那yate-core
是什么以及为什么我收到此错误消息。任何想法 ?
[更新]
运行后sudo apt-get install -f
我得到这个:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gstreamer0.10-gconf gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-pulseaudio gstreamer0.10-x libgstreamer-plugins-base0.10-0 libgstreamer0.10-0
libyate5.2.0 linux-headers-4.4.0-45 linux-headers-4.4.0-45-generic linux-headers-4.4.0-47 linux-headers-4.4.0-47-generic linux-headers-4.4.0-51
linux-headers-4.4.0-51-generic linux-headers-4.4.0-53 linux-headers-4.4.0-53-generic linux-headers-4.4.0-57 linux-headers-4.4.0-57-generic linux-headers-4.4.0-59
linux-headers-4.4.0-59-generic linux-image-4.2.0-42-generic linux-image-4.4.0-45-generic linux-image-4.4.0-47-generic linux-image-4.4.0-51-generic
linux-image-4.4.0-53-generic linux-image-4.4.0-57-generic linux-image-4.4.0-59-generic linux-image-extra-4.2.0-42-generic linux-image-extra-4.4.0-45-generic
linux-image-extra-4.4.0-47-generic linux-image-extra-4.4.0-51-generic linux-image-extra-4.4.0-53-generic linux-image-extra-4.4.0-57-generic
linux-image-extra-4.4.0-59-generic linux-signed-image-4.2.0-42-generic linux-signed-image-4.4.0-45-generic linux-signed-image-4.4.0-47-generic
linux-signed-image-4.4.0-51-generic linux-signed-image-4.4.0-53-generic linux-signed-image-4.4.0-57-generic linux-signed-image-4.4.0-59-generic ubuntu-core-launcher
yate-alsa yate-core
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
yate-core
The following NEW packages will be installed:
yate-core
0 upgraded, 1 newly installed, 0 to remove and 198 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,517 kB of archives.
After this operation, 5,920 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 443120 files and directories currently installed.)
Preparing to unpack .../yate-core_5.4.0-1-1ubuntu2_amd64.deb ...
Unpacking yate-core (5.4.0-1-1ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/yate-core_5.4.0-1-1ubuntu2_amd64.deb (--unpack):
trying to overwrite '/etc/yate/ysipchan.conf', which is also in package yate 5.5.1-ubuntu1-sico2~xenial
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/yate-core_5.4.0-1-1ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)