On Tue 29 Apr 2025 at 13:39:23 (+0200), Bernard wrote:

> bd@debian-stretch:/usr/local/lib$ ls -l
> [ … ]
> 10 april must be the date I installed that awful ISPY/Agent package
> 17 april 2023 must be the date of install of my current Bullseye
> 
> then :
> 
> bd@debian-stretch:/usr/local/lib$ ls -ult
> total 1000
> lrwxrwxrwx 1 root root 21 29 avril 10:54 libva-drm.so.2 -> 
> libva-drm.so.2.2200.0
> lrwxrwxrwx 1 root root 17 29 avril 10:54 libva.so.2 -> libva.so.2.2200.0
> lrwxrwxrwx 1 root root 21 28 avril 21:06 libva-drm.so -> libva-drm.so.2.2200.0
> lrwxrwxrwx 1 root root 17 28 avril 21:06 libva.so -> libva.so.2.2200.0
> -rwxr-xr-x 1 root root 50896 28 avril 01:20 libva-drm.so.2.2200.0
> -rwxr-xr-x 1 root root 953408 28 avril 01:20 libva.so.2.2200.0

So, long after you removed the ispy package (perhaps around
21 avril 10:38), the library files are still being read.

> drwxr-xr-x 2 root root 4096 21 avril 10:38 pkgconfig
> drwxr-xr-x 3 root root 4096 21 avril 10:38 python3.9
> -rwxr-xr-x 1 root root 979 10 avril 17:59 libva-drm.la
> -rwxr-xr-x 1 root root 925 10 avril 17:59 libva.la
> 
> 29 april 10:54 is… a few minutes ago

And what was going on then? And during the evening before,
when the other pair of symlinks were touched in some way.

> Then, I made another attempt to run a mp4 video file using most recent
> ‘vlc’, getting the usual displayed error message :
> 
> Codec non pris en charge:
> VLC ne peut pas décoder le format « h264 » (H264 - MPEG-4 AVC (part 10))

And at that point, I would have looked again at ls -ult
to see whether anything had changed.

> Then, right after this : I, once more, removed and purged VLC, then
> re-installed it. This being done :
> 
> bd@debian-stretch:/usr/local/lib$ ls -ult
> total 1000
> -rwxr-xr-x 1 root root 50896 29 avril 11:17 libva-drm.so.2.2200.0
> -rwxr-xr-x 1 root root 953408 29 avril 11:17 libva.so.2.2200.0
> lrwxrwxrwx 1 root root 21 29 avril 10:54 libva-drm.so.2 -> 
> libva-drm.so.2.2200.0
> lrwxrwxrwx 1 root root 17 29 avril 10:54 libva.so.2 -> libva.so.2.2200.0
> lrwxrwxrwx 1 root root 21 28 avril 21:06 libva-drm.so -> libva-drm.so.2.2200.0
> lrwxrwxrwx 1 root root 17 28 avril 21:06 libva.so -> libva.so.2.2200.0
> drwxr-xr-x 2 root root 4096 21 avril 10:38 pkgconfig
> drwxr-xr-x 3 root root 4096 21 avril 10:38 python3.9
> -rwxr-xr-x 1 root root 979 10 avril 17:59 libva-drm.la
> -rwxr-xr-x 1 root root 925 10 avril 17:59 libva.la
> 
> 29 april 11:17 is when the de-install re-install of ‘vlc’ was carried,
> then the test was run attempting to play a mp4 file with VLC. Same
> error message as previously.

Well, running vlc at about the same time as reinstalling it
makes sure that any data you collect is as ambiguous as possible.
Reinstalling a Debian package /should/ have no effect on files in
/usr/local/lib/, unless there are some unusual symlinks, or some
use of configuration data that I'm not familiar with.

> As I found soon after, the changes shown in ls -ult are solely due to
> the re-install of the VLC package… any more call to
> 
> vlc myfile.mp4
> 
> no longermodify the results of
> 
> usr/local/lib/ ls -ult

Now we run into another problem: the OS could be caching the targets
of the symlinks and the contents of the libraries, avoiding the
necessity of rereading them.

  # echo 3 > /proc/sys/vm/drop_caches

each time, should prevent it doing that.

Cheers,
David.

Reply via email to