0

When I run this command, its not installing the packages, as indicated on the last line below.

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
3
  • What are you trying to install? Nov 22, 2011 at 14:27
  • I am trying to install libapache2-mod-php5 Nov 23, 2011 at 4:40
  • Its downloading the packages, but not getting installed. the packages are kept in /var/cache/apt/archives/ but not getting installed, when give apt-get install <packages name> as you see in the question its showing Do you want to continue [Y/n]? Y Download complete and in download only mode Nov 23, 2011 at 5:36

1 Answer 1

1

sounds like at one time you downloaded something in download only mode like

apt-get install packageName –download-only

It failed so your apt-get -f install was fixing it.. So try to go about your usual apt usage and things should be ok

6
  • Its downloading the packages, but not getting installed. the packages are kept in /var/cache/apt/archives/ but not getting installed, when give apt-get install <packages name> as you see in the question its showing Do you want to continue [Y/n]? Y Download complete and in download only mode Nov 23, 2011 at 5:34
  • in your example you are doing an apt-get -f install
    – Mike
    Nov 23, 2011 at 5:58
  • Yes! After doing that the package is not getting installed, its getting stored in /var/cache/apt/archives/ but its not installing. Nov 23, 2011 at 12:38
  • try going into that dir and dpkg -i packageName.deb
    – Mike
    Nov 23, 2011 at 13:40
  • Showing this below error. dpkg -i libgd2-xpm_2.0.36~rc1~dfsg-3.1ubuntu1_i386.deb dpkg: regarding libgd2-xpm_2.0.36~rc1~dfsg-3.1ubuntu1_i386.deb containing libgd2-xpm: libgd2-xpm conflicts with libgd2 libgd2-noxpm provides libgd2 and is present and installed. dpkg: error processing libgd2-xpm_2.0.36~rc1~dfsg-3.1ubuntu1_i386.deb (--install): conflicting packages - not installing libgd2-xpm Errors were encountered while processing: libgd2-xpm_2.0.36~rc1~dfsg-3.1ubuntu1_i386.deb Nov 24, 2011 at 5:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .