portmanager -slid deletes the wrong port!

Michael C. Shultz ringworm01 at gmail.com
Fri Nov 11 21:11:57 GMT 2005


On Friday 11 November 2005 12:07, Danny MacMillan wrote:
> Michael C. Shultz wrote:
> > On Wednesday 09 November 2005 22:53, Danny MacMillan wrote:
> >>I'm running portmanager to do some port maintenance on one of my
> >>servers.  I'm trying to delete devel/cvs2svn.  Each time I try to delete
> >>it, it deletes devel/python instead.  This is exceedingly disconcerting.
> >
> > Just underwent major revision, bound to be a few glitches, sorry about
> > that. The upgrade portion is pretty solid but looks like you might have
> > found a bug in -slid, if so I'll post a fix tomorrow. If your not at
> > version 0.3.3_2 then cvsup again and let me know for sure if that version
> > has this problem.
>
> Hi, Mike.
>
> The version of portmanager I was using when I experienced the problem
> was definitely 0.3.3_2; I verified the version when I saw it was
> misbehaving.  And although this is somewhat belated, here's the uname -a
> output on the affected system:
>
> FreeBSD hobbit.emerald-associates.com 6.0-RELEASE FreeBSD 6.0-RELEASE
> #0: Wed Nov  9 04:09:55 MST 2005
> root at hobbit.emerald-associates.com:/usr/obj/usr/src/sys/HOBBIT  i386
>
> After portmanager failed to work properly with cvs2svn, I did not
> attempt to use it to delete any other ports, so cvs2svn is the only case
> I know wasn't working.  I used pkg_delete to delete cvs2svn instead, so
> I can not verify the operation of the updated portmanager by using it to
> delete that port.  However, I just upgraded to the latest version of
> portmanager (0.3.4) and tested it against a different package and it
> worked properly.  Unless you receive other problem reports, I'd call the
> issue resolved.
>
> Thanks for the speedy response.


Thanks for reporting it! Stupid error on my part hopefully got caught before 
too much damage was done. :|

-Mike


More information about the freebsd-questions mailing list