Re: "portmanager -s" deletes ports?



Pieter de Goeje wrote:
On Wednesday 23 May 2007, illoai@xxxxxxxxx wrote:
On 23/05/07, Norberto Meijome <freebsd@xxxxxxxxxxx> wrote:
On Wed, 23 May 2007 03:15:05 +0100

RW <fbsd06@xxxxxxxxxxxxxxxxxxx> wrote:
pkg_version -vl"<" will give you a list of out of date ports.
Alternatively,

portversion -v | grep \<

eg:

[betom@ayiin] [Wed May 23 17:26:33 2007]
/usr/home/betom
$ portversion -v | grep \<
[Updating the portsdb <format:bdb_btree> in /var/tmp ... - 17232 port
entries found
.........1000.........2000.........3000.........4000.........5000........
.6000.........7000.........8000.........9000.........10000.........11000..
.......12000.........13000.........14000.........15000.........16000......
...17000.. ..... done] eclipse-3.2.1_1 < needs updating (port
has 3.2.1_3) en-openoffice.org-GB-2.2.0 < [held] needs updating (port
has 2.2.0_1) gnomehier-2.2_1 < needs updating (port has
2.2_2)
% pkg_version -vL=
(slow, but works for 7.x)
I believe it is safe (for now) to symlink INDEX-6 as INDEX-7. This will allow pkg_version -I to be used on -CURRENT.
or
% pkg_version -vIL=
(faster, assuming you have an up-to-date INDEX, 5.x or 6.x)
if you don't use ports-mgmt/portupgrade

- Pieter de Goeje

This will may change in the future, so I don't suggest doing that.
INDEX-7 is automatically downloaded when you get "make fetchindex" anyhow, so why do you want to symlink the two Indeces?
-Garrett
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Efficient grep using Python? [OT]
    ... >Remember the original poster had 100K entries! ... $ time grep -Fvf B A>/dev/null ... and the unix way gets overly complicated if DSU ... $ cat>A ...
    (comp.lang.python)
  • Re: Syntax a little funny ....
    ... programmer from the "algebraic" school (FORTRAN, algol, pascal, C, ... James Edward Gray II writes: ... > it returns all entries in the directory. ... > That returned list is immediately fed to another built-in, grep(). ...
    (perl.beginners)
  • Re: Re: Grep uniqueness issue
    ... I need to avoid using any OS dependant commands. ... >> I am having an odd problem using grep to ensure an array only contains ... >> These entries may or may not appear multiple times within that list. ... >> I am trying to create an ARRAY containing each of these entries only once ...
    (perl.beginners)
  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Grep uniqueness issue
    ... I am having an odd problem using grep to ensure an array only contains distinct entries. ... I am trying to create an ARRAY containing each of these entries only once. ...
    (perl.beginners)