pkgsrc-Users archive

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

PKGREVISION arithmetics?


Just out of curiosity (before opening another PR): While making a "bmake replace" in graphics/p5-GD (working on pkg/46778), I noticed:

===> Deinstalling for p5-GD-2.46nb2
Running /usr/pkgsrc/20120411/sbin/pkg_delete -K /usr/pkgsrc/20120411/var/db/pkg -r p5-GD-2.46nb3
===> Building binary package for p5-GD-2.46nb2
=> Creating binary package /usr/pkgsrc/20120411/packages/All/p5-GD-2.46nb2.tgz
===> Install binary package of p5-GD-2.46nb2

Why does pkg_delete (second line) tries to delete revision 3 of the package, although the current revision is 2? Is there an off-by-one-error somewhere?

 Jörn Clausen                    
 Universität Bielefeld

Home | Main Index | Thread Index | Old Index