Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-08 Thread Chris Pressey
On Tue, 09 Dec 2003 11:39:13 +1300
"Richard Shea" <[EMAIL PROTECTED]> wrote:

> Hi - I've just installed 4.8 from scatch. The next thing I wanted to
> do was to CVSUP so I ...
> 
> cd /usr/ports/net/cvsupit
> make install distclean
> 
> ... that was a bit strange because cvsupit seemed to start
> automatically as part of the 'make'. I wasn't watching it happen but I
> flicked back to the screen and I found I was being prompted for which
> CVSUP server I wanted to use. 
> 
> Anyway I went along with that and allowed the CVSUP session to start
> and and all seemed to go well, I ended up with a  "All finished! ...
> blah, blah" dialog box (not a real dialog I was running this from the
> command line). 
> 
> However when I then pressed Enter on that dialog box (to go back to
> the prompt) I get ...
> 
> ===>   Generating temporary packing list
> ** Missing package files for cvsupit-3.1.
> *** Error code 1
> 
> Stop in /usr/ports/net/cvsupit.
> 
> ... that doesn't look too good and yet the CVSUP session appears to
> have all gone fine - can anyone explain what's happening ?
> 
> regards
> 
> richard shea.

No clue as to what's going wrong, sorry.

But you should probably be using cvsup (or cvsup-without-gui), as IIRC
cvsupit is obsolete.  (It's not in my ports tree, anyway.)

Probably the simplest way to install cvsup-without-gui on a fresh system
is to use /stand/sysinstall -> Configure -> Packages.  (You can also use
the pkg_add command in the command line but I don't remember the
invokation offhand.)

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


Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-08 Thread Richard Shea

On Mon, 8 Dec 2003 14:53:33 -0800, "Chris Pressey"
<[EMAIL PROTECTED]> said:
> On Tue, 09 Dec 2003 11:39:13 +1300
> "Richard Shea" <[EMAIL PROTECTED]> wrote:
> 
> > Hi - I've just installed 4.8 from scatch. The next thing I wanted to
> > do was to CVSUP so I ...
> > 
> > cd /usr/ports/net/cvsupit
> > make install distclean
> > 
> > ... that was a bit strange because cvsupit seemed to start
> > automatically as part of the 'make'. I wasn't watching it happen but I
> > flicked back to the screen and I found I was being prompted for which
> > CVSUP server I wanted to use. 
> > 
> > Anyway I went along with that and allowed the CVSUP session to start
> > and and all seemed to go well, I ended up with a  "All finished! ...
> > blah, blah" dialog box (not a real dialog I was running this from the
> > command line). 
> > 
> > However when I then pressed Enter on that dialog box (to go back to
> > the prompt) I get ...
> > 
> > ===>   Generating temporary packing list
> > ** Missing package files for cvsupit-3.1.
> > *** Error code 1
> > 
> > Stop in /usr/ports/net/cvsupit.
> > 
> > ... that doesn't look too good and yet the CVSUP session appears to
> > have all gone fine - can anyone explain what's happening ?
> > 
> > regards
> > 
> > richard shea.
> 
> No clue as to what's going wrong, sorry.
> 
> But you should probably be using cvsup (or cvsup-without-gui), as IIRC
> cvsupit is obsolete.  (It's not in my ports tree, anyway.)
>
Hmmm, OK ... I was working off ...

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

... and re-reading that has answered part of my question ...


If you do not know anything about CVSup at all and want a single package
which will install it, set up the configuration file and start the
transfer via a pointy-clicky type of interface, then get the net/cvsupit
package. Just hand it to pkg_add(1) and it will lead you through the
configuration process in a menu-oriented fashion.


... don't know if the doco is out of date ? I may use something else in
the future as you suggest but what I'm interested in initially is does
this message ...

===>   Generating temporary packing list
** Missing package files for cvsupit-3.1.
*** Error code 1

... mean the machine is in a good state or a bad state (.. ah, the
eternal question :-)

thanks

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


Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-08 Thread Kris Kennaway
On Tue, Dec 09, 2003 at 12:00:15PM +1300, Richard Shea wrote:

> Hmmm, OK ... I was working off ...
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
> 
> ... and re-reading that has answered part of my question ...
> 
> 
> If you do not know anything about CVSup at all and want a single package
> which will install it, set up the configuration file and start the
> transfer via a pointy-clicky type of interface, then get the net/cvsupit
> package. Just hand it to pkg_add(1) and it will lead you through the
> configuration process in a menu-oriented fashion.
> 
> 
> ... don't know if the doco is out of date ?

Apparently.  cvsupit was removed from the ports collection about 6
months ago because it was broken for months and no-one came forward
with a fix.

Kris


pgp0.pgp
Description: PGP signature


Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-08 Thread Chris Pressey
On Tue, 09 Dec 2003 12:00:15 +1300
"Richard Shea" <[EMAIL PROTECTED]> wrote:

> On Mon, 8 Dec 2003 14:53:33 -0800, "Chris Pressey"
> <[EMAIL PROTECTED]> said:
> > On Tue, 09 Dec 2003 11:39:13 +1300
> > "Richard Shea" <[EMAIL PROTECTED]> wrote:
> > 
> > > [of cvsupit weirdness]
> >
> > No clue as to what's going wrong, sorry.
> > 
> > But you should probably be using cvsup (or cvsup-without-gui), as
> > IIRC cvsupit is obsolete.  (It's not in my ports tree, anyway.)
> >
> Hmmm, OK ... I was working off ...
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
> 
> ... and re-reading that has answered part of my question ...
> 
> 
> If you do not know anything about CVSup at all and want a single
> package which will install it, set up the configuration file and start
> the transfer via a pointy-clicky type of interface, then get the
> net/cvsupit package. Just hand it to pkg_add(1) and it will lead you
> through the configuration process in a menu-oriented fashion.
> 
> 
> ... don't know if the doco is out of date ?

Looks like it.  According to the CVS logs, cvsupit was removed on May 6
of this year:

  http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/cvsupit/Attic/

> I may use something else
> in the future as you suggest but what I'm interested in initially is
> does this message ...
> 
> ===>   Generating temporary packing list
> ** Missing package files for cvsupit-3.1.
> *** Error code 1
> 
> ... mean the machine is in a good state or a bad state (.. ah, the
> eternal question :-)

Hm, I would say a bad state, but not *very* bad.  Looks like cvsupit is
partially installed?  You might be able to fix it up by running

  pkg_delete cvsupit-3.1

which should delete any files that were installed by the cvsupit
package (and possibly give you some warnings when trying to delete ones
that weren't.)

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


Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-08 Thread Richard Shea

On Mon, 8 Dec 2003 15:40:39 -0800, "Chris Pressey"
<[EMAIL PROTECTED]> said:
> On Tue, 09 Dec 2003 12:00:15 +1300
> "Richard Shea" <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, 8 Dec 2003 14:53:33 -0800, "Chris Pressey"
> > <[EMAIL PROTECTED]> said:
> > > On Tue, 09 Dec 2003 11:39:13 +1300
> > > "Richard Shea" <[EMAIL PROTECTED]> wrote:
> > > 
> > > > [of cvsupit weirdness]
> > >
> > > No clue as to what's going wrong, sorry.
> > > 
> > > But you should probably be using cvsup (or cvsup-without-gui), as
> > > IIRC cvsupit is obsolete.  (It's not in my ports tree, anyway.)
> > >
> > Hmmm, OK ... I was working off ...
> > 
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
> > 
> > ... and re-reading that has answered part of my question ...
> > 
> > 
> > If you do not know anything about CVSup at all and want a single
> > package which will install it, set up the configuration file and start
> > the transfer via a pointy-clicky type of interface, then get the
> > net/cvsupit package. Just hand it to pkg_add(1) and it will lead you
> > through the configuration process in a menu-oriented fashion.
> > 
> > 
> > ... don't know if the doco is out of date ?
> 
> Looks like it.  According to the CVS logs, cvsupit was removed on May 6
> of this year:
> 
>   http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/cvsupit/Attic/
> 
> > I may use something else
> > in the future as you suggest but what I'm interested in initially is
> > does this message ...
> > 
> > ===>   Generating temporary packing list
> > ** Missing package files for cvsupit-3.1.
> > *** Error code 1
> > 
> > ... mean the machine is in a good state or a bad state (.. ah, the
> > eternal question :-)
> 
> Hm, I would say a bad state, but not *very* bad.  Looks like cvsupit is
> partially installed?  You might be able to fix it up by running
> 
>   pkg_delete cvsupit-3.1
> 
> which should delete any files that were installed by the cvsupit
> package (and possibly give you some warnings when trying to delete ones
> that weren't.)
> 
That's a good idea, I hadn't thought of it. However strange stuff
persists because when I tried that I got ...

trinidad# pkg_delete cvsupit-3.1
pkg_delete: no such package 'cvsupit-3.1' installed

... - that's even though it just ran ! I then started looking in to the
relevant ports directory and this is what I saw ...

trinidad# pwd
/usr/ports/net/cvsupit
trinidad# ls
work
trinidad# cd work
trinidad# ls -l
total 0
-rw-r--r--  1 root  wheel  0 Dec  7 22:59 .build_done.cvsupit-3.1
-rw-r--r--  1 root  wheel  0 Dec  7 22:59 .configure_done.cvsupit-3.1
-rw-r--r--  1 root  wheel  0 Dec  7 22:59 .extract_done.cvsupit-3.1
-rw-r--r--  1 root  wheel  0 Dec  7 22:59 .patch_done.cvsupit-3.1
trinidad#

... I take it those files are used as a form of logging ? So on the one
hand it's 'build_done' but on the other hand pkg_delete doesn't know
about the package ! Just did a ...

trinidad# find / -name "*vsupi*" -print

... and didn't find anything elsewhere in the system either ... 

All in all a bit of a mystery - anyone else fancy having a go at
explaining what might have happened or what it all means ;-)

regards

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


Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-09 Thread Chris Pressey
On Tue, 09 Dec 2003 15:14:38 +1300
"Richard Shea" <[EMAIL PROTECTED]> wrote:

> 
> On Mon, 8 Dec 2003 15:40:39 -0800, "Chris Pressey"
> <[EMAIL PROTECTED]> said:
> > On Tue, 09 Dec 2003 12:00:15 +1300
> > "Richard Shea" <[EMAIL PROTECTED]> wrote:
> > [...]
> > > ===>   Generating temporary packing list
> > > ** Missing package files for cvsupit-3.1.
> > > *** Error code 1
> > > 
> > > ... mean the machine is in a good state or a bad state (.. ah, the
> > > eternal question :-)
> > 
> > Hm, I would say a bad state, but not *very* bad.  Looks like cvsupit
> > is partially installed?  You might be able to fix it up by running
> > 
> >   pkg_delete cvsupit-3.1
> > 
> > which should delete any files that were installed by the cvsupit
> > package (and possibly give you some warnings when trying to delete
> > ones that weren't.)
> > 
> That's a good idea, I hadn't thought of it. However strange stuff
> persists because when I tried that I got ...
> 
> trinidad# pkg_delete cvsupit-3.1
> pkg_delete: no such package 'cvsupit-3.1' installed
> 
> ... - that's even though it just ran ! I then started looking in to
> the relevant ports directory and this is what I saw ...
> 
> trinidad# pwd
> /usr/ports/net/cvsupit
> trinidad# ls
> work
> trinidad# cd work
> trinidad# ls -l
> total 0
> -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .build_done.cvsupit-3.1
> -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .configure_done.cvsupit-3.1
> -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .extract_done.cvsupit-3.1
> -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .patch_done.cvsupit-3.1
> trinidad#
> 
> ... I take it those files are used as a form of logging ?

Sort of.  They're little 'cookies' that help indicate which phases have
been completed thus far, to the ports 'make' scripts.

> So on the
> one hand it's 'build_done' but on the other hand pkg_delete doesn't
> know about the package !

Not too surprising; if the install had completed sucessfully, there'd be
a '.install_done.cvsupit-3.1' file there too.

> Just did a ...
> 
> trinidad# find / -name "*vsupi*" -print
> 
> ... and didn't find anything elsewhere in the system either ... 
> 
> All in all a bit of a mystery - anyone else fancy having a go at
> explaining what might have happened or what it all means ;-)

Most likely, it built cvsupit sucessfully, then went to install it, but
found something it didn't like, so it stopped there.

Chances are it stopped before it installed anything - especially in
light of your find command.  In which case, your system isn't in a bad
state after all.

But if you want to be *really* certain, have a look at
/usr/ports/net/cvsupit/pkg-plist.  It should contain a list of all the
files the port wanted to install.  You can search for each of them in
your system, and delete them if you find them.

Note that the files listed in pkg-plist are missing the installation
prefix, usually "/usr/local/", so you have to tack that on yourself
mentally before looking for them.  Also, there might be filenames with
variables like %%THIS%% in it, in which case you'll have to look in the
Makefile to see what those variables would have been replaced with.

> regards
> 
> richard.

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


Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-11 Thread Richard Shea

On Tue, 9 Dec 2003 10:41:50 -0800, "Chris Pressey"
<[EMAIL PROTECTED]> said:
> On Tue, 09 Dec 2003 15:14:38 +1300
> "Richard Shea" <[EMAIL PROTECTED]> wrote:
> 
> > 
> > On Mon, 8 Dec 2003 15:40:39 -0800, "Chris Pressey"
> > <[EMAIL PROTECTED]> said:
> > > On Tue, 09 Dec 2003 12:00:15 +1300
> > > "Richard Shea" <[EMAIL PROTECTED]> wrote:
> > > [...]
> > > > ===>   Generating temporary packing list
> > > > ** Missing package files for cvsupit-3.1.
> > > > *** Error code 1
> > > > 
> > > > ... mean the machine is in a good state or a bad state (.. ah, the
> > > > eternal question :-)
> > > 
> > > Hm, I would say a bad state, but not *very* bad.  Looks like cvsupit
> > > is partially installed?  You might be able to fix it up by running
> > > 
> > >   pkg_delete cvsupit-3.1
> > > 
> > > which should delete any files that were installed by the cvsupit
> > > package (and possibly give you some warnings when trying to delete
> > > ones that weren't.)
> > > 
> > That's a good idea, I hadn't thought of it. However strange stuff
> > persists because when I tried that I got ...
> > 
> > trinidad# pkg_delete cvsupit-3.1
> > pkg_delete: no such package 'cvsupit-3.1' installed
> > 
> > ... - that's even though it just ran ! I then started looking in to
> > the relevant ports directory and this is what I saw ...
> > 
> > trinidad# pwd
> > /usr/ports/net/cvsupit
> > trinidad# ls
> > work
> > trinidad# cd work
> > trinidad# ls -l
> > total 0
> > -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .build_done.cvsupit-3.1
> > -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .configure_done.cvsupit-3.1
> > -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .extract_done.cvsupit-3.1
> > -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .patch_done.cvsupit-3.1
> > trinidad#
> > 
> > ... I take it those files are used as a form of logging ?
> 
> Sort of.  They're little 'cookies' that help indicate which phases have
> been completed thus far, to the ports 'make' scripts.
> 
> > So on the
> > one hand it's 'build_done' but on the other hand pkg_delete doesn't
> > know about the package !
> 
> Not too surprising; if the install had completed sucessfully, there'd be
> a '.install_done.cvsupit-3.1' file there too.
> 
> > Just did a ...
> > 
> > trinidad# find / -name "*vsupi*" -print
> > 
> > ... and didn't find anything elsewhere in the system either ... 
> > 
> > All in all a bit of a mystery - anyone else fancy having a go at
> > explaining what might have happened or what it all means ;-)
> 
> Most likely, it built cvsupit sucessfully, then went to install it, but
> found something it didn't like, so it stopped there.
> 
> Chances are it stopped before it installed anything - especially in
> light of your find command.  In which case, your system isn't in a bad
> state after all.
> 
> But if you want to be *really* certain, have a look at
> /usr/ports/net/cvsupit/pkg-plist.  It should contain a list of all the
> files the port wanted to install.  You can search for each of them in
> your system, and delete them if you find them.

Hi Chris -  Thanks for the advice and sorry for the delay. I've taken a
look in /usr/ports/net/cvsupit but pkg-plist does not exist so given all
the other factors I think I will conclude that things are probably OK.

I suppose one day I will crack this updating of FreeBSD machines. To date
I have been using FreeBSD for three years and I have two different
experiences 

(A) a machine I installed 3.x on three years ago have never touched since
and it runs beautifully (still I worry 
about security holes), everything I could ask for.

(B) two other machines I have installed 4.x on in the last 6 months
(both, to some degree 'play' machines). On both have attempted to update
sources etc via CVSUP and have never had anything but grief/pain/boredom.
I'm sure there are people out there who do this all the time and it all
works but I'm not one of them ! Maybe one day !

thanks again for your advice.

regards

richard.


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


Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-12 Thread Chris Pressey
On Fri, 12 Dec 2003 12:49:34 +1300
"Richard Shea" <[EMAIL PROTECTED]> wrote:

> Hi Chris -  Thanks for the advice and sorry for the delay. I've taken
> a look in /usr/ports/net/cvsupit but pkg-plist does not exist

That's quite possibly why it failed to install in the first place :)

> so given
> all the other factors I think I will conclude that things are probably
> OK.

Yes.

> I suppose one day I will crack this updating of FreeBSD machines. To
> date I have been using FreeBSD for three years and I have two
> different experiences 
> 
> (A) a machine I installed 3.x on three years ago have never touched
> since and it runs beautifully (still I worry 
> about security holes), everything I could ask for.
> 
> (B) two other machines I have installed 4.x on in the last 6 months
> (both, to some degree 'play' machines). On both have attempted to
> update sources etc via CVSUP and have never had anything but
> grief/pain/boredom. I'm sure there are people out there who do this
> all the time and it all works but I'm not one of them ! Maybe one day
> !

Maybe I got lucky, but I never had many great problems doing it...
last time I did it, it went something like:

- install cvsup-without-gui from package on CD using /stand/sysinstall
- copy /usr/share/examples/cvsup/src-supfile to /etc/cvsup/src-supfile
- edit /etc/cvsup/src-supfile so that it reads like:

  *default host=cvsup5.FreeBSD.org
  *default base=/usr
  *default prefix=/usr
  *default release=cvs
  *default tag=RELENG_4
  *default delete use-rel-suffix
  *default compress
  src-all

- do similarly for ports-supfile and doc-supfile
- edit /etc/make.conf like:

  SUP_UPDATE= yes
  SUP=/usr/local/bin/cvsup
  SUPFLAGS=   -g -L 2
  SUPFILE=/etc/cvsup/src-supfile
  PORTSSUPFILE=   /etc/cvsup/ports-supfile
  DOCSUPFILE= /etc/cvsup/doc-supfile

- cd into /usr/src
- run 'make update'
- and that's all!

> thanks again for your advice.
> 
> regards
> 
> richard.

No problem.

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