On Wed 13 Jul 2022 at 00:01:31 (-0500), Igor Korot wrote: > On Tue, Jul 12, 2022 at 10:10 PM David Wright <deb...@lionunicorn.co.uk> > wrote: > > On Tue 12 Jul 2022 at 21:48:08 (-0500), Igor Korot wrote: > > > > > igor@debian:~/dbhandler/Debug$ ls -la /usr/local/lib/ > > > [ … ] > > > drwxr-xr-x 3 root root 4096 Jul 9 16:52 python3.9 > > > > > 2. There is python 3.9 folder there > > > I now I didn't install anything python specific and so the box > > > should contain only the default python implementation > > > > > > Is there a way to find what this python folder about? > > > > $ grep local/lib/python /var/lib/dpkg/info/* > > [code] > igor@debian:~/dbhandler/Debug$ grep local/lib/python /var/lib/dpkg/info/* > /var/lib/dpkg/info/python3.9-minimal.postinst: if [ ! -e > /usr/local/lib/python3.9 ]; then > /var/lib/dpkg/info/python3.9-minimal.postinst: mkdir -p > /usr/local/lib/python3.9 2> /dev/null || true > /var/lib/dpkg/info/python3.9-minimal.postinst: chmod $perm > /usr/local/lib/python3.9 2> /dev/null || true > /var/lib/dpkg/info/python3.9-minimal.postinst: chown > root:$group /usr/local/lib/python3.9 2> /dev/null || true > /var/lib/dpkg/info/python3.9-minimal.postinst: > localsite=/usr/local/lib/python3.9/dist-packages > /var/lib/dpkg/info/python3.9-minimal.postrm: rmdir --parents > /usr/local/lib/python3.9 2>/dev/null || true > /var/lib/dpkg/info/python3.9-minimal.prerm: > localsite=/usr/local/lib/python3.9/dist-packages > > igor@debian:~/dbhandler/Debug$ > [/code] > > What package are we talking about? > > > will give you the name of the package that's creating this. > > > > /usr/share/doc/python3.9-minimal/README.Debian.gz will tell > > you about this package.
It's difficult to believe that you read the last sentence of my post because: $ zcat /usr/share/doc/python3.9-minimal/README.Debian.gz | head -n 2 Contents of the python3.9-minimal package ----------------------------------------- $ The bulk of the matches came from the package's post-installation script, which creates the directory/folder your OP enquired about. Sorry, but with your having installed sid within the last year, I thought you'd be able to figure things out from half a dozen lines of output. Cheers, David.