Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#10282 closed defect (invalid)

ffmpeg hoses system

Reported by: betlog Owned by:
Priority: normal Component: undetermined
Version: 5.1.2 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by betlog)

Summary of the bug:
Adding ffmpeg4 and ffmpeg5 ppa causes next system update to remove numerous core programs,which if permitted totally hose the OS.

This is a little odd, so some background first:

Initially I had this problem: https://trac.ffmpeg.org/ticket/10114
(Audio would lag behind video), and ended up adding the PPA as per instructions on various sites.
sudo add-apt-repository ppa:savoury1/ffmpeg4
sudo add-apt-repository ppa:savoury1/ffmpeg5
This worked fine on primary and secondary PCs until a few days ago while doing a fresh Kubuntu 22.04 install on 2nd PC. Discover notified me that it was about to remove a bunch of core components as an upgrade.
https://forum.kde.org/viewtopic.php?f=15&t=177523
Fully expecting it to hose the OS, I allowed it. It hosed the OS.
Using primary PC now.
After removing all 3rd party PPA I found that ppa:savory/ffmpeg4/5 were the trigger.

So now I have at least two problems:

1) cannot use PPA 4/5 otherwise subsequent OS updates will hose the OS.
https://imgur.com/gallery/Um9lBJQ
It booted to login, but couldn't even get to a TTY, much less log in.

2) Cannot reinstall ffmpeg from repo:
apt search ffmpeg|grep 'ffmpeg/'
ffmpeg/jammy-updates,jammy-security 7:4.4.2-0ubuntu0.22.04.1 amd64

sudo apt install ffmpeg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:

ffmpeg : Depends: libavcodec58 (= 7:4.4.2-0ubuntu0.22.04.1)

Depends: libavdevice58 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.3-0ubuntu1~22.04.sav2 is to be installed
Depends: libavfilter7 (= 7:4.4.2-0ubuntu0.22.04.1)
Depends: libavformat58 (= 7:4.4.2-0ubuntu0.22.04.1)
Depends: libavutil56 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.3-0ubuntu1~22.04.sav2 is to be installed
Depends: libpostproc55 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.3-0ubuntu1~22.04.sav2 is to be installed
Depends: libswresample3 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.3-0ubuntu1~22.04.sav2 is to be installed
Depends: libswscale5 (= 7:4.4.2-0ubuntu0.22.04.1) but 7:4.4.3-0ubuntu1~22.04.sav2 is to be installed

E: Unable to correct problems, you have held broken packages.

How to reproduce:

Install Kubuntu 22.04
(iirc i removed the default repo install of ffmpeg at this point)
sudo add-apt-repository ppa:savoury1/ffmpeg4
sudo add-apt-repository ppa:savoury1/ffmpeg5
sudo apt update
sudo apt full-upgrade
reboot

Change History (5)

comment:1 by betlog, 14 months ago

Description: modified (diff)
Version: unspecified5.1.2

comment:2 by elenril, 14 months ago

Resolution: invalid
Status: newclosed

The issue is either in your system configuration or in the package repository you are using. Neither of those is maintained by us, so there is nothing we can do about your problem.

comment:3 by betlog, 14 months ago

Oh, my bad... given that every single search result I have seen lists ppa:savoury1 I had assumed this was the right one.
Can you point me to the ffmpeg ppa? Or isn't there one? If not then is compiling it myself the only option?

Kubuntu 22.04 LTS seems to have a serious issue if ffmpeg cant be reinstalled.

comment:4 by elenril, 14 months ago

We do not maintain any official PPAs or other packages, so issues related to those do not belong here. You might be able to get help from the PPA maintainer or Ubuntu help channels.

comment:5 by betlog, 14 months ago

To be honest; as a long time ppa-enjoyer.... I am no longer feeling it.
Thanks for your help. Apologies for the poorly directed defect post.

Note: See TracTickets for help on using tickets.