Re: How can I rebuild prots databases?

2004-03-05 Thread stan
On Thu, Mar 04, 2004 at 05:06:29PM -0800, Kris Kennaway wrote:
 On Thu, Mar 04, 2004 at 04:36:21PM -0500, stan wrote:
  On Thu, Mar 04, 2004 at 11:52:32AM -0800, Kris Kennaway wrote:
   On Thu, Mar 04, 2004 at 08:07:54AM -0500, stan wrote:
I'n updating a bunch of older (around 4.2) machines. On ne of them I seem
to have managed to toatly muck up the ports dayabases :0(

I'm getting things like this when I run portupgrade:

!  (pgaccess-0.98.6)(missing origin)
!  (acroread-3.02)  (missing origin)
!  (netscape-wrapper-2000.07.07)(missing origin)
   
   Whichever way you go you'll have to either reinstall these ports by
   hand or tell portupgrade where they live in the ports tree (see
   e.g. the -o flag to portupgrade).  You installed them before the ports
   collection started recording the location of the port used to install
   the package, so you can rebuild the databases as much as you like, but
   it won't fix it :)
  
  
  AH, that explains what's goin on.
  
  Is there a way to do this without spending a whole day or so doing things
  manually?
 
 I told you above how you'll have to go about solving it.  It shouldn't
 take more than a couple of minutes.

Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb -F's 
prompts,
and I still can't get portupfrade to work :-)

What do I need to delete to just start from scratch, and build this by had?
Is portdb -F the correct way to be building it by hand?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I rebuild prots databases?

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 07:18:45AM -0500, stan wrote:

 I'm getting things like this when I run portupgrade:
 
 !  (pgaccess-0.98.6)(missing origin)
 !  (acroread-3.02)  (missing origin)
 !  (netscape-wrapper-2000.07.07)(missing origin)

 Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb 
 -F's prompts,
 and I still can't get portupfrade to work :-)

OK, that's a different problem than you told us about above.

Please be more specific: in what way does portupgrade not work for
you?  Include sample output showing the problem(s).

Kris


pgp0.pgp
Description: PGP signature


Re: How can I rebuild prots databases?

2004-03-05 Thread stan
On Fri, Mar 05, 2004 at 05:09:06AM -0800, Kris Kennaway wrote:
 On Fri, Mar 05, 2004 at 07:18:45AM -0500, stan wrote:
 
  I'm getting things like this when I run portupgrade:
  
  !  (pgaccess-0.98.6)(missing origin)
  !  (acroread-3.02)  (missing origin)
  !  (netscape-wrapper-2000.07.07)(missing origin)
 
  Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb 
  -F's prompts,
  and I still can't get portupfrade to work :-)
 
 OK, that's a different problem than you told us about above.
 
 Please be more specific: in what way does portupgrade not work for
 you?  Include sample output showing the problem(s).

OK, look at this session:


Script started on Fri Mar  5 13:15:11 2004
You have mail.
wateral# runsocks portupgrade -arR -l /home/stan/report
cd: can't cd to /usr/ports/X11/XFree86-4
make: don't know how to make all-depends-list. Stop

^C
Interrupted.
wateral# 
wateral# ^Dexit

Script done on Fri Mar  5 13:34:03 2004

As you can see, it just hangs there. That's 19 minutes with just the first
error, which is caused by a typo in my setting up things by hand (should be
x11, not X11). pkgd is not allowing me to fix that either.

Any sugestiosn?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I rebuild prots databases?

2004-03-05 Thread Kris Kennaway
On Fri, Mar 05, 2004 at 03:06:18PM -0500, stan wrote:
 On Fri, Mar 05, 2004 at 05:09:06AM -0800, Kris Kennaway wrote:
  On Fri, Mar 05, 2004 at 07:18:45AM -0500, stan wrote:
  
   I'm getting things like this when I run portupgrade:
   
   !  (pgaccess-0.98.6)(missing origin)
   !  (acroread-3.02)  (missing origin)
   !  (netscape-wrapper-2000.07.07)(missing origin)
  
   Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb 
   -F's prompts,
   and I still can't get portupfrade to work :-)
  
  OK, that's a different problem than you told us about above.
  
  Please be more specific: in what way does portupgrade not work for
  you?  Include sample output showing the problem(s).
 
 OK, look at this session:
 
 
 Script started on Fri Mar  5 13:15:11 2004
 You have mail.
 wateral# runsocks portupgrade -arR -l /home/stan/report
 cd: can't cd to /usr/ports/X11/XFree86-4
 make: don't know how to make all-depends-list. Stop
 
 ^C
 Interrupted.
 wateral# 
 wateral# ^Dexit
 
 Script done on Fri Mar  5 13:34:03 2004
 
 As you can see, it just hangs there. That's 19 minutes with just the first
 error, which is caused by a typo in my setting up things by hand (should be
 x11, not X11). pkgd is not allowing me to fix that either.
 
 Any sugestiosn?

For each package that has been set to the wrong location, use the -o
option to portupgrade (perhaps with the -f option) to rebuild it from
the correct location.

Kris

pgp0.pgp
Description: PGP signature


How can I rebuild prots databases?

2004-03-04 Thread stan
I'n updating a bunch of older (around 4.2) machines. On ne of them I seem
to have managed to toatly muck up the ports dayabases :0(

I'm getting things like this when I run portupgrade:

!  (pgaccess-0.98.6)(missing origin)
!  (acroread-3.02)  (missing origin)
!  (netscape-wrapper-2000.07.07)(missing origin)

I think the best plan is to completly rebuild from scratch the databases
that contain available ports, and the ports that are installed on this
machine. I've tried various combinations of pkgdb -F and pkgd -Uu. to no
avail.

Can I just remove all of these databases, and rebuiold them from scratch?
If so, how do I acomplish this?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I rebuild prots databases?

2004-03-04 Thread Kent Stewart
On Thursday 04 March 2004 05:07 am, stan wrote:
 I'n updating a bunch of older (around 4.2) machines. On ne of them I
 seem to have managed to toatly muck up the ports dayabases :0(

 I'm getting things like this when I run portupgrade:

 !  (pgaccess-0.98.6)(missing origin)
 !  (acroread-3.02)  (missing origin)
 !  (netscape-wrapper-2000.07.07)(missing origin)

 I think the best plan is to completly rebuild from scratch the
 databases that contain available ports, and the ports that are
 installed on this machine. I've tried various combinations of pkgdb
 -F and pkgd -Uu. to no avail.

 Can I just remove all of these databases, and rebuiold them from
 scratch? If so, how do I acomplish this?

Try portsdb -fu but I think I would manually instally ruby-1.8, 
ruby18-bdb1-0.2.2, and portupgrade first.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I rebuild prots databases?

2004-03-04 Thread Kris Kennaway
On Thu, Mar 04, 2004 at 08:07:54AM -0500, stan wrote:
 I'n updating a bunch of older (around 4.2) machines. On ne of them I seem
 to have managed to toatly muck up the ports dayabases :0(
 
 I'm getting things like this when I run portupgrade:
 
 !  (pgaccess-0.98.6)(missing origin)
 !  (acroread-3.02)  (missing origin)
 !  (netscape-wrapper-2000.07.07)(missing origin)

Whichever way you go you'll have to either reinstall these ports by
hand or tell portupgrade where they live in the ports tree (see
e.g. the -o flag to portupgrade).  You installed them before the ports
collection started recording the location of the port used to install
the package, so you can rebuild the databases as much as you like, but
it won't fix it :)

Kris


pgp0.pgp
Description: PGP signature


Re: How can I rebuild prots databases?

2004-03-04 Thread stan
On Thu, Mar 04, 2004 at 11:52:32AM -0800, Kris Kennaway wrote:
 On Thu, Mar 04, 2004 at 08:07:54AM -0500, stan wrote:
  I'n updating a bunch of older (around 4.2) machines. On ne of them I seem
  to have managed to toatly muck up the ports dayabases :0(
  
  I'm getting things like this when I run portupgrade:
  
  !  (pgaccess-0.98.6)(missing origin)
  !  (acroread-3.02)  (missing origin)
  !  (netscape-wrapper-2000.07.07)(missing origin)
 
 Whichever way you go you'll have to either reinstall these ports by
 hand or tell portupgrade where they live in the ports tree (see
 e.g. the -o flag to portupgrade).  You installed them before the ports
 collection started recording the location of the port used to install
 the package, so you can rebuild the databases as much as you like, but
 it won't fix it :)


AH, that explains what's goin on.

Is there a way to do this without spending a whole day or so doing things
manually?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I rebuild prots databases?

2004-03-04 Thread Kris Kennaway
On Thu, Mar 04, 2004 at 04:36:21PM -0500, stan wrote:
 On Thu, Mar 04, 2004 at 11:52:32AM -0800, Kris Kennaway wrote:
  On Thu, Mar 04, 2004 at 08:07:54AM -0500, stan wrote:
   I'n updating a bunch of older (around 4.2) machines. On ne of them I seem
   to have managed to toatly muck up the ports dayabases :0(
   
   I'm getting things like this when I run portupgrade:
   
   !  (pgaccess-0.98.6)(missing origin)
   !  (acroread-3.02)  (missing origin)
   !  (netscape-wrapper-2000.07.07)(missing origin)
  
  Whichever way you go you'll have to either reinstall these ports by
  hand or tell portupgrade where they live in the ports tree (see
  e.g. the -o flag to portupgrade).  You installed them before the ports
  collection started recording the location of the port used to install
  the package, so you can rebuild the databases as much as you like, but
  it won't fix it :)
 
 
 AH, that explains what's goin on.
 
 Is there a way to do this without spending a whole day or so doing things
 manually?

I told you above how you'll have to go about solving it.  It shouldn't
take more than a couple of minutes.

Kris


pgp0.pgp
Description: PGP signature