02-10-2020, 01:24 PM
(02-10-2020, 01:00 PM)amp Wrote:(02-10-2020, 12:38 PM)vfr400racer Wrote:(02-10-2020, 11:14 AM)Arwen Wrote: I don't know how others "lost" their modified FFMPEG, but mine is prevented from updating;
Code:# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
ffmpeg
The following packages will be upgraded:
...
I made no changes to the packages. Checking, FFMPEG still has "--enable-rkmpp".
I know. It's aptitude!
Just tested it on my sd card image. apt-get shows ffmpeg as being held back. aptitude fetches the package and installs it.
aptitude also breaks ffmpeg. After the upgrade, neither the new nor the modified ffmpeg work:
ffmpeg.org: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory
It's probably because 'aptitude upgrade' does the equivalent of 'apt-get upgrade --with-new-pkgs'.
If you want to 'hold' a package use
Code:echo 'package_name hold' > dpkg --set-selections
or configure a pin.
dpkg --get-selections showed ffmpeg on hold.
aptitude doesn't care about this.
I just double checked that.