Sample Header Ad - 728x90

How can I use checkinstall to replace multiple packages?

3 votes
1 answer
693 views
I'm building my own ffmpeg package using checkinstall, with all of the various ffmpeg libraries included. In the Ubuntu package repos these ffmpeg libraries are broken up into many separate packages. Is there any way to tell apt/dpkg that all of these requirements are satisfied by my ffmpeg package. That way, for example, installing Handbrake from the repos would not install the repo package libavfilter7, which would break my ffmpeg build? So far, I've tried using the --provides or --replaces checkinstall options without success. For example:
sudo checkinstall -y --deldoc=yes --requires=libc6,libsdl2-2.0-0 --pkgversion=10:$ffmpeg_version  --provides=ffmpeg,libavcodec58,libavdevice58,libavfilter7,libavformat58,libavresample4,libavutil56,libpostproc55,libswresample3,libswresample3,ffmpeg-doc
Asked by Sean W. (331 rep)
Jun 6, 2019, 05:51 PM
Last activity: Aug 7, 2019, 01:05 PM