apt-get install-fでも壊れたapt-getの問題

mh00h

これが問題です。epsonスキャナー用の.deb(http://download.ebz.epson.net/dsc/search/01/search/searchModuleをインストールしようとしましたが、amd64バージョンではなくi386を誤ってインストールしました。

今、私は次の問題を抱えています。dpkgを使用してアンインストールまたはパージしようとすると、同じ問題が発生します。

sudo apt-get autoremove
[sudo] password for ***: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 iscan-plugin-gt-x770 : Depends: iscan (>= 2.16.1) but it is not installable
 iscan-plugin-gt-x820 : Depends: iscan (>= 2.22.0) but it is not installable
E: Unmet dependencies. Try using -f.
➜  ~  sudo apt-get install -f
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:
... libreoffice-java-common...linux-image-extra-3.11.0-13-generic linux-image-extra-3.11.0-14-generic
  linux-image-extra-3.11.0-15-generic lp-solve openjdk-7-jre-lib swig swig2.0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  iscan-plugin-gt-x770 iscan-plugin-gt-x820
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
After this operation, 926 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 693386 files and directories currently installed.)
Removing iscan-plugin-gt-x770 ...
/var/lib/dpkg/info/iscan-plugin-gt-x770.prerm: 4: /var/lib/dpkg/info/iscan-plugin-gt-x770.prerm: iscan-registry: not found
dpkg: error processing iscan-plugin-gt-x770 (--remove):
 subprocess installed pre-removal script returned error exit status 127
No apport report written because MaxReports is reached already
                                                              /var/lib/dpkg/info/iscan-plugin-gt-x770.postinst: 4: /var/lib/dpkg/info/iscan-plugin-gt-x770.postinst: iscan-    registry: not found
Removing iscan-plugin-gt-x820 ...
/var/lib/dpkg/info/iscan-plugin-gt-x820.prerm: 4: /var/lib/dpkg/info/iscan-plugin-    gt-x820.prerm: iscan-registry: not found
dpkg: error processing iscan-plugin-gt-x820 (--remove):
subprocess installed pre-removal script returned error exit status 127
No apport report written because MaxReports is reached already
                                                              /var/lib/dpkg/info/iscan-plugin-gt-x820.postinst: 4: /var/lib/dpkg/info/iscan-plugin-gt-x820.postinst: iscan-    registry: not found

Errors were encountered while processing:
 iscan-plugin-gt-x770
 iscan-plugin-gt-x820
E: Sub-process /usr/bin/dpkg returned an error code (1)
ハビアー・ロペス

試してみてください:

echo | sudo tee /var/lib/dpkg/info/iscan-plugin-gt-x770.prerm
echo | sudo tee /var/lib/dpkg/info/iscan-plugin-gt-x820.prerm

その後:

sudo apt-get install -f

上記のコマンドは、パッケージの削除前のスクリプトを空にするため、アンインストーラーが正しく終了します。

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

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

編集
0

コメントを追加

0

関連記事

分類Dev

apt-get -finstallの問題

分類Dev

壊れたパッケージを修正できません(apt-get -f installが機能しません)

分類Dev

Is apt-get -f install safe?

分類Dev

Is apt-get -f install safe?

分類Dev

apt-get install vs pip install

分類Dev

DebianJessieでのapt-getの問題

分類Dev

apt-get -f installは安全ですか?

分類Dev

apt-get -f installは安全ですか?

分類Dev

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

分類Dev

apt-get install ubuntu-desktop; それで?

分類Dev

How to install suggested packages in apt-get

分類Dev

Is it possible to undo an apt-get install command?

分類Dev

sudo apt-get install show unmetdependencies

分類Dev

apt-get install tzdata noninteractive

分類Dev

Apt-Get Dependencies Won't Install

分類Dev

sudo apt-get install npmerror

分類Dev

apt-get install not work at all

分類Dev

Ubuntu - Apt-get Install failure

分類Dev

apt get install one package from sid

分類Dev

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

分類Dev

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

分類Dev

Broken apt-get issue even with apt-get install -f

分類Dev

Does `apt-get install` install dependencies of dependencies?

分類Dev

apt-get install python-xxx vs pip install

分類Dev

easy_install / pipまたはapt-get

分類Dev

Apt install vs apt-get install. Does they do the same task?

分類Dev

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

分類Dev

Apt-get remove python〜150Mb / apt-get install python 687kb

分類Dev

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

Related 関連記事

ホットタグ

アーカイブ