[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#788571: python-apt: unable to delete old directory '/usr/share/doc/python-apt/examples': Directory not empty



Package: python-apt
Version: 1.0.0~beta1

I saw these warnings on upgrade:

Unpacking python-apt-doc (1.0.0~beta1) over (0.9.4) ...
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/examples': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/library': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/tutorials': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/c++': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/_sources/library': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/_sources/tutorials': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/_sources/c++': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/_sources/whatsnew': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/_sources': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/whatsnew': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html/_static': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/doc/python-apt/html': Directory not empty


And now I'm left with a bunch of files that don't belong to any package:

$ find /usr/share/doc/python-apt/ -type f | xargs dpkg -S > /dev/null
dpkg-query: no path found matching pattern /usr/share/doc/python-apt/html/c++/api.html
dpkg-query: no path found matching pattern /usr/share/doc/python-apt/html/c++/index.html
dpkg-query: no path found matching pattern /usr/share/doc/python-apt/html/c++/embedding.html
...


-- System Information:
Debian Release: stretch/sid
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages python-apt depends on:
ii  libapt-inst1.5     1.0.9.10
ii  libapt-pkg4.12     1.0.9.10
ii  libc6              2.19-18
ii  libgcc1            1:5.1.1-9
ii  libstdc++6         5.1.1-9
ii  python             2.7.9-1
ii  python-apt-common  1.0.0~beta1
pn  python:any         <none>

--
Jakub Wilk


Reply to: