From owner-freebsd-ports Tue Mar 7 23:51:44 2000 Delivered-To: freebsd-ports@freebsd.org Received: from thelab.hub.org (nat195.52.mpoweredpc.net [142.177.195.52]) by hub.freebsd.org (Postfix) with ESMTP id 39D9237B5E9 for ; Tue, 7 Mar 2000 23:51:42 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.3) with ESMTP id DAA65612; Wed, 8 Mar 2000 03:51:38 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Wed, 8 Mar 2000 03:51:38 -0400 (AST) From: The Hermit Hacker To: Akinori -Aki- MUSHA Cc: freebsd-ports@FreeBSD.ORG Subject: Re: scan /var/db/pkg for new ports ... In-Reply-To: <86em9l6hmc.wl@archon.local.idaemons.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Beautiful, I love it ... but: # # cvsup-bin # multiple versions (index has 16.1) # cd /usr/ports/net/cvsup-bin make && pkg_delete -f cvsup-bin-15.4.2,16.0,16.1 make install if you run as presented, procduces: pkg_delete: no such package 'cvsup-bin-15.4.2,16.0,16.1' installed Not a big issue, as I'll just do it manually, but figured someone might like to know ... On Wed, 8 Mar 2000, Akinori -Aki- MUSHA wrote: > At Wed, 8 Mar 2000 03:08:30 -0400 (AST), > The Hermit Hacker wrote: > > has anyone written a quick shell script that would compare what is in > > /var/db/pkg and /usr/ports to provide a summary of what ports come > > "newer" then what are installed? > > > > Just trying to avoid "recreating the wheel" ... > > pkg_version(1) is your very friend. :) > > -- > / > /__ __ > / ) ) ) ) / > Akinori -Aki- MUSHA aka / (_ / ( (__( > > "If you choose not to decide you still have made a choice." > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message