Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 10:15:08 +0200 (CEST)
From:      Svein Halvor Halvorsen <svein-freebsd-questions@theloosingend.net>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Strange pkg_info output
Message-ID:  <20040526101024.V17830@mirrorball.theloosingend.net>
In-Reply-To: <40B389E7.5070607@mac.com>
References:  <40B38735.8080609@wcborstel.nl> <40B389E7.5070607@mac.com>

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

[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



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