FAQ  •  Register  •  Login

[SOLVED] ffmpeg upgraded by apt-get

<<

extenue

Serviio newbie

Posts: 12

Joined: Sun Oct 02, 2011 9:18 am

Post Sat Nov 17, 2012 1:14 pm

[SOLVED] ffmpeg upgraded by apt-get

Hello,

My problem is not 100% serviio but i may not be alone to face with it , i installed serviio under ubuntu server 12.10 , i compiled manually everything following this http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux

my problem is ffmpeg is overrided by apt-upgrade

Package Description Status Source
ffmpeg amd64 Package created with checkinstall 1.6.2 New version 0.8.4-0ubuntu0.12.10.1 Quantal-security

if i do the upgrade then serviio don't work anymore

what i need to do to prevent this upgrade to happen ?

Thanks!
exté
Last edited by extenue on Sat Nov 17, 2012 3:35 pm, edited 1 time in total.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Nov 17, 2012 1:57 pm

Re: ffmpeg upgraded by apt-get

Uninstall ffmpeg using apt so that it no longer manages it, then install your compiled version.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

extenue

Serviio newbie

Posts: 12

Joined: Sun Oct 02, 2011 9:18 am

Post Sat Nov 17, 2012 2:17 pm

Re: ffmpeg upgraded by apt-get

well this is what i did : apt-get remove ffmpeg (even prior the first time) , then i redo a "sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \
--deldoc=yes --fstrans=no --default " on the src folder , once finished and after a package refresh then apt-get want to upgrade ffmpeg !

i should miss something but what ?

exté
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Nov 17, 2012 2:22 pm

Re: ffmpeg upgraded by apt-get

try

  Code:
sudo aptitude hold ffmpeg
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

extenue

Serviio newbie

Posts: 12

Joined: Sun Oct 02, 2011 9:18 am

Post Sat Nov 17, 2012 2:37 pm

Re: ffmpeg upgraded by apt-get

thanks but no joy

aptitude hold ffmpeg
The following packages will be REMOVED:
libav-tools{u} libavdevice53{u} libavfilter2{u} libcdio-cdda1{u}
libcdio-paranoia1{u} libdc1394-22{u} libraw1394-11{u}
0 packages upgraded, 0 newly installed, 7 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 2,799 kB will be freed.
Do you want to continue? [Y/n/?]
(Reading database ... 101630 files and directories currently installed.)
Removing libav-tools ...
Removing libavdevice53:amd64 ...
Removing libavfilter2:amd64 ...
Removing libcdio-paranoia1 ...
Removing libcdio-cdda1 ...
Removing libdc1394-22:amd64 ...
Removing libraw1394-11:amd64 ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

aptitude hold ffmpeg
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

and after a recompilation and a package refresh i have that via webmin:

Updatable package information
Package name ffmpeg
Update system APT
Package description amd64 Package created with checkinstall 1.6.2
Current state New version 0.8.4-0ubuntu0.12.10.1
Installed version 5:201211171523-git-1
Available version 6:0.8.4-0ubuntu0.12.10.1
Installation source Quantal-security

aptitude hold ffmpeg
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

root@ubuntu:/src/ffmpeg# apt-get remove ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ffmpeg
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 196 MB disk space will be freed.
Do you want to continue [Y/n]?

so the compilation of ffmpeg make the package manageable again ;(
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Nov 17, 2012 2:59 pm

Re: ffmpeg upgraded by apt-get

Make sure you run apt-get update after any changes.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

extenue

Serviio newbie

Posts: 12

Joined: Sun Oct 02, 2011 9:18 am

Post Sat Nov 17, 2012 3:30 pm

Re: ffmpeg upgraded by apt-get

no luck :'( , i made an apt-get update after each step and this did not change anything

i tried with dselect but does not work
dselect
dselect: error: foreign architectures enabled but multi-arch is not supported
root@ubuntu:/src/ffmpeg#

i feel nervous as i have another ubuntu server where i also compiled ffmpeg and i never had this problem , grrrrrrrrrrrrr
<<

extenue

Serviio newbie

Posts: 12

Joined: Sun Oct 02, 2011 9:18 am

Post Sat Nov 17, 2012 3:35 pm

Re: ffmpeg upgraded by apt-get

solved with echo "ffmpeg hold" | sudo dpkg --set-selections

:)

dpkg --get-selections | grep "ffmpeg"
ffmpeg hold
gstreamer0.10-ffmpeg:amd64 install

after a package refresh then ffmpeg is no longer present

thank you for your answers

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 26 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.