Gallium OS(Ubuntuベース)を更新しようとしましたが、エラーメッセージが表示されます。どんな助けでも大変感謝します。以下のエラーメッセージのスクリーンショットをご覧ください。
端末で実行するsudo apt-get -f install
と、次のメッセージが表示されます。
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libssl1.0.0:i386
The following packages will be upgraded:
libssl1.0.0:i386
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,106 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 193560 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.2d-0ubuntu1.5-galliumos0_i386.deb ...
Unpacking libssl1.0.0:i386 (1.0.2d-0ubuntu1.5-galliumos0) over (1.0.2d-0ubuntu1.4-galliumos0) ...
dpkg: error processing archive /var/cache/apt/archives/libssl1.0.0_1.0.2d-0ubuntu1.5-galliumos0_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libssl1.0.0/changelog.Debian.gz', which is different from other instances of package libssl1.0.0:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libssl1.0.0_1.0.2d-0ubuntu1.5-galliumos0_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
答え1
考えられる解決策は、ディレクトリの名前を変更し、次のように強制的にインストールすることです。
sudo mv /usr/share/doc/libssl1.0.0 /usr/share/doc/libssl1.0.0.backup
sudo apt-get -f install
または、問題が解決する可能性があります。
apt-get install libssl1.0.0 libssl1.0.0:i386