The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 what's wrong with pkg_version -c?
Author: Daniel 
Date:   24-01-02 00:59

I've read about portupgrade on some other occations too. I have been using another alternative for a long time.

This does the trick for me:

pkg_version > update
vi update #edit as necessary, for ports you don't want to upgrade, etc

chmod 700 update; ./update

Am I missing something? This has been a feature of pkg_version for quite some releases.

db

Reply To This Message
 
 Re: what's wrong with pkg_version -c?
Author: daniel 
Date:   24-01-02 01:09

the trick of course, is

pkg_version -c > update,

not simple pkg_version > update.

Reply To This Message
 
 Re: what's wrong with pkg_version -c?
Author: random 
Date:   28-01-02 08:40

portupgrade -R only upgrades the packages you _need_ upgrade, where with pkg_version -c you would have a lot of editing to do.

Reply To This Message
 
 Re: what's wrong with pkg_version -c?
Author: Dan Langille 
Date:   28-01-02 09:01

note the difference between -R and -r:

-r
--recursive Do with all those packages depending on the given
packages as well.

-R
--upward-recursive Do with all those packages required by the given
packages as well. (When specified with -F, fetch
recursively, including the brand new, uninstalled
ports that an upgraded port requires)

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org