pkg_version says my ports need to be updated?

2013-05-27 Thread Ed Flecko
Clearly, I'm doing something wrong.

:-)

I thought I was using svn to keep my ports, src and docs up to date, but
pkg_version seems to disagree.

I'm running 9.1 and I've installed ports, src, and docs as part of my
install. After that, I use subversion to (I thought) make sure everything
was up to date.

I ran these commands:

/usr/local/bin/svn up /usr/src

/usr/local/bin/svn up /usr/ports

/usr/local/bin/svn up /usr/doc

and then I ran:


pkg_version -vIL =



and it says  needs updating (index has ...) on about 1 dozen items. So my
index is out of sync with my ports???

What did I screw up and how do I correct it?

Thank you!

Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkg_version says my ports need to be updated?

2013-05-27 Thread RW
On Mon, 27 May 2013 11:00:52 -0700
Ed Flecko wrote:

 Clearly, I'm doing something wrong.
 
 :-)
 
 I thought I was using svn to keep my ports, src and docs up to date,
 but pkg_version seems to disagree.
 
 I'm running 9.1 and I've installed ports, src, and docs as part of my
 install. After that, I use subversion to (I thought) make sure
 everything was up to date.
 
 I ran these commands:
 
 /usr/local/bin/svn up /usr/src
 
 /usr/local/bin/svn up /usr/ports
 
 /usr/local/bin/svn up /usr/doc
 
 and it says  needs updating (index has ...) on about 1 dozen items.
 So my index is out of sync with my ports???

You updated the source code for the base system, and the ports tree
(instructions for building and installing packages from source). You
updated neither the base system nor the installed packages. Take
another look at the handbook.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkg_version says my ports need to be updated?

2013-05-27 Thread Matthew Seaman
On 27/05/2013 19:00, Ed Flecko wrote:
 Clearly, I'm doing something wrong.
 
 :-)
 
 I thought I was using svn to keep my ports, src and docs up to date, but
 pkg_version seems to disagree.
 
 I'm running 9.1 and I've installed ports, src, and docs as part of my
 install. After that, I use subversion to (I thought) make sure everything
 was up to date.
 
 I ran these commands:
 
 /usr/local/bin/svn up /usr/src
 
 /usr/local/bin/svn up /usr/ports
 
 /usr/local/bin/svn up /usr/doc
 
 and then I ran:
 
 
 pkg_version -vIL =
 
 
 
 and it says  needs updating (index has ...) on about 1 dozen items. So my
 index is out of sync with my ports???
 
 What did I screw up and how do I correct it?

You seem to have updated the ports tree, which is a collection of
recipes for how to build ported software, but not actually updated by
rebuilding any of the ported software that has become out of date.

Try installing ports-mgmt/portmaster and then running

portmaster -a

Cheers,

Matthew
-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: pkg_version says my ports need to be updated?

2013-05-27 Thread Ed Flecko
Thank you both!

Since I want to know the correct way (or one of I'm sure many correct
ways) of initially installing the OS and then getting it up to date (and
staying up to date), can you tell me what I did wrong and/or what I might
want to do differently?

Ed


On Mon, May 27, 2013 at 11:16 AM, Matthew Seaman matt...@freebsd.orgwrote:

 On 27/05/2013 19:00, Ed Flecko wrote:
  Clearly, I'm doing something wrong.
 
  :-)
 
  I thought I was using svn to keep my ports, src and docs up to date, but
  pkg_version seems to disagree.
 
  I'm running 9.1 and I've installed ports, src, and docs as part of my
  install. After that, I use subversion to (I thought) make sure everything
  was up to date.
 
  I ran these commands:
 
  /usr/local/bin/svn up /usr/src
 
  /usr/local/bin/svn up /usr/ports
 
  /usr/local/bin/svn up /usr/doc
 
  and then I ran:
 
 
  pkg_version -vIL =
 
 
 
  and it says  needs updating (index has ...) on about 1 dozen items. So
 my
  index is out of sync with my ports???
 
  What did I screw up and how do I correct it?

 You seem to have updated the ports tree, which is a collection of
 recipes for how to build ported software, but not actually updated by
 rebuilding any of the ported software that has become out of date.

 Try installing ports-mgmt/portmaster and then running

 portmaster -a

 Cheers,

 Matthew
 --
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkg_version says my ports need to be updated?

2013-05-27 Thread Kurt Buff
Read the relevant portions of the handbook
Chapter 5:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

Chapter 25:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html

Then also:
man portmaster
man freebsd-update


On Mon, May 27, 2013 at 11:49 AM, Ed Flecko edfle...@gmail.com wrote:
 Thank you both!

 Since I want to know the correct way (or one of I'm sure many correct
 ways) of initially installing the OS and then getting it up to date (and
 staying up to date), can you tell me what I did wrong and/or what I might
 want to do differently?

 Ed


 On Mon, May 27, 2013 at 11:16 AM, Matthew Seaman matt...@freebsd.orgwrote:

 On 27/05/2013 19:00, Ed Flecko wrote:
  Clearly, I'm doing something wrong.
 
  :-)
 
  I thought I was using svn to keep my ports, src and docs up to date, but
  pkg_version seems to disagree.
 
  I'm running 9.1 and I've installed ports, src, and docs as part of my
  install. After that, I use subversion to (I thought) make sure everything
  was up to date.
 
  I ran these commands:
 
  /usr/local/bin/svn up /usr/src
 
  /usr/local/bin/svn up /usr/ports
 
  /usr/local/bin/svn up /usr/doc
 
  and then I ran:
 
 
  pkg_version -vIL =
 
 
 
  and it says  needs updating (index has ...) on about 1 dozen items. So
 my
  index is out of sync with my ports???
 
  What did I screw up and how do I correct it?

 You seem to have updated the ports tree, which is a collection of
 recipes for how to build ported software, but not actually updated by
 rebuilding any of the ported software that has become out of date.

 Try installing ports-mgmt/portmaster and then running

 portmaster -a

 Cheers,

 Matthew
 --
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkg_version says my ports need to be updated?

2013-05-27 Thread Warren Block

On Mon, 27 May 2013, Ed Flecko wrote:


Since I want to know the correct way (or one of I'm sure many correct
ways) of initially installing the OS and then getting it up to date (and
staying up to date), can you tell me what I did wrong and/or what I might
want to do differently?


A short overview:
http://www.wonkity.com/~wblock/docs/html/portupgrade.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org