web-dev-qa-db-ja.com

「dpkg:エラー処理アーカイブ/var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_AMD64.deb」の解決方法

更新マネージャーに問題があります。通常のインストールで取得できます:

~$ Sudo apt-get install
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:
ffmpeg : Depends: libvdpau1 (>= 0.2) but it is not installed
mesa-vdpau-drivers : Depends: libvdpau1 but it is not installed
vdpau-va-driver : Depends: libvdpau1 (>= 0.2) but it is not installed
E: Unmet dependencies. Try using -f.

推奨オプション:

~$ Sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
 libvdpau1
The following NEW packages will be installed:
 libvdpau1
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
6 not fully installed or removed.
Need to get 0 B/25,5 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 235502 files and directories currently installed.)
Preparing to unpack .../libvdpau1_1.1.1-3ubuntu1_AMD64.deb ...
Unpacking libvdpau1:AMD64 (1.1.1-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_AMD64.deb (--unpack):
 trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:AMD64
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

誰が問題が何であるか考えていますか?私はここで同様の問題に対するすべての解決策を試しましたが、どれも機能していません。

1
EliteKaffee

-vdpau_wrapper.cfgファイルを削除し、強制インストールを実行します

Sudo rm -rf /etc/vdpau_wrapper.cfg

Sudo apt-get install -f 
1