Tengo un servidor Ubuntu 14.04.4 LTS. Versión del php: PHP 5.5.9-1ubuntu4.20 (cli) Quiero instalar php5-pgsql, uso el siguiente comando:
sudo apt-get install php5-pgsql
Me tira el siguiente error
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-extra-3.13.0-106-generic : Depends: linux-image-3.13.0-106-generic but it is not going to be installed linux-image-generic : Depends: linux-image-3.13.0-106-generic but it is not going to be installed php5-pgsql : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.21) but 5.5.9+dfsg-1ubuntu4.20 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
He intentado con:
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get dist-upgrade
Pero cuando ejecuto sudo apt-get autoremove Me dice casi lo mismo:
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-extra-3.13.0-106-generic : Depends: linux-image-3.13.0-106-generic but it is not installed linux-image-generic : Depends: linux-image-3.13.0-106-generic but it is not installed E: Unmet dependencies. Try using -f.
Al ejecutar
sudo apt-get -f install
(Reading database ... 550803 files and directories currently installed.) Preparing to unpack .../linux-image-3.13.0-112-generic_3.13.0-112.159_amd64.deb ... Done.
Unpacking linux-image-3.13.0-112-generic (3.13.0-112.159) ... dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-112-generic_3.13.0-112.159_amd64.deb (--unpack): cannot copy extracted data for './boot/vmlinuz-3.13.0-112-generic' to '/boot/vmlinuz-3.13.0-112-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic Preparing to unpack .../linux-image-3.13.0-106-generic_3.13.0-106.153_amd64.deb ... Done.
Unpacking linux-image-3.13.0-106-generic (3.13.0-106.153) ... dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-106-generic_3.13.0-106.153_amd64.deb (--unpack): cannot copy extracted data for './boot/System.map-3.13.0-106-generic' to '/boot/System.map-3.13.0-106-generic.dpkg-new': failed to write (No space left on device) No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-106-generic /boot/vmlinuz-3.13.0-106-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-106-generic /boot/vmlinuz-3.13.0-106-generic
Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.13.0-112-generic_3.13.0-112.159_amd64.deb /var/cache/apt/archives/linux-image-3.13.0-106-generic_3.13.0-106.153_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)