[FFmpeg-trac] #10282(undetermined:new): ffmpeg hoses system
FFmpeg
trac at avcodec.org
Sat Mar 25 13:41:50 EET 2023
#10282: ffmpeg hoses system
-------------------------------------+-------------------------------------
Reporter: betlog | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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
ffmpeg/jammy 7:5.1.2-0ubuntu1~22.04.sav4 amd64
sudo apt install ffmpeg
[sudo] password for user:
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: libavcodec59 (= 7:5.1.2-0ubuntu1~22.04.sav4)
Depends: libavfilter8 (= 7:5.1.2-0ubuntu1~22.04.sav4)
Depends: libavformat59 (= 7:5.1.2-0ubuntu1~22.04.sav4)
libavdevice59 : Depends: libavcodec59 (= 7:5.1.2-0ubuntu1~22.04.sav4)
Depends: libavfilter8 (= 7:5.1.2-0ubuntu1~22.04.sav4)
Depends: libavformat59 (= 7:5.1.2-0ubuntu1~22.04.sav4)
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
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10282>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list