这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #665797
dpkg-maintscript-helper: rm_conffile prevents dpkg from removing empty directory

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Laurent Bigonville <bigon@debian.org>

Date: Mon, 26 Mar 2012 08:45:02 UTC

Severity: normal

Merged with 584185, 790040, 815969, 816335, 826075

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian TeX Maintainers <debian-tex-maint@lists.debian.org>:
Bug#665795; Package texlive-base. (Mon, 26 Mar 2012 08:45:07 GMT) (full text, mbox, link).


Acknowledgement sent to Laurent Bigonville <bigon@debian.org>:
New Bug report received and forwarded. Copy sent to Debian TeX Maintainers <debian-tex-maint@lists.debian.org>. (Mon, 26 Mar 2012 08:45:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Laurent Bigonville <bigon@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: texlive-base upgrade leaves empty directories behind
Date: Mon, 26 Mar 2012 10:39:56 +0200
Package: texlive-base
Version: 2011.20120322-1
Severity: normal

Hi,

During the upgrade from 2009-15, dpkg is complaining about:

Dépaquetage de la mise à jour de texlive-base ...
Remplacement de fichiers dans l'ancien paquet tex-common ...
dpkg : avertissement : impossible de supprimer l'ancien répertoire « /etc/texmf/metafont/misc » : Le dossier n'est pas vide
dpkg : avertissement : impossible de supprimer l'ancien répertoire « /etc/texmf/metafont » : Le dossier n'est pas vide
dpkg : avertissement : impossible de supprimer l'ancien répertoire « /etc/texmf/texdoc » : Le dossier n'est pas vide

After all the packages have been confiured /etc/texmf/metafont and
/etc/texmf/texdoc are empty and not owned by any packages.

Cheers

Laurent Bigonville

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-base depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  dpkg                   1.16.2
ii  install-info           4.13a.dfsg.1-8
ii  libpaper-utils         1.1.24+nmu1
ii  luatex                 0.70.1-2
ii  mime-support           3.52-1
ii  tex-common             3.5
ii  texlive-binaries       2011.20120322-1
ii  texlive-common         2011.20120322-1
ii  texlive-doc-base       2011.20120322-1
ii  ucf                    3.0025+nmu2

Versions of packages texlive-base recommends:
ii  lmodern  2.004.1-5

Versions of packages texlive-base suggests:
pn  evince [postscript-viewer]       3.2.1-1+b1
pn  ghostscript [postscript-viewer]  9.05~dfsg-4
pn  perl-tk                          <none>
pn  xpdf-reader | pdf-viewer         <none>

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  dpkg                   1.16.2
ii  ucf                    3.0025+nmu2

Versions of packages tex-common suggests:
ii  debhelper  9.20120322

Versions of packages texlive-base is related to:
ii  tex-common        3.5
ii  texlive-binaries  2011.20120322-1

-- debconf information excluded




Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX Maintainers <debian-tex-maint@lists.debian.org>:
Bug#665795; Package texlive-base. (Mon, 26 Mar 2012 08:57:09 GMT) (full text, mbox, link).


Acknowledgement sent to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian TeX Maintainers <debian-tex-maint@lists.debian.org>. (Mon, 26 Mar 2012 08:57:09 GMT) (full text, mbox, link).


Message #10 received at 665795@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@logic.at>
To: Laurent Bigonville <bigon@debian.org>, 665795@bugs.debian.org
Subject: Re: Bug#665795: texlive-base upgrade leaves empty directories behind
Date: Mon, 26 Mar 2012 17:55:38 +0900
clone 665795 -1
reassign -1 dpkg
retitle -1 dpkg-maintscript-helper does not remove empty directories
thanks

On Mo, 26 Mär 2012, Laurent Bigonville wrote:
> During the upgrade from 2009-15, dpkg is complaining about:
> 
> Dépaquetage de la mise à jour de texlive-base ...
> Remplacement de fichiers dans l'ancien paquet tex-common ...
> dpkg : avertissement : impossible de supprimer l'ancien répertoire « /etc/texmf/metafont/misc » : Le dossier n'est pas vide
> dpkg : avertissement : impossible de supprimer l'ancien répertoire « /etc/texmf/metafont » : Le dossier n'est pas vide
> dpkg : avertissement : impossible de supprimer l'ancien répertoire « /etc/texmf/texdoc » : Le dossier n'est pas vide
> 
> After all the packages have been confiured /etc/texmf/metafont and
> /etc/texmf/texdoc are empty and not owned by any packages.

I see, that is true, and there are more directories like that.

It comes from the fact that I assumed that using dpkg-maintscript-helper
will remove empty directories, too, which it doesn't.

I am cloning this bug and reassiǵn to dpkg so that this might get
implemented.

dpkg maintainers: After removing a conffile it might be useful to add
	rmdir --ignore-if-empty $(basename $file)
or whatever you are using.

For the TeX Live packages, this is a problem now, because I really
don't know how to autogenreate it. I will look into it.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
VOBSTER (n.)
A strain of perfectly healthy rodent which develops cancer the moment
it enter a laboratory.
			--- Douglas Adams, The Meaning of Liff




Bug 665795 cloned as bug 665797 Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Mon, 26 Mar 2012 08:57:11 GMT) (full text, mbox, link).


Bug reassigned from package 'texlive-base' to 'dpkg'. Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Mon, 26 Mar 2012 08:57:12 GMT) (full text, mbox, link).


No longer marked as found in versions texlive-base/2011.20120322-1. Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Mon, 26 Mar 2012 08:57:12 GMT) (full text, mbox, link).


Changed Bug title to 'dpkg-maintscript-helper does not remove empty directories' from 'texlive-base upgrade leaves empty directories behind' Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Mon, 26 Mar 2012 08:57:13 GMT) (full text, mbox, link).


Merged 584185 665797 Request was from Ivo De Decker <ivo.dedecker@ugent.be> to control@bugs.debian.org. (Sat, 23 Jun 2012 08:09:05 GMT) (full text, mbox, link).


Merged 584185 665797 790040 Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sat, 02 Mar 2019 21:30:05 GMT) (full text, mbox, link).


Changed Bug title to 'dpkg-maintscript-helper: rm_conffile prevents dpkg from removing empty directory' from 'dpkg-maintscript-helper does not remove empty directories'. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sat, 02 Mar 2019 21:30:06 GMT) (full text, mbox, link).


Merged 584185 665797 790040 815969 816335 826075 Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sat, 02 Mar 2019 21:30:10 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 27 22:20:57 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.