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

Bug#863246: hplip-data: removing hplip-data does not clean up some of its directories



Thank you for your report, Vincent.


On Wed 24 May 2017 at 12:55:51 +0200, Vincent Lefevre wrote:

> Package: hplip-data
> Version: 3.16.11+repack0-3
> Severity: minor
> 
> When I removed hplip-data, I got:
> 
> Removing hplip-data (3.16.11+repack0-3) ...
> dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/ui5' not empty so not removed
> dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/scan' not empty so not removed
> dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/prnt' not empty so not removed
> dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/pcard' not empty so not removed
> dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/installer' not empty so not removed
> dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/fax' not empty so not removed
> dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/copier' not empty so not removed
> dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/base/pexpect' not empty so not removed
> 
> But for instance, /usr/share/hplip/ui5 contains only an empty
> directory __pycache__ that doesn't belong to any package and
> should have been removed in the process.

This unstable machine has nothing related to any hplip package on it. I
have just installed hplip-data 3.17.10+repack0-5.

 root@test:~# ls -l /usr/share/hplip/ui5/ | wc -l
 71

This includes __pycache__, which is generated at install time.

After purging hplip-data:

 root@test:~# ls -l /usr/share/hplip/
 ls: cannot access '/usr/share/hplip/': No such file or directory

Am I missing some nuance in your report?

Regards,

Brian.


Reply to: