Re: 'origin not recorded' error upon attempt to use pkg_add

2003-03-28 Thread Mike Meyer
In <[EMAIL PROTECTED]>, John Fox <[EMAIL PROTECTED]> 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?

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


'origin not recorded' error upon attempt to use pkg_add

2003-03-28 Thread John Fox
Hello!

Upon attempts to use 'pkg_add' utility, I get a string of error messages
such as the following:

   pkg_add: package wmtime-1.0b2 has no origin recorded
   pkg_add: package wterm-6.2.7a1 has no origin recorded

It would be only a curiosity were it not for the fact that pkg_add *fails*
to add the requested package -- it returns a '1'.

So I am very curious about two things:

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

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

Thank you in advance for any advice,

John
+---+
| "I can't believe I'm back on Mars. Three times before this place almost   |
|  killed me. I swore I would never give it another chance to complete  |
|  the job. Humans got no business being here. No business at all." |
|  -- Michael Garibaldi, _Babylon 5_, "The Exercise of Vital Powers |
+---+
| John Fox <[EMAIL PROTECTED]> | System Administrator | Internet Ventures Oregon |
+---+



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"