インストールできません (sudo apt --fix-broken install)

ヌーラス・ファティマ・アンサリ
$sudo apt --fix-broken install

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
      galera-3 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libjemalloc1
      libmysqlclient20 libreadline5 libterm-readkey-perl mariadb-common socat
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
      mysql-server-5.7
    Suggested packages:
      mailx tinyca
    The following NEW packages will be installed:
      mysql-server-5.7
    0 upgraded, 1 newly installed, 0 to remove and 313 not upgraded.
    2 not fully installed or removed.
    Need to get 0 B/3,196 kB of archives.
    After this operation, 48.3 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Preconfiguring packages ...
    (Reading database ... 192089 files and directories currently installed.)
    Preparing to unpack .../mysql-server-5.7_5.7.25-0ubuntu0.18.04.2_amd64.deb ...
    Failed to stop mysql.service: Unit mysql.service not loaded.
    invoke-rc.d: initscript mysql, action "stop" failed.
    invoke-rc.d returned 5
    There is a MySQL server running, but we failed in our attempts to stop it.
    Stop it yourself and try again!
    dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.7_5.7.25-0ubuntu0.18.04.2_amd64.deb (--unpack):
     new mysql-server-5.7 package pre-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
     /var/cache/apt/archives/mysql-server-5.7_5.7.25-0ubuntu0.18.04.2_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
ノーベルト

ダウンロードした deb-archive が壊れているようです。

で取り除きます

sudo rm /var/cache/apt/archives/mysql-server-5.7_5.7.25-0ubuntu0.18.04.2_amd64.deb

で再試行

sudo apt --fix-broken install

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

エラー: BrokenCount > 0 は「sudo apt --fix-broken install」を使用して解決できません

分類Dev

はい| apt-get install --fix-broken

分類Dev

apt --fix-broken install の実行中のアーカイブ処理エラー

分類Dev

apt --fix-broken install が機能せず、wine-stable のインストール後にパッケージ マネージャーが壊れる

分類Dev

apt --fix-broken install(libc6:amd64パッケージのインストール後)でスタック

分類Dev

sudo apt-get install&sudo apt-get -finstall戻りエラー

分類Dev

プログラム「******」は現在インストールされていません。次のように入力してインストールできます:sudo apt install '******'、すでにインストールされていますか?

分類Dev

apt-get install ubuntu-desktop--reinstallをsudoできません

分類Dev

apt --fix-broken インストールが解凍時に失敗する

分類Dev

`sudo apt-get -finstall`と` sudo apt-get install -f`の違いは何ですか?

分類Dev

`sudo apt-get -finstall`と` sudo apt-get install -f`の違いは何ですか?

分類Dev

apt-get `sudo apt-get install openblas-dev`を介してopenblasをインストールします

分類Dev

apt-get `sudo apt-get install openblas-dev`を介してopenblasをインストールします

分類Dev

apt-get `sudo apt-get install openblas-dev`を介してopenblasをインストールします

分類Dev

sudo apt-get install show unmetdependencies

分類Dev

sudo apt-get install npmerror

分類Dev

sudo apt install が使えない

分類Dev

「sudo apt install <anything>」 - ソースのリストを読み取れませんでした

分類Dev

E:サブプロセス/ usr / bin / dpkgは、sudo apt-get install --fix-missingの後にエラーコード(1)を返しました

分類Dev

What is the difference between sudo apt-get install and sudo apt install

分類Dev

sudo apt-get install & sudo apt-get -f install returning error

分類Dev

sudo apt get-install g ++アンメット依存関係

分類Dev

sudo apt-get -f installのエラー(ldconfigが見つかりません)

分類Dev

How to fix error while sudo apt-get upgrade

分類Dev

sudo apt-get install(パッケージ名)を使用すると、常にOracle Java13インストーラーが表示されます。ここでは何もできません。

分類Dev

sudo apt install firefoxdriver は何をしますか?

分類Dev

sudo apt-get -f installは正確に何をしますか?

分類Dev

sudo apt install -yは何をしますか?

分類Dev

sudo apt install python-certbot-nginx エラー ubuntu 18.04

Related 関連記事

  1. 1

    エラー: BrokenCount > 0 は「sudo apt --fix-broken install」を使用して解決できません

  2. 2

    はい| apt-get install --fix-broken

  3. 3

    apt --fix-broken install の実行中のアーカイブ処理エラー

  4. 4

    apt --fix-broken install が機能せず、wine-stable のインストール後にパッケージ マネージャーが壊れる

  5. 5

    apt --fix-broken install(libc6:amd64パッケージのインストール後)でスタック

  6. 6

    sudo apt-get install&sudo apt-get -finstall戻りエラー

  7. 7

    プログラム「******」は現在インストールされていません。次のように入力してインストールできます:sudo apt install '******'、すでにインストールされていますか?

  8. 8

    apt-get install ubuntu-desktop--reinstallをsudoできません

  9. 9

    apt --fix-broken インストールが解凍時に失敗する

  10. 10

    `sudo apt-get -finstall`と` sudo apt-get install -f`の違いは何ですか?

  11. 11

    `sudo apt-get -finstall`と` sudo apt-get install -f`の違いは何ですか?

  12. 12

    apt-get `sudo apt-get install openblas-dev`を介してopenblasをインストールします

  13. 13

    apt-get `sudo apt-get install openblas-dev`を介してopenblasをインストールします

  14. 14

    apt-get `sudo apt-get install openblas-dev`を介してopenblasをインストールします

  15. 15

    sudo apt-get install show unmetdependencies

  16. 16

    sudo apt-get install npmerror

  17. 17

    sudo apt install が使えない

  18. 18

    「sudo apt install <anything>」 - ソースのリストを読み取れませんでした

  19. 19

    E:サブプロセス/ usr / bin / dpkgは、sudo apt-get install --fix-missingの後にエラーコード(1)を返しました

  20. 20

    What is the difference between sudo apt-get install and sudo apt install

  21. 21

    sudo apt-get install & sudo apt-get -f install returning error

  22. 22

    sudo apt get-install g ++アンメット依存関係

  23. 23

    sudo apt-get -f installのエラー(ldconfigが見つかりません)

  24. 24

    How to fix error while sudo apt-get upgrade

  25. 25

    sudo apt-get install(パッケージ名)を使用すると、常にOracle Java13インストーラーが表示されます。ここでは何もできません。

  26. 26

    sudo apt install firefoxdriver は何をしますか?

  27. 27

    sudo apt-get -f installは正確に何をしますか?

  28. 28

    sudo apt install -yは何をしますか?

  29. 29

    sudo apt install python-certbot-nginx エラー ubuntu 18.04

ホットタグ

アーカイブ