Re: Deleting uncompressed Info/Doc files at upgrades
Santiago Vila wrote:
> On Thu, 1 Oct 1998, Peter S Galbraith wrote:
> > It occurs to me that upgrading a package should delete old versions
> > of user-uncompressed doc and info files.
> The package system is not supposed to read your mind.
> You should probably take a look at /var/lib/dpkg/info/*.list
> This is where dpkg remembers which files belong to which packages.
> You should never uncompress files "in place" because then dpkg will be
> unable to remove the files which belong to a certain package when it is
> removed or replace by a new one.
But... That was my point!
Uncompressing docs or info is *not* unusual, nor should it be frowned
upon. We should accommodate the possibility of that happening. The same
way that a properly-configured Emacs will read-in a compressed file
correctly, dpkg should treat an uncompressed file as the same and upgrade
Peter Galbraith, research scientist <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
6623'rd GNU/Linux user at the GNU/Linux Counter -- http://counter.li.org/