Error when trying to apt-get upgrade - Ask Ubuntu


i'm getting errors when trying update ubuntu 14.04

root@ts3:~# apt-get upgrade reading package lists... done building dependency tree reading state information... done calculating upgrade... done following packages have been kept back:   linux-generic linux-headers-generic linux-image-generic following packages upgraded:   accountsservice apache2 apache2-bin apache2-data apport apt   apt-transport-https apt-utils bind9-host curl dbus-x11 dnsutils dosfstools   dpkg-dev fontconfig grub-common grub-pc grub-pc-bin grub2-common imagemagick   initramfs-tools initramfs-tools-bin isc-dhcp-client isc-dhcp-common   klibc-utils libaccountsservice0 libapache2-mod-php5 libapt-inst1.5   libapt-pkg4.12 libbind9-90 libcurl3 libcurl3-gnutls libdns100 libdpkg-perl   libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-0:i386 libgdk-pixbuf2.0-common   libisc95 libisccc90 libisccfg90 libklibc liblwres90 libnl-3-200   libnl-genl-3-200 libpython3.4 libpython3.4-minimal libpython3.4-stdlib   libssl1.0.0 linux-firmware linux-libc-dev lsb-release multiarch-support   mysql-server-5.5 ntpdate openssh-client openssl php5 php5-cli php5-common   php5-gd php5-mysql php5-readline python-pip python-pip-whl python3-apport   python3-problem-report python3-update-manager python3.4 python3.4-minimal   sudo update-manager-core update-notifier-common wget 74 upgraded, 0 newly installed, 0 remove , 3 not upgraded. 19 not installed or removed. need 0 b/60.5 mb of archives. after operation, 37.0 mb of additional disk space used. want continue? [y/n] y extracting templates packages: 100% preconfiguring packages ... dpkg: warning: files list file package 'openssh-client' missing; assuming package has no files installed (reading database ... 102123 files , directories installed.) preparing unpack .../mysql-server-5.5_5.5.53-0ubuntu0.14.04.1_amd64.deb ... /var/lib/dpkg/info/mysql-server-5.5.prerm: line 12: invoke-rc.d: command not found dpkg: warning: subprocess old pre-removal script returned error exit status 127 dpkg: trying script new package instead ... /var/lib/dpkg/tmp.ci/prerm: line 12: invoke-rc.d: command not found dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.53-0ubuntu0.14.04.1_amd64.deb (--unpack):  subprocess new pre-removal script returned error exit status 127 stop: unknown instance: /var/lib/dpkg/info/mysql-server-5.5.postinst: line 288: invoke-rc.d: command not found dpkg: error while cleaning up:  subprocess installed post-installation script returned error exit status 127 errors encountered while processing:  /var/cache/apt/archives/mysql-server-5.5_5.5.53-0ubuntu0.14.04.1_amd64.deb e: sub-process /usr/bin/dpkg returned error code (1) root@ts3:~# 

anybody got idea what's going wrong?


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User