LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-24-2017, 06:50 AM   #1
marcelp1
Member
 
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 deb-multimedia.org repo.

$ apt-cache policy ffmpeg
ffmpeg:
Installed: 7:3.2.4-1~bpo8+1
Candidate: 10:2.6.9-dmo1
Version table:
10:2.6.9-dmo1 0
500 http://www.deb-multimedia.org/ jessie/main amd64 Packages
*** 7:3.2.4-1~bpo8+1 0
100 http://ftp.uk.debian.org/debian/ 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 06:57 AM.
 
Old 05-24-2017, 07:48 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Comment out the http://www.deb-multimedia.org/ 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, 08:00 AM   #3
hydrurga
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 - https://wiki.debian.org/DebianMultimedia/FAQ

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 08:04 AM.
 
1 members found this post helpful.
Old 05-24-2017, 08:48 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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

mark
update
check.

No editing.

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


Reply


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 02:17 PM
[SOLVED] Why is ffmpeg stopping after the first encode when using my bash script? slinkoff Programming 6 07-06-2011 04:27 AM
I upgraded with slackpkg but it seemed to have downgraded me! Dachy Slackware 6 01-29-2006 06:48 PM
Downgraded packages with Slack upgrade jrdioko Slackware 4 01-01-2006 05:41 PM
what happen if gcc is downgraded vijaysh Linux - Software 4 01-01-2005 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:28 PM.

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