LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-25-2004, 09:51 PM   #1
proton666
Member
 
Registered: Jan 2003
Distribution: FreeBSD 5.3
Posts: 35

Rep: Reputation: 15
portupgrade


When I try to run portupgrade -ra I keep on getting "portupgrade:command not found". I did a make install clean for portupgrade. What am I doing wrong?
 
Old 03-25-2004, 10:07 PM   #2
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Maybe you can try putting the full path to portupgrade, mine is /usr/local/sbin/portupgrade. You can try using locate to find where your portupgrade is installed. Also, are you really sure that portupgrade installed correctly?
 
Old 03-25-2004, 10:26 PM   #3
proton666
Member
 
Registered: Jan 2003
Distribution: FreeBSD 5.3
Posts: 35

Original Poster
Rep: Reputation: 15
If I go /usr/local/sbin/ I see a portupgradge file. I tried locate but said my database was too small. I installed through ports and didnt see any error messages during the install.
 
Old 03-25-2004, 10:27 PM   #4
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
what shell are you using? try typing in "rehash"
 
Old 03-25-2004, 10:29 PM   #5
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Okay, if you see it in /usr/local/sbin, did you try running it from the command line with the full path? Also, to fix the locate, run the command "periodic weekly", and that will fix the database.
 
Old 03-25-2004, 10:58 PM   #6
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
install portupgrade from ports
cd /usr/ports/
make search name=portupgrade
cd /usr/ports/response/portupgrade
make install clean
rehash
which portupgrade
portupgrade -rRa

i suppose you've already run cvsup to use portupgrade....
 
Old 03-25-2004, 11:05 PM   #7
proton666
Member
 
Registered: Jan 2003
Distribution: FreeBSD 5.3
Posts: 35

Original Poster
Rep: Reputation: 15
Yes I did run cvsup. I forgot to run from the command line. Once I did that it worked fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
portupgrade will not upgrade anything Rhatlinux *BSD 3 04-30-2005 09:06 PM
Can't install portupgrade proton666 *BSD 2 11-14-2004 06:22 PM
cvsup vs portupgrade satimis *BSD 7 06-09-2004 10:54 AM
Uninstall errors after portupgrade Mikessu *BSD 3 06-08-2004 12:40 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration