Not able to install or update the packages
I wanted to update php from 5.3 to 5.6. If I ran any command following error message comes:
developer@
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-server : Depends: linux-image-
linux-server : Depends: linux-headers-
E: Unmet dependencies. Try using -f.
I tried to follow this solution but it didn't solve the problem:
https:/
Following are the helpful details:
1. uname -a
Linux ubuntu 3.2.0-74-generic #109-Ubuntu SMP Tue Dec 9 16:45:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
2. lsb_release -crid
Distributor ID : Ubuntu
Description : Ubuntu 12.04.2 LTS
Release : 12.04
Codename : precise
3. df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/
udev 992M 8.0K 992M 1% /dev
tmpfs 201M 252K 201M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1002M 0 1002M 0% /run/shm
/dev/sda1 228M 30M 187M 14% /boot
4. df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/
udev 253808 438 253370 1% /dev
tmpfs 256454 327 256127 1% /run
none 256454 5 256449 1% /run/lock
none 256454 1 256453 1% /run/shm
/dev/sda1 124496 208 124288 1% /boot
5. dpkg -l | grep linux-h
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-headers-
6. dpkg -l | grep linux-i
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
iF linux-image-
iU linux-image-server 3.2.0.75.89 Linux kernel image on Server Equipment.
7. sudo dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
linux-image-server Linux kernel image on Server Equipment.
linux-server Complete Linux kernel on Server Equipment.
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
linux-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Amar Myana
- Solved:
- Last query:
- Last reply: