[Solved] mplayer/mplayer2 libvdpau1 unmet dependencies

Archived topics about LMDE 1 and LMDE 2
Locked
idtent

[Solved] mplayer/mplayer2 libvdpau1 unmet dependencies

Post by idtent »

Running LMDE 2 on a Lenovo G710 with Intel 8 Series/C220 Series High Definition Audio Controller and snd_hda_intel driver.

The attempt to install mplayer fails, and the attempt to fix the break gives me the following:

Code: Select all

Unpacking libvdpau1:amd64 (0.8-3) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_0.8-3_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_0.8-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks for direction.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
killer de bug

Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by killer de bug »

Could you provide the results of

Code: Select all

inxi -Sr
and

Code: Select all

apt policy libvdpau1:amd64  libvdpau1
idtent

Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by idtent »

killer de bug wrote:Could you provide the results of

Code: Select all

inxi -Sr
and

Code: Select all

apt policy libvdpau1:amd64  libvdpau1
inxi -Sr:

Code: Select all

System:    Host: lenovo-lmde Kernel: 4.16.0-4-amd64 x86_64 (64 bit)
           Desktop: MATE 1.8.1  Distro: LinuxMint 2 betsy
Repos:     Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com betsy main upstream import
           deb http://ftp.us.debian.org/debian jessie main contrib non-free
           deb http://ftp.us.debian.org/debian jessie-updates main contrib non-free
           deb http://security.debian.org jessie/updates main contrib non-free
           deb http://www.deb-multimedia.org jessie main non-free
           deb http://extra.linuxmint.com betsy main
apt policy libvdpau1:amd64 libvdpau1:

Code: Select all

libvdpau1:
  Installed: (none)
  Candidate: 0.8-3
  Version table:
     0.8-3 0
        500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
libvdpau1:
  Installed: (none)
  Candidate: 0.8-3
  Version table:
     0.8-3 0
        500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
Thanks.
killer de bug

Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by killer de bug »

Could you post the result of

Code: Select all

apt update && apt install libvdpau1:amd64
idtent

Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by idtent »

killer de bug wrote:Could you post the result of

Code: Select all

apt update && apt install libvdpau1:amd64
apt update && apt install libvdpau1:amd64:

Code: Select all

Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libbs2b0
Use 'apt-get autoremove' to remove it.
Suggested packages:
  nvidia-vdpau-driver vdpau-driver
The following NEW packages will be installed:
  libvdpau1
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 0 B/33.4 kB of archives.
After this operation, 81.9 kB of additional disk space will be used.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 177670 files and directories currently installed.)
Preparing to unpack .../libvdpau1_0.8-3_amd64.deb ...
Unpacking libvdpau1:amd64 (0.8-3) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_0.8-3_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_0.8-3_amd64.deb
FWIW, this started with the attempt to install mplayer (sudo apt install mplayer), which terminated with error. After failing to fix the broken pkg (sudo apt install -f) I could not apt install until I removed mplayer, which made it possible to install via apt once again.

Thanks again for your attention.
killer de bug

Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by killer de bug »

Code: Select all

0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
What are these packages that you have not upgraded?

You did not post the result of apt update. No errors?

I would rename /etc/vdpau_wrapper.cfg:

Code: Select all

sudo mv /etc/vdpau_wrapper.cfg /etc/vdpau_wrapper.cfg.BAK
then

Code: Select all

apt update && apt install mplayer
idtent

Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by idtent »

killer de bug wrote:

Code: Select all

0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
What are these packages that you have not upgraded?

You did not post the result of apt update. No errors?
Apologies. I ran the command "apt update && apt install libvdpau1:amd64", appending "> tmp.txt" to the command to capture the output, and that is what I posted. (BTW, though I often update and dist-upgrade without regard to the update manager icon in the system tray, the update manager reports the system up-to-date.) Don't know if it matters now, but the output of "apt update" is:

Code: Select all

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libbs2b0 libdirac-decoder0 libvorbisidec1
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  base-files dbus dbus-x11 libdbus-1-3 linux-compiler-gcc-4.8-x86
  linux-headers-3.16.0-4-amd64 linux-headers-3.16.0-4-common
  linux-image-3.16.0-4-amd64 linux-libc-dev
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.6 MB of archives.
After this operation, 54.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.

killer de bug wrote:I would rename /etc/vdpau_wrapper.cfg:

Code: Select all

sudo mv /etc/vdpau_wrapper.cfg /etc/vdpau_wrapper.cfg.BAK
then

Code: Select all

apt update && apt install mplayer
My question of self is whether I should follow your recommendation before or after performing the upgrade? My answer to self is to do the upgrade and then follow your recommendation. It goes against my grain to install without upgrading; my habit is to update before installing; typical command is "sudo apt update; sudo apt install <package(s)>". Feel free to tell me if this is a bad habit.
killer de bug

Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by killer de bug »

idtent wrote:

Code: Select all

The following packages will be upgraded:
  base-files dbus dbus-x11 libdbus-1-3 linux-compiler-gcc-4.8-x86
  linux-headers-3.16.0-4-amd64 linux-headers-3.16.0-4-common
  linux-image-3.16.0-4-amd64 linux-libc-dev
Ok I understand why you have these packages on hold. These are level 4 and 5 updates in MintUpdate. And in the settings of MintUpdate these level are set to hide. So you don't see them.

You can change the settings if you want and you will then see these updates in MintUpdate.
idtent wrote: My question of self is whether I should follow your recommendation before or after performing the upgrade? My answer to self is to do the upgrade and then follow your recommendation.
You can install mplayer without upgrading your system here. The hold packages listed above have nothing to do with mplayer.

Be careful: apt update is not to upgrade your system. It updates the list of packages available for your system. You should always perform this step first before installing something. This way your are sure you install the latest version available.
apt don't need sudo. apt is a shortcut for sudo apt-get.

Please proceed with the 2 commands I gave earlier:

Code: Select all

sudo mv /etc/vdpau_wrapper.cfg /etc/vdpau_wrapper.cfg.BAK

Code: Select all

 apt update && apt install mplayer
idtent

[Solved] Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by idtent »

killer de bug wrote:
idtent wrote:

Code: Select all

The following packages will be upgraded:
  base-files dbus dbus-x11 libdbus-1-3 linux-compiler-gcc-4.8-x86
  linux-headers-3.16.0-4-amd64 linux-headers-3.16.0-4-common
  linux-image-3.16.0-4-amd64 linux-libc-dev
Ok I understand why you have these packages on hold. These are level 4 and 5 updates in MintUpdate. And in the settings of MintUpdate these level are set to hide. So you don't see them.

You can change the settings if you want and you will then see these updates in MintUpdate.
You are correct. Bit off-topic, none-the-less, I leave the level 4 and 5 updates hidden. I want the update manager to inform me of "upgrade", and sometimes prefer to upgrade rather than dist-upgrade. (Tell me if I am wrong in thinking that dist-upgrade gets level 4, if not level 5.) Then every few days I do "apt update; apt dist-upgrade", and examine the packages (like I know what I see) before proceeding with the dist-upgrade.
killer de bug wrote:Be careful: apt update is not to upgrade your system. It updates the list of packages available for your system. You should always perform this step first before installing something. This way your are sure you install the latest version available.
apt don't need sudo. apt is a shortcut for sudo apt-get.
Live and learn. The only thing of what you said that I did not know is that apt is a shortcut! I wondered why the "-get" was no longer necessary; which I actually discovered by accident, but since I so often use "sudo" (without password prompt), I gave it no more thought. (Raises some questions, but they are for another time and place.)
killer de bug wrote:Please proceed with the 2 commands I gave earlier:

Code: Select all

sudo mv /etc/vdpau_wrapper.cfg /etc/vdpau_wrapper.cfg.BAK

Code: Select all

 apt update && apt install mplayer
Before you posted this reply I was doing the dist-upgrade, and due to the changes, rebooted the system. I then proceeded to follow your recommendations, and am happy to report that mplayer is working as expected.

I know next to nothing about vdpau and it's wrapper and configuration, etc., but I assume I will learn in time if it is necessary to anything else. I notice that it was not re-created in the upgrade or in the installation of mplayer, so I assume that it is not necessary to return vdpau_wrapper.cfg.BAK to its original name unless and until the need arises. (I,m having trouble with system sounds on my wife's new Dell Inspiron with a fresh install of Linuxmint 17.1 XFCE, which I ran on her old Dell without issue, and in my search for information regarding that problem see "vdpau" something or another come up frequently in relation to video and sound.)

Thanks for your kind help. Marking the thread solved, and wishing life that is good to all.
killer de bug

Re: mplayer/mplayer2 libvdpau1 unmet dependencies

Post by killer de bug »

I'm happy that you solved it!

You almost did it perfectly well: you edited the last message instead of the first one for the solved mark. Could you also add it in the title of the 1st post? Thanks a lot ! :wink:
Locked

Return to “LMDE Archive”