Re: Best way to manually replace a package with a customized one
On Fri, Oct 22, 2010 at 10:09:16AM +0300, Volkan YAZICI wrote:
> On Fri, 22 Oct 2010, Yahya Mohammad <firstname.lastname@example.org> writes:
> > I want to use a custom compiled version of ffmpeg to enable some extra
> > features. What is the best way to do this? I do not want to break
> > anything that depends on ffmpeg.
> > I tried making my own .deb package using checkinstall. This works
> > fine, but whenever I run apt-get upgrade it wants to replace my
> > customized ffmpeg.
> Does "How to keep specific versions of packages installed" solve your
>  http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html
Use of pin is one way but quite cumbersome...
The most generic solution is the method our next Release Notes uses:
$ echo <package_name> hold | dpkg --set-selection
This works for any package management tool, apt-get/aptitude/ ...
See more at: