libavcodec-extra

Questions about Wine on Linux
Locked
johnaaronrose
Level 2
Level 2
Posts: 22
Joined: Tue Dec 01, 2009 8:49 am

libavcodec-extra

Post by johnaaronrose »

I'm using Ubuntu Bionic & Wine from https://dl.winehq.org/wine-builds/ubuntu/
I'm getting problem with libavcodec-extra when trying to update software:

Code: Select all

root@JohnPC:/home/john# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libavcodec-extra
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
Details of versions for libavcodec-extra are:

Code: Select all

root@JohnPC:/home/john# apt -a list --upgradeable
Listing... Done
libavcodec-extra/bionic,bionic 7:4.1.3-0ppa1~18.04 all [upgradable from: 7:3.4.6-0ubuntu0.18.04.1]
libavcodec-extra/bionic-updates,bionic-updates,bionic-security,bionic-security,now 7:3.4.6-0ubuntu0.18.04.1 all [installed,upgradable to: 7:4.1.3-0ppa1~18.04]
libavcodec-extra/bionic,bionic 7:3.4.2-2 all
If I try to force an update of libavcodec-extra, apt wants to remove wine and a number of other packages.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: libavcodec-extra

Post by jkfloris »

7:4.1.3-0ppa1~18.04
You should ask this question to the maintainer of the PPA. Probably it is some multiarch conflict.
chris7
Level 1
Level 1
Posts: 6
Joined: Sun Jan 19, 2014 8:16 am

Re: libavcodec-extra

Post by chris7 »

I have the same problem. Any update?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: libavcodec-extra

Post by jkfloris »

What is the output of:

Code: Select all

grep -r ^deb /etc/apt/sources.list*
and

Code: Select all

apt policy libavcodec-extra libavcodec-extra:i386
brassman
Level 1
Level 1
Posts: 9
Joined: Thu Dec 20, 2018 11:08 pm

Re: libavcodec-extra

Post by brassman »

jkfloris wrote: Fri Jun 05, 2020 7:26 am What is the output of:

Code: Select all

grep -r ^deb /etc/apt/sources.list*
and

Code: Select all

apt policy libavcodec-extra libavcodec-extra:i386
I have the same issue - here's my output:

Code: Select all

$ grep -r ^deb /etc/apt/sources.list*
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security multiverse
/etc/apt/sources.list:deb https://dl.winehq.org/wine-builds/ubuntu focal main # disabled on upgrade to focal
/etc/apt/sources.list.d/lutris-team-ubuntu-lutris-focal.list:deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal main
/etc/apt/sources.list.d/tor.list:deb tor://sdscoq7snqtznauu.onion/torproject.org focal main
/etc/apt/sources.list.d/kxstudio-debian-ppas.list:deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu bionic main
/etc/apt/sources.list.d/kxstudio-debian-ppas.list:deb http://ppa.launchpad.net/kxstudio-debian/music/ubuntu bionic main
/etc/apt/sources.list.d/kxstudio-debian-ppas.list:deb http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu bionic main
/etc/apt/sources.list.d/kxstudio-debian-ppas.list:deb http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu bionic main
/etc/apt/sources.list.d/kxstudio-debian-ppas.list:deb http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu bionic main
/etc/apt/sources.list.d/obsproject-ubuntu-obs-studio-focal.list:deb http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal main
/etc/apt/sources.list.d/matrix-riot-im.list:deb https://riot.im/packages/debian/ focal main
/etc/apt/sources.list.d/steam.list:deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
/etc/apt/sources.list.d/steam.list:deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
/etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-focal.list:deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main
/etc/apt/sources.list.d/kxstudio-external.list:deb [arch=amd64,i386] https://kx.studio/repo/ stable free
/etc/apt/sources.list.d/kxstudio-external.list:deb [arch=amd64,i386] https://kx.studio/repo/ gcc5 free
/etc/apt/sources.list.distUpgrade:deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
/etc/apt/sources.list.distUpgrade:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
/etc/apt/sources.list.distUpgrade:deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
/etc/apt/sources.list.distUpgrade:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
/etc/apt/sources.list.distUpgrade:deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
/etc/apt/sources.list.distUpgrade:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
/etc/apt/sources.list.distUpgrade:deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security main restricted
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security universe
/etc/apt/sources.list.distUpgrade:deb http://security.ubuntu.com/ubuntu bionic-security multiverse
/etc/apt/sources.list.distUpgrade:deb https://dl.winehq.org/wine-builds/ubuntu bionic main
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
/etc/apt/sources.list.save:deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu bionic-security main restricted
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu bionic-security universe
/etc/apt/sources.list.save:deb http://security.ubuntu.com/ubuntu bionic-security multiverse
/etc/apt/sources.list.save:deb https://dl.winehq.org/wine-builds/ubuntu bionic main




$ apt policy libavcodec-extra libavcodec-extra:i386
libavcodec-extra:
  Installed: 7:3.4.8-0ubuntu0.2
  Candidate: 7:4.2.4-1ubuntu0.1
  Version table:
     7:4.2.4-1ubuntu0.1 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages
     7:4.2.2-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
 *** 7:3.4.8-0ubuntu0.2 100
        100 /var/lib/dpkg/status
libavcodec-extra:i386:
  Installed: (none)
  Candidate: 7:4.2.4-1ubuntu0.1
  Version table:
     7:4.2.4-1ubuntu0.1 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages
     7:4.2.2-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages
I just upgraded to 20.04 from 18.04, so I'm sure that has something to do with my issue here, but I'm not bright enough to figure it out
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: libavcodec-extra

Post by jkfloris »

Code: Select all

libavcodec-extra:
  Candidate: 7:4.2.4-1ubuntu0.1
...
libavcodec-extra:i386:
  Candidate: 7:4.2.4-1ubuntu0.1
I think in your situation a different package is the culprit.
The version numbers of libavcodec-extra are the same.

Code: Select all

/etc/apt/sources.list.d/kxstudio-debian-ppas.list:deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu bionic main
You haven't changed the kxstudio repo to focal
Maybe that will solve the problem?
brassman
Level 1
Level 1
Posts: 9
Joined: Thu Dec 20, 2018 11:08 pm

Re: libavcodec-extra

Post by brassman »

jkfloris wrote: Sat Jun 19, 2021 6:24 am You haven't changed the kxstudio repo to focal
Maybe that will solve the problem?
I went through my apt sources after posting and had updated everything to focal (and gotten rid of the extra .distUpdate and .save files) and ran further apt updates/upgrades. I still have the issue
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: libavcodec-extra

Post by jkfloris »

Then the only solution is to manually find out which package is blocking the installation.
https://wiki.winehq.org/FAQ#How_do_I_so ... ll_Wine.3F

A guess: The 64 bit version of libc6 is 2.31-0ubuntu9.3. There is a bug in this version and it is not available for 32 bit.
https://bugs.launchpad.net/ubuntu/+sour ... ug/1926918
brassman
Level 1
Level 1
Posts: 9
Joined: Thu Dec 20, 2018 11:08 pm

Re: libavcodec-extra

Post by brassman »

So I attempted to just run

Code: Select all

sudo apt install libavcodec-extra
to see what it would complain about. The complaint was that it was missing

Code: Select all

libavcodec-extra58
. I installed that (which temporarily uninstalled wine), made sure my source was right for wine, ran

Code: Select all

sudo apt install --install-recommends winehq-staging
, and everything now seems copacetic.
Locked