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

Bug#403649: debian-policy: Should clarify package availability in "postrm remove"



Package: debian-policy
Version: 3.7.2.1
Severity: normal
Tags: patch

Current Policy says:

,---- 7.2 Binary Dependencies
| The Depends field should also be used if the postinst, prerm or
| postrm scripts require the package to be present in order to
| run. Note, however, that the postrm cannot rely on any
| non-essential packages to be present during the purge phase.
`----

I suggest to add to the second sentence: ", and that only the postinst 
script can rely on the package to be configured."

I'm not even sure whether the postinst can rely on "configuredness" for
all types of incovation, or only for "configure"/"reconfigure".

For an example why this difference is important, see #403641

Regards, Frank

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.17-2-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

-- no debconf information

-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: