Results 1 to 2 of 2

Thread: installed mariadb-server-10.1 package pre-removal script subprocess returned error exit status 4

  1. #1
    Join Date
    2013-Oct
    Posts
    3

    Exclamation installed mariadb-server-10.1 package pre-removal script subprocess returned error exit status 4

    Hi Kali Fans

    Today i wanted to upgrade my Kali from 2018.4 to latest one 2019.3, and all passed fine except this error that i get when i run update and upgrade command.

    Code:
    Removing mariadb-server-10.1 (1:10.1.35-1) ...
    Failed to stop mariadb.service: Access denied
    See system logs and 'systemctl status mariadb.service' for details.
    dpkg: error processing package mariadb-server-10.1 (--remove):
     installed mariadb-server-10.1 package pre-removal script subprocess returned error exit status 4
    dpkg: too many errors, stopping
    Failed to reload daemon: Access denied
    Failed to reload daemon: Access denied
    Failed to get unit file state for mariadb.service: Access denied
    Failed to retrieve unit state: Access denied
    mariadb.service is a disabled or a static unit, not starting it.
    Errors were encountered while processing:
     mariadb-server-10.1
    Processing was halted because there were too many errors.
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Any help how to fix this? Thanks

  2. #2
    Join Date
    2019-Dec
    Posts
    1
    I'm faced with the same problem. Any help will be appreciated

Similar Threads

  1. Replies: 2
    Last Post: 2020-04-29, 11:05
  2. Kali upgrade error - subprocess new pre-removal script
    By SCSIJumper in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-05-17, 17:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •