From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 11:53:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB73B37B401 for ; Mon, 14 Jul 2003 11:53:23 -0700 (PDT) Received: from server.sirtis.org.uk (dsl-217-155-170-59.zen.co.uk [217.155.170.59]) by mx1.FreeBSD.org (Postfix) with SMTP id 0032E43F85 for ; Mon, 14 Jul 2003 11:53:21 -0700 (PDT) (envelope-from jonathan@sirtis.org.uk) Received: (qmail 79623 invoked by uid 1006); 14 Jul 2003 18:53:19 -0000 Received: from jonathan@sirtis.org.uk by server.sirtis.org.uk by uid 1011 with qmail-scanner-1.15 spamassassin: 2.43. Clear:SA:0(-2.6/5.0):. Processed in 3.029154 secs); 14 Jul 2003 18:53:19 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Received: from unknown (HELO sirtis.org.uk) (webmail%sirtis.org.uk@217.155.170.58) by 0 with SMTP; 14 Jul 2003 18:53:16 -0000 Message-ID: <3F12FC20.6040207@sirtis.org.uk> Date: Mon, 14 Jul 2003 19:53:20 +0100 From: Jonathan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: rs1_9c98b83100d, rs2_0492abec4e2, rs3_cd142b81ab MIME-Version: 1.0 To: Tim Kellers References: <20030713083946.H7537-100000@serv1.wallnet.com> <44brvxhu3z.fsf@be-well.ilk.org> <200307141430.13839.timothyk@wallnet.com> In-Reply-To: <200307141430.13839.timothyk@wallnet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: make install, portupgrade, etc broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 18:53:24 -0000 Tim Kellers wrote: > Just tried it again (cut and paste, not a typescipt output) > > mts-128# pkg_delete /var/db/pkg/nulib-3.25/ > mts-128# pkg_info /usr/ports/archivers/nulib/ > pkg_info: can't find package 'nulib' installed or in a file! > mts-128# cd /var/db/pkg > mts-128# ls -la nulib* > ls: No match. > mts-128# > > It seemed to work and didn't return an error > > On the broken fileserver: > > su-2.03# pkg_delete /var/db/pkg/nmap-2.53/ > su-2.03# whereis nmap > nmap: /usr/ports/security/nmap > su-2.03# pkg_info security/nmap > pkg_info: can't find package 'nmap' installed or in a file! > su-2.03# What's wrong with your "broken" fileserver? You deinstall a package, you use the whereis command and then you run pkg_info on something that doesn't exist. That's perfectly correct. Here's mine: -su-2.05b# whereis nmap nmap: /usr/local/bin/nmap /usr/local/man/man1/nmap.1.gz /usr/ports/security/nmap -su-2.05b# pkg_info security/nmap pkg_info: can't find package 'nmap' installed or in a file! -su-2.05b# pkg_info nmap pkg_info: can't find package 'nmap' installed or in a file! -su-2.05b# pkg_info nmap-3.30 Information for nmap-3.30: Comment: Port scanning utility for large networks [snip out the rest of the description] Your broken stuff doesn't tell us anything, really. What does "pkg_info" show you about everything you have installed? Have happens in you try "portinstall nmap" which doesn't require a specific version? - J P.S. Why are you not just using the package names for your pkg commands?