Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2003 14:01:49 -0600
From:      Mike Meyer <mwm-dated-1049313710.0c4d10@mired.org>
To:        John Fox <jjf@mind.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 'origin not recorded' error upon attempt to use pkg_add
Message-ID:  <16004.43565.940740.444681@guru.mired.org>
In-Reply-To: <20030328170506.GA72049@mind.net>
References:  <20030328170506.GA72049@mind.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20030328170506.GA72049@mind.net>, John Fox <jjf@mind.net> typed:
> Hello!
> Upon attempts to use 'pkg_add' utility, I get a string of error messages
> such as the following:
> 
>    pkg_add: package wterm-6.2.7a1 has no origin recorded
>    pkg_add: package wmtime-1.0b2 has no origin recorded
>[...]

> 2) Theories about what causes this condition.
>    (Least important)

That's easy - the packages are old enough that they didn't record
their origin.

> 1) The methodology by which I can correct this error condition.
>    (Most important)

Installing newer versions of the packages is the obvious way. You can
also go into /var/db/pkg/wterm-6.2.7a1/+CONTENTS and add a line that
says "@comment ORIGIN:x11/wterm" after the @name line. There may be
other magic required as well, but this worked for the one I did it to.

What's odd is that this shouldn't make pkg_add fail. Is it possible
that you're getting another error message in amongst these complaints?

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



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