[FFmpeg-trac] #10282(undetermined:new): ffmpeg hoses system
FFmpeg
trac at avcodec.org
Sun Mar 26 08:46:04 EEST 2023
#10282: ffmpeg hoses system
--------------------------------+----------------------------------------
Reporter: betlog | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: undetermined
Version: 5.1.2 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+----------------------------------------
Changes (by betlog):
* version: unspecified => 5.1.2
Old description:
> 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
> }}}
New description:
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
}}}
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10282#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list