在Ubuntu的Apt问题

当我运行这个命令时,它不安装软件包,如下面最后一行所示。

apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: apache2-mpm-prefork libapache2-mod-php5 Suggested packages: php-pear The following packages will be REMOVED: apache2-mpm-worker The following NEW packages will be installed: apache2-mpm-prefork libapache2-mod-php5 0 upgraded, 2 newly installed, 1 to remove and 4 not upgraded. 1 not fully installed or removed. Need to get 2,836kB/2,839kB of archives. After this operation, 7,746kB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://in.archive.ubuntu.com/ubuntu/ lucid-updates/main libapache2-mod-php5 5.3.2-1ubuntu4.10 [2,836kB] Fetched 2,836kB in 3s (785kB/s) Download complete and in download only mode 

听起来像你一次只下载模式下载的东西

 apt-get install packageName –download-only 

它失败了,所以你的apt-get -f安装正在修复它。所以尝试去平常的使用情况,事情应该没问题