[Pkg-mailman-hackers] Bug#982935: Drop-Down Menus are still broken

Robert Chéramy robert at cheramy.net
Tue Mar 30 22:43:13 BST 2021


Update:

My nginx-configuration had a link to /var/lib/mailman3/web/static. 
Changing it to /usr/share/python3-django-postorius/static/ solved the 
problem:

     location /mailman3/static {
#        alias /var/lib/mailman3/web/static;
         alias /usr/share/python3-django-postorius/static/;
     }

The /var/lib/mailman3/web/static has an old bootstrap.min.js stored 
under /var/lib/mailman3/web/static/postorius/libs/bootstrap/js. This 
file seems to belong to nobody:

# dpkg -S /var/lib/mailman3/web/static/postorius/
dpkg-query: no path found matching pattern 
/var/lib/mailman3/web/static/postorius/

# dpkg -S /var/lib/mailman3/web/static
mailman3-web: /var/lib/mailman3/web/static

# dpkg -S /usr/share/python3-django-postorius
python3-django-postorius: /usr/share/python3-django-postorius


I suspect the file was installed at the time I ran Debian stable, as 
first installed mailman3 under stable and migrated to testing after it.


I installed mailman3-web on a fresh Debian testing, but the alias in 
nginx.conf ist still /var/lib/mailman3/web/static. In the fresh install, 
the bootstrap.min.js under 
/var/lib/mailman3/web/static/postorius/libs/bootstrap/js is now bootstrap 4.


I don't understand why there are two installations in parallel, 
shouldn't everything be installed within the Package 
python3-django-postorius?

Cheers,

Robert



More information about the Pkg-mailman-hackers mailing list