Ubuntu 中的 Apt 问题

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

答案1

听起来你曾经在仅下载模式下下载了一些东西

apt-get install packageName –download-only

它失败了,所以你的 apt-get -f install 正在修复它。所以尝试按照你通常的 apt 使用方法,一切应该没问题

相关内容