Can't update packages.

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Wit_Huntybee
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Mar 11, 2014 9:16 pm

Can't update packages.

Post by Wit_Huntybee »

Hello! I'm currently having some problems. I'm trying to update my PHP to version 5.5 from 5.3 but whenever I run the command "sudo apt-get install php5" it gives this error

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
initramfs-tools : Depends: initramfs-tools-bin (< 0.99ubuntu13.1.1~) but 0.99ubuntu13.4 is to be installed
php5 : Depends: libapache2-mod-php5 (>= 5.5.9+dfsg-1+sury.org~precise+1) but 5.3.10-1ubuntu3.8 is to be installed or
libapache2-mod-php5filter (>= 5.5.9+dfsg-1+sury.org~precise+1) but it is not going to be installed or
php5-cgi (>= 5.5.9+dfsg-1+sury.org~precise+1) but it is not going to be installed or
php5-fpm (>= 5.5.9+dfsg-1+sury.org~precise+1) but it is not going to be installed
Depends: php5-common (>= 5.5.9+dfsg-1+sury.org~precise+1) but 5.3.10-1ubuntu3.8 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I run "apt-get -f install" and this pops up.


dpkg: dependency problems prevent configuration of initramfs-tools:
initramfs-tools depends on initramfs-tools-bin (<< 0.99ubuntu13.1.1~); however:
Version of initramfs-tools-bin on system is 0.99ubuntu13.4.
dpkg: error processing initramfs-tools (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apparmor:
apparmor depends on initramfs-tools; however:
Package initramfs-tools is not configured yet.
dpkg: error processing apparmor (--configure):No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.

dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-3.2.0-49-lowlatency:
linux-image-3.2.0-49-lowlatency depends on initramfs-tools (>= 0.36ubuntu6); however:
Package initramfs-tools is not configured yet.
dpkg: error processing linux-image-3.2.0-49-lowlatency (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-lowlatency:
linux-image-lowlatency depends on linux-image-3.2.0-49-lowlatency; however:
Package linux-image-3.2.0-49-lowlatency is not configured yet.
dpkg: error processing linux-image-lowlatency (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-lowlatency:
linux-lowlatency depends on linux-image-lowlatency (= 3.2.0.49.38); however:
Package linux-image-lowlatency is not configured yet.
dpkg: error processing linux-lowlatency (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Errors were encountered while processing:
initramfs-tools
apparmor
linux-image-3.2.0-49-lowlatency
linux-image-lowlatency
linux-lowlatency
E: Sub-process /usr/bin/dpkg returned an error code (1)


Do you know why this is happening?

Thanks,
Hunter
$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: Can't update packages.

Post by $atanic $pirit »

You sure your repository mirrors are correct? Try apt-get update command and see if that works. I have had a similar issue before, but I wasn't able to solve it.

If someone can find a fix please let me know.
Image
furntree
Compulsive poster
Compulsive poster
Posts: 74
Joined: Fri May 24, 2013 7:41 pm

Re: Can't update packages.

Post by furntree »

Is there any particular reason you are using the low latency kernel? Generally this is for intensive audio applications such as JACK audio.
Post Reply