Rah*_*tal 8 apt dpkg apache2 14.04
我试图在卸载 apache 2 后重新安装它。但是在使用命令安装它时-
sudo apt-get install apache2
我收到错误-
rahul@rahulpc:~$ sudo apt-get install apache2
[sudo] password for rahul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version.
The following packages were automatically installed and are no longer required:
libblas3 liblinear-tools liblinear1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 474 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up javascript-common (11) ...
dpkg: error processing package javascript-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
javascript-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
我想我在卸载 apache 2 时删除了一些重要的目录。有人请帮我恢复文件并安装 apache 2.
删除 javascript common 并再次重新安装:
sudo apt-get purge javascript-common
sudo apt-get install javascript-common
Run Code Online (Sandbox Code Playgroud)
然后安装包。
来源: http: //ubuntuforums.org/showthread.php? t=2232128
| 归档时间: |
|
| 查看次数: |
15413 次 |
| 最近记录: |