Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2000 15:24:01 -0400 (EDT)
From:      ben@narcissus.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/17958: pkg_delete runs away when given path with trailing /
Message-ID:  <20000412192401.7C88FA0@narcissus.net>

next in thread | raw e-mail | index | archive | help

>Number:         17958
>Category:       bin
>Synopsis:       pkg_delete runs away when given path with trailing /
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 12 12:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ben Rosengart
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Blue Dingo
>Environment:

I cvsupped and rebuilt this system yesterday evening (around midnight
GMT).

>Description:

When running "pkg_delete w3m-ssl-0.1.7/", pkg_delete consumes 100% of
the CPU and does not complete.  I tried three times, with the same result.
The fourth time, I deleted the trailing slash, and pkg_delete worked fine.

I then tried the same with another package, but it deleted fine even
with the slash.  However, I am able to reproduce the problem with w3m-ssl.

>How-To-Repeat:

cd /usr/ports/www/w3m-ssl
make install
cd /var/db/pkg
pkg_delete w3m-ssl-0.1.7/

>Fix:

Workaround is to not use the trailing slash, I'd guess the fix has
something to do with the new code that was recently added to pkg_delete
to handle trailing slashes.  ;-)

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000412192401.7C88FA0>