Subject: Re: Knowing about renamed/deleted pkgs
To: Martin Husemann <martin@duskware.de>
From: Pavel Cahyna <pavel.cahyna@st.cuni.cz>
List: tech-pkg
Date: 11/13/2004 22:19:23
On Fri, 12 Nov 2004 08:23:03 +0000, Martin Husemann wrote:

> I do not follow pkgsrc very closely most of the time. So I regularily miss
> pkgs being moved/renamed. This makes updating a machine with pkg_chk a
> hell.
> 
> Could we have some central, machine readable, file in pkgsrc/doc where
> such events are recorded? Then we could teach pkg_chk how to deal/warn/abort
> when it finds one of the old pkgs installed or in pkgchk.conf.

Is this what you want? (From Debian GNU/Linux)

$ dpkg -p sgmltools-2		# equivalent of pkg_info
Package: sgmltools-2
Priority: optional
Section: text
(...)
Version: 2.0.2.dummy-7
Depends: sgmltools-lite (>= 3.0.2.3.cvs0-3)
Filename: pool/main/s/sgmltools-2/sgmltools-2_2.0.2.dummy-7_all.deb
Size: 2990
MD5sum: 6185de14c9ada33ae4db9fcd0244e9d1
Description: Replaced by sgmltools-lite (dummy package for upgrade)
 sgmltools-2 is now obsoleted and replaced by sgmltools-lite.
 This is dummy package for automatic migration.

Bye	Pavel