Problem with the synaptic package manager

Solved
Hello, I have a problem on my Linux.

I wanted to switch my LibreOffice version to French but it didn’t work, so I tried to uninstall and reinstall.

However, when trying to open the Synaptic package manager I get this message:

An error occurred, the following details are given: E: dpkg has been interrupted. It is necessary to use "dpkg --configure -a" to correct the problem. E: _cache->open() failed, please report.

I tried the command:

dpkg --configure-a

in the terminal (LXTerminal) but:

dpkg: error: unknown option --configure-a

Please, I would need help to be able to open the Synaptic package manager to manage my software.

3 answers

  1. Hello,

    "dpkg: error: unknown option --configure-a"

    You forgot the space between --configure and -a

    dpkg --configure -a

    Have you installed the package libreoffice-l10n-fr?

    1
    1. Type sudo dpkg --configure -a

      Enter your password (nothing will be displayed, that's normal) then install the missing language pack for LibreOffice from Synaptic or from the command line:

      sudo apt update

      sudo apt install libreoffice-l10n-fr

      1
      1. Oh thank you very much, it worked

        0
    2. No, it doesn’t seem like I’ve installed this package. Would you have a link?

      With the space between --configure and -a, the terminal sends me this:

      "dpkg: error: the requested operation requires superuser privileges"

      0
      1. See the message #3

        0
      2. Moderator
        @jns55

        To be precise, sudo is missing. So as indicated in the message #3 :

        sudo dpkg --configure -a
        • sudo: run with administrative privileges
        • dpkg: the Debian package manager
        • --configure: to configure
        • -a: all packages (installed or partially installed)

        Good luck

        0