Comment 3 for bug 1702493

Revision history for this message
widon1104 (widon1104) wrote :

in ubuntu19.10 I install wine5.0 the same error appear.
widon@widon-ubuntu:~$ sudo apt --fix-broken install
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:
  linux-headers-5.3.0-18 linux-headers-5.3.0-18-generic linux-image-5.3.0-18-generic linux-modules-5.3.0-18-generic linux-modules-extra-5.3.0-18-generic
Use 'sudo apt autoremove' to remove them.
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 0 not upgraded.
84 not fully installed or removed.
Need to get 0 B/25.5 kB of archives.
After this operation, 109 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = "zh_CN:zh",
 LC_ALL = (unset),
 LANG = "en.US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 222146 files and directories currently installed.)
Preparing to unpack .../libvdpau1_1.2-1ubuntu1_amd64.deb ...
Unpacking libvdpau1:amd64 (1.2-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.2-1ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libvdpau1_1.2-1ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I fix it?