Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-24-2017, 07:50 AM   #1
Registered: Nov 2010
Distribution: Debian
Posts: 35

Rep: Reputation: 1
Stopping ffmpeg being downgraded

I have installed ffmpeg from jessie-backports
"sudo apt-get -t jessie-backports install ffmpeg"

but it would always get downgraded when running "sudo apt-get update; sudo apt-get upgrade"
to version in repo.

$ apt-cache policy ffmpeg
Installed: 7:3.2.4-1~bpo8+1
Candidate: 10:2.6.9-dmo1
Version table:
10:2.6.9-dmo1 0
500 jessie/main amd64 Packages
*** 7:3.2.4-1~bpo8+1 0
100 jessie-backports/main amd64 Packages
100 /var/lib/dpkg/status

I have tried pinning before, but could not get it to work ..
What would be the "Debian" way to stop this, and keep the version from jessie-backports?

Last edited by marcelp1; 05-24-2017 at 07:57 AM.
Old 05-24-2017, 08:48 AM   #2
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Comment out the in your sources.list and only enable it when needing to install a package from it. Otherwise try the pinning again and see if you have better success.
1 members found this post helpful.
Old 05-24-2017, 09:00 AM   #3
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
The problem here is that deb-multimedia appears to have changed the epoch of ffmpeg and many of its dependencies from the normal (current Debian epoch for these packages) 7: to 10:, so they will always be considered as the candidate version.

Perhaps you might want to contact deb-multimedia and ask them why they've done that.

Edit: see "Versioning" here -

It appears that deb-multimedia do this intentionally in order that their packages take priority, even when the actual underlying version number is less than the current Debian-packaged version.

Last edited by hydrurga; 05-24-2017 at 09:04 AM.
1 members found this post helpful.
Old 05-24-2017, 09:48 AM   #4
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
sudo apt-mark hold ffmpeg
after you have The Version You Like installed.


No editing.

Last edited by Habitual; 05-26-2017 at 04:43 PM. Reason: added no editing (well, ya don't)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackpkg+ (yet another downgraded packages thread...) gargamel Slackware 6 08-30-2014 03:17 PM
[SOLVED] Why is ffmpeg stopping after the first encode when using my bash script? slinkoff Programming 6 07-06-2011 05:27 AM
I upgraded with slackpkg but it seemed to have downgraded me! Dachy Slackware 6 01-29-2006 07:48 PM
Downgraded packages with Slack upgrade jrdioko Slackware 4 01-01-2006 06:41 PM
what happen if gcc is downgraded vijaysh Linux - Software 4 01-01-2005 05:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration