Debianパッケージ「vlc-data」のため、「エラー:サブプロセスの貼り付けがシグナルで終了する(壊れたパイプ)」

Debianパッケージ「vlc-data」のため、「エラー:サブプロセスの貼り付けがシグナルで終了する(壊れたパイプ)」

私はDebian 9.1を使用しています。私のシステムに正しくアップグレードできないパッケージがあります:vlc-dataバージョン2.2.7-1〜deb8u1。これは明らかに必要なものですlibvlccore8。これは私が数ヶ月前に質問した内容の連続である可能性が高いです。この適切な除去はなぜそれほど広範な結果をもたらすのでしょうか?。しかし、問題を解決した後、問題が再び現れました。

残念ながら、これには大きな依存関係があるため、このパッケージが正しく機能するようにする必要があります。誰でも助けることができますか?パッケージリスト(sudo apt-get update)を更新した後、次のことを行いました。

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libvlccore8 : Depends: vlc-data (= 2.2.7-1~deb8u1) but 2.2.6-1~deb9u1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

実装提案に従った後、次のapt --fix-broken installような状況が発生しました。

The following additional packages will be installed:
  vlc-data
The following packages will be upgraded:
  vlc-data
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/5,906 kB of archives.
After this operation, 37.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Reading changelogs... Done
(Reading database ... 324197 files and directories currently installed.)
Preparing to unpack .../vlc-data_2.2.7-1~deb8u1_all.deb ...
Unpacking vlc-data (2.2.7-1~deb8u1) over (2.2.6-1~deb9u1) ...
dpkg: error processing archive /var/cache/apt/archives/vlc-data_2.2.7-1~deb8u1_all.deb (--unpack):
 trying to overwrite '/usr/share/locale/nl/LC_MESSAGES/vlc.mo', which is also in package vlc-l10n 2.2.6-1~deb9u1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/vlc-data_2.2.7-1~deb8u1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

これは /etc/apt/sources.list の出力です:

$ cat /etc/apt/sources.list
# 

# deb cdrom:[Debian GNU/Linux 8.8.0 _Jessie_ - Official amd64 NETINST Binary-1 20170506-14:10]/ jessie main

# deb cdrom:[Debian GNU/Linux 8.8.0 _Jessie_ - Official amd64 NETINST Binary-1 20170506-14:10]/ jessie main

deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main
deb-src http://ftp.us.debian.org/debian/ jessie-updates main
deb [arch=amd64] https://download.docker.com/linux/debian jessie stable
# deb-src [arch=amd64] https://download.docker.com/linux/debian jessie stable
deb http://download.virtualbox.org/virtualbox/debian jessie contrib
# deb-src http://download.virtualbox.org/virtualbox/debian jessie contrib

修正する:

実行後sudo dpkg -i --force-overwrite /var/cache/apt/archives/vlc-data_2.2.7-1~deb8u1_all.deb(コメントに基づいて)更新とアップグレードを試みましたが、結果は次のとおりです。

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Hmm, seems like the AutoRemover destroyed something which really
shouldn't happen. Please file a bug report against apt.

The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libavcodec-dev : Depends: libavcodec56 (<= 6:11.11-99) but it is not going to be installed or
                           libavcodec-extra-56 (<= 6:11.11-99) but it is not going to be installed
                  Depends: libavcodec56 (>= 6:11.11-1~deb8u1) but it is not going to be installed or
                           libavcodec-extra-56 (>= 6:11.11-1~deb8u1) but it is not going to be installed
                  Depends: libavresample-dev (= 6:11.11-1~deb8u1) but it is not going to be installed
 libavformat-dev : Depends: libavformat56 (= 6:11.11-1~deb8u1) but it is not going to be installed
 libavutil-dev : Depends: libavutil54 (= 6:11.11-1~deb8u1) but it is not going to be installed
 libfreerdp-plugins-standard : Depends: libavcodec56 (>= 6:11~beta1) but it is not going to be installed or
                                        libavcodec-extra-56 (>= 6:11.9) but it is not going to be installed
                               Depends: libavutil54 (>= 6:11~beta1) but it is not going to be installed
                               Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.22) but it is not going to be installed
                               Depends: libgstreamer0.10-0 (>= 0.10.24) but it is not going to be installed
 libquicktime2 : Depends: libavcodec56 (>= 6:11~beta1) but it is not going to be installed or
                          libavcodec-extra-56 (>= 6:11.8) but it is not going to be installed
                 Depends: libschroedinger-1.0-0 (>= 1.0.0) but it is not going to be installed
                 Depends: libswscale3 (>= 6:11~beta1) but it is not going to be installed
 libswscale-dev : Depends: libswscale3 (= 6:11.11-1~deb8u1) but it is not going to be installed
 python-samba : Depends: python-ntdb but it is not going to be installed
 samba-libs : Depends: libntdb1 (>= 1.0) but it is not going to be installed
 winbind : Depends: samba (= 2:4.2.14+dfsg-0+deb8u9) but it is not going to be installed
E: Internal Error, AutoRemover broke stuff

修正する

/etc/apt/sources.list.dすべてのソースを削除して実行すると、sudo dpkg -i --force-overwrite /var/cache/apt/archives/vlc-data_2.2.7-1~deb8u1_all.deb問題が解決したようです。 @GAD3R ありがとう

ベストアンサー1

おすすめ記事