apt update messed up after crash

robert robert at redcor.ch
Tue Mar 27 20:33:12 UTC 2018


Hi there,

during a manual apt update on a remote box, the terminal crashed.

No I can not run apt upgrade animore.

This is what I get when issuing

apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer 
required:
   linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic 
linux-image-4.4.0-109-generic linux-image-extra-4.4.0-109-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
.....

dpkg: error processing package php7.0-xml (--configure):
  dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-common-bin:
  samba-common-bin depends on samba-common (= 
2:4.3.11+dfsg-0ubuntu0.16.04.13); however:
   Package samba-common is not configured yet.

dpkg: error processing package samba-common-bin (--configure):
  dependency problems - leaving unconfigured
Errors were encountered while processing:
  grub-pc
  samba-common
  apparmor
  clamav-freshclam
  clamav
  clamav-daemon
  dovecot-core
  dovecot-sieve
  dovecot-managesieved
  dovecot-imapd
  dovecot-mysql
  dovecot-pop3d
  php7.0-common
  php7.0-json
  php7.0-opcache
  php7.0-readline
  php7.0-cli
  libapache2-mod-php7.0
  mail-stack-delivery
  php7.0-cgi
  php7.0
  php7.0-curl
  php7.0-mbstring
  php7.0-mysql
  php7.0-xml
  samba-common-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

any info how to proceed is very much appreciated

thanks

robert






More information about the ubuntu-users mailing list