我正在尝试安装asterisk -15.4.0
roman@romanPC:~/asterisk-install/asterisk-15.4.0$ sudo ./contrib/scripts/install_prereq install
在某些时候它说:
The following actions will resolve these dependencies:
Remove the following packages:
1) apturl
2) hwdata
3) libcurl4-gnutls-dev
4) nautilus-share
5) nvidia-prime
6) pciutils
7) software-properties-gtk
8) ubuntu-desktop
9) ubuntu-drivers-common
10) ubuntu-standard
和
The following packages will be REMOVED:
apturl{a} bbswitch-dkms{u} hwdata{a} libcurl4-gnutls-dev{a} nautilus-share{a} nvidia-prime{a}
pciutils{a} software-properties-gtk{a} ubuntu-desktop{a} ubuntu-drivers-common{a}
ubuntu-standard{a}
并进一步
Removing hwdata (0.267-1) ...
Removing libcurl4-gnutls-dev:amd64 (7.47.0-1ubuntu2.7) ...
Removing ubuntu-standard (1.361.1) ...
Removing ubuntu-desktop (1.361.1) ...
Removing software-properties-gtk (0.96.20.7) ...
Removing ubuntu-drivers-common (1:0.4.17.7) ...
Removing pciutils (1:3.3.1-1.1ubuntu1.1) ...
那样行吗?为什么一定要删除ubuntu-desktop之类的包?我应该担心吗?我应该解决这个问题还是不理会它?
我的操作系统:Ubuntu 16.04.4 LTS
它还说(我不知道,也许这有帮助):
The following packages were automatically installed and are no longer required:
linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic linux-headers-4.13.0-37
linux-headers-4.13.0-37-generic linux-headers-4.4.0-119 linux-headers-4.4.0-119-generic
linux-image-4.13.0-36-generic linux-image-4.13.0-37-generic linux-image-4.4.0-119-generic
linux-image-extra-4.13.0-36-generic linux-image-extra-4.13.0-37-generic
linux-image-extra-4.4.0-119-generic
这是整个日志。谢谢。
这只是昨晚发生在我身上,似乎防止这种情况的最好方法是 在运行 install_prereq 脚本之前运行
apt-get update
。apt-get upgrade
就我而言,我认为它删除了我的网络管理器,因为尝试重新安装已删除的软件包给了我错误。可能可以从 apt-get 缓存重新安装,但我将使用我原来的安装 CD 进行修复。
已记录类似问题:
contrib/scripts/install_prereq can remove ssh daemon on ubuntu
network-manager uninstalled on ubuntu desktop 14.04