I am constantly getting the following error message:

sudo apt install zoneminder
ERROR 1133 (42000) at line 1: Can't find any matching row in the user table
dpkg: error processing package zoneminder (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up zoneminder-doc (1.30.4-xenial1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have tried the following to clean "1 not fully installed or removed"

  1. sudo apt-get --force-yes remove zoneminder
  2. apt-get autoremove
  3. sudo apt-get -f install zoneminder
    (same dpkg error after)

closed as unclear what you're asking by David Foerster, George Udosen, user68186, Elder Geek, Eric Carvalho Feb 26 '18 at 23:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    The Can't find any matching row in the user table line looks like a MySQL (or similar) database query error. Also, could you please edit your question and include the complete output of your apt command, not just that snippet? – Byte Commander May 19 '17 at 18:38
  • It is having problems connect to the mysql database, are you using msyql for other uses on this machine? upsteam source – gdahlm May 19 '17 at 20:58
dpkg --configure apt

That should do the trick. It seems to me that your Package Manager isn't configured probably, And the command that is proposed above should do that.

  • 3
    I think you should explain you answer a little bit more, pointing to the source of the issue and why your command needs to be run. – dgonzalez May 19 '17 at 16:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.