Frage So lösen Sie "dpkg: Fehler bei der Verarbeitung von Archiv /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb"


Ich habe Probleme mit dem Update-Manager. Normale Installation bringt mich:

~$ 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.

mit der empfohlenen Option:

~$ 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)

Hat jemand eine Idee, was das Problem sein könnte? Ich habe alle Lösungen für ähnliche Probleme hier ausprobiert und keiner funktioniert.


1
2018-03-20 16:32


Ursprung


Hast du versucht zu entfernen? libvdpau1 zuerst? - Jos
Lauf sudo rm /var/cache/apt/archives/libvdpau* und sudo apt-get -f install - M. Becerra
es funktioniert nicht. - ThePhi


Antworten:


- Entfernen Sie die Datei vdpau_wrapper.cfg und führen Sie die Erzwinge-Installation aus

sudo rm -rf /etc/vdpau_wrapper.cfg

sudo apt-get install -f 

0
2018-04-15 07:04