Bug#890064: smbios-utils: properly clean up legacy config files

2018-02-27 Thread Mario.Limonciello
Th warnings come from the dpkg maintscript helper.  You're supposed to put it 
in all the helper scripts and they show warnings for the prerm IIRC.
I guess a separate upgrade task may be needed to delete the directories then 
too if empty.

> -Original Message-
> From: Christoph Anton Mitterer [mailto:cales...@scientia.net]
> Sent: Tuesday, February 27, 2018 2:44 PM
> To: 890...@bugs.debian.org
> Subject: Bug#890064: smbios-utils: properly clean up legacy config files
> 
> Hi.
> 
> Are you sure this has been fixed properly?
> 
> On an upgrade to the new package version I saw:
> Unpacking smbios-utils (2.4.1-1) over (2.3.1-2) ...
> dpkg: warning: unable to delete old directory '/etc/yum/pluginconf.d': 
> Directory
> not empty
> dpkg: warning: unable to delete old directory '/etc/yum': Directory not empty
> 
> and while all these are empty, the dirs are still not removed.
> 
> Cheers,
> Chris.



Bug#890064: smbios-utils: properly clean up legacy config files

2018-02-27 Thread Christoph Anton Mitterer
Hi.

Are you sure this has been fixed properly?

On an upgrade to the new package version I saw:
Unpacking smbios-utils (2.4.1-1) over (2.3.1-2) ...
dpkg: warning: unable to delete old directory '/etc/yum/pluginconf.d': 
Directory not empty
dpkg: warning: unable to delete old directory '/etc/yum': Directory not empty

and while all these are empty, the dirs are still not removed.

Cheers,
Chris.



Bug#890064: smbios-utils: properly clean up legacy config files

2018-02-12 Thread Mario.Limonciello
Thanks for the report.
I've added this for the next upload:
https://github.com/dell/libsmbios/commit/42379a462ec777cf5ae8ba87df40e5432faa8585

> -Original Message-
> From: Christoph Anton Mitterer [mailto:cales...@scientia.net]
> Sent: Saturday, February 10, 2018 11:28 AM
> To: Debian Bug Tracking System <sub...@bugs.debian.org>
> Subject: Bug#890064: smbios-utils: properly clean up legacy config files
> 
> Package: smbios-utils
> Version: 2.4.0-1
> Severity: normal
> 
> 
> Hi.
> 
> Apparently the package smbios-utils used to contain:
> /etc/yum/pluginconf.d/dellsysid.conf
> but no longer does.
> 
> Therefore, the following happens on upgrade:
> Unpacking smbios-utils (2.4.0-1) over (2.3.1-2) ...
> dpkg: warning: unable to delete old directory '/etc/yum/pluginconf.d': 
> Directory
> not empty
> dpkg: warning: unable to delete old directory '/etc/yum': Directory not empty
> 
> 
> Please remove the obsolete config file on one of the next upgrades with the
> appropriate
> maintainer script helpers.
> 
> Thanks,
> Chris.



Bug#890064: smbios-utils: properly clean up legacy config files

2018-02-10 Thread Christoph Anton Mitterer
Package: smbios-utils
Version: 2.4.0-1
Severity: normal


Hi.

Apparently the package smbios-utils used to contain:
/etc/yum/pluginconf.d/dellsysid.conf
but no longer does.

Therefore, the following happens on upgrade:
Unpacking smbios-utils (2.4.0-1) over (2.3.1-2) ...
dpkg: warning: unable to delete old directory '/etc/yum/pluginconf.d': 
Directory not empty
dpkg: warning: unable to delete old directory '/etc/yum': Directory not empty


Please remove the obsolete config file on one of the next upgrades with the 
appropriate
maintainer script helpers.

Thanks,
Chris.