This is a problem in dpkg, see #626203 [1] for more details. On pma 4.9 this was a directory, pma 5.0 changed this to a symlink. I stumbled upon this problem already the other way around when changing a symlink to a real directory. If I remember right, I removed the symlink in preinst. Otherwise the contents of the folder has been extracted to the location where the symlink pointed to.
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626203 Am Mittwoch, dem 20.01.2021 um 11:50 +0100 schrieb brainpower: > Hi! > > Am 20.01.21 um 00:41 schrieb William Desportes: > > libjs-codemirror do you have installed ? > > > I don't think this is an libjs-codemirror issue. > On my systems, after updating from phpmyadmin 4:4.9.7+dfsg1-1~bpo10+1 > to 4:5.0.4+dfsg2-1~bpo10+1, > I've got the following situation, where there is no Symlink into the > codemirror files, > so it should not matter which version it is: > > # apt policy phpmyadmin > phpmyadmin: > Installiert: 4:5.0.4+dfsg2-1~bpo10+1 > Installationskandidat: 4:5.0.4+dfsg2-1~bpo10+1 > Versionstabelle: > *** 4:5.0.4+dfsg2-1~bpo10+1 100 > 100 http://deb.debian.org/debian buster-backports/main amd64 > Packages > 100 /var/lib/dpkg/status > > # pwd > /usr/share/phpmyadmin/js/vendor/codemirror > > # ls -la > insgesamt 20 > drwxr-xr-x 5 root root 4096 Nov 12 17:31 . > drwxr-xr-x 6 root root 4096 Jan 18 11:30 .. > drwxr-xr-x 5 root root 4096 Nov 12 17:31 addon > drwxr-xr-x 2 root root 4096 Jan 18 11:30 lib > drwxr-xr-x 5 root root 4096 Nov 12 17:31 mode > > # ls -la lib > insgesamt 8 > drwxr-xr-x 2 root root 4096 Jan 18 11:30 . > drwxr-xr-x 5 root root 4096 Nov 12 17:31 .. > > > Or is there something I'm missing, that would cause 'lib' to not be a > symlink depending on the libjs-codemirror version??? >

