From owner-freebsd-questions@FreeBSD.ORG Wed May 26 01:15:59 2004 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 B03CD16A4CE for ; Wed, 26 May 2004 01:15:59 -0700 (PDT) Received: from mirrorball.theloosingend.net (m069c.studby.ntnu.no [129.241.130.69]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A3B143D39 for ; Wed, 26 May 2004 01:15:58 -0700 (PDT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: (qmail 19148 invoked by uid 1001); 26 May 2004 08:15:08 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 26 May 2004 08:15:08 -0000 Date: Wed, 26 May 2004 10:15:08 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@mirrorball.theloosingend.net To: Chuck Swiger In-Reply-To: <40B389E7.5070607@mac.com> Message-ID: <20040526101024.V17830@mirrorball.theloosingend.net> References: <40B38735.8080609@wcborstel.nl> <40B389E7.5070607@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Jorn Argelo cc: freebsd Questions Subject: Re: Strange pkg_info output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 08:15:59 -0000 [Jorn Argelo] > Recently I came across something which kind of bothered me. Every time > when pkg_info removes and/or registers a package it gives this output: > > pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded > pkg_info: package bsdpan-DBI-1.42 has no origin recorded > pkg_info: package bsdpan-GD-1.19 has no origin recorded > > Should I be worried about this? Or, how do I fix this? Do you get this output only when using pkg_info as a regular user? If so, take a look at the permissions on the directory and files in /var/db/pkg/bsdpan-DBD-mysql-2.9003 et.al. If your umask is set at 077 when installing ports, this directory gets the wrong permission bits set. I get this problem once in a while put it's solved doing: find /var/db/pkg -type f -print0 | xargs -0 chmod 755 find /var/db/pkg -type d -print0 | xargs -0 chmod 644 /sve