Re: Different output from pkg_version

2001-03-19 Thread Bruce A. Mah

If memory serves me right, Dag-Erling Smorgrav wrote:
> Martti Kuparinen <[EMAIL PROTECTED]> writes:
> > [...]
> > The only solution for my problem might be to reinstall the port so that
> > this ORIGIN-entry would be created. I haven't checked the source code
> > so I'm not 100% sure but this seems right so far...
> 
> Your analysis is correct. Note that bash won't work any differently if
> you reinstall it, the only difference will be that pkg_version will be
> better able to tell what version you have.

(Sorry for the late reply, I'm working through a two-week email 
backlog.)

DES is correct; the newer pkg_version (which uses the ORIGIN directive)
is better able to make a determination about what's current.
"up-to-date with index" in more recent versions of pkg_version is the
equivalent of "up-to-date" in older versions (the ones that only checked
the INDEX file).

Martti, you didn't say why this was a problem for you...or was this 
just simple curiosity?

Bruce.




 PGP signature


Re: Different output from pkg_version

2001-03-05 Thread Dag-Erling Smorgrav

Martti Kuparinen <[EMAIL PROTECTED]> writes:
> [...]
> The only solution for my problem might be to reinstall the port so that
> this ORIGIN-entry would be created. I haven't checked the source code
> so I'm not 100% sure but this seems right so far...

Your analysis is correct. Note that bash won't work any differently if
you reinstall it, the only difference will be that pkg_version will be
better able to tell what version you have.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



RE: Different output from pkg_version

2001-03-04 Thread Don Read


On 04-Mar-01 Martti Kuparinen wrote:
> Hi!
> 
> Does anyone know a reason for the difference in the following outputs:
> 

> ROOT ws3:~> pkg_version -v | grep bash
> bash-2.04   =   up-to-date with port
>~

 
> ROOT server:~> pkg_version -v | grep bash
> bash-2.04   *   multiple versions (index has 1.14.7,2.04)
>  ~~
      ^^  

pkg_version is telling you that the INDEX does not match exactly what's 
installed.

If you want out of date ports, use pkg_version -vl"<"

Regards,
-- 
Don Read [EMAIL PROTECTED]
-- If you are going to sin, sin against God, not the bureaucracy. 
  God will forgive you but the bureaucrats won't. 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message