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 
 neat, but i wish it would be standard...
Author: Lx 
Date:   14-12-01 07:24

Why wasn't an effort made to merge these with the existing package tools? Portupgrade is nice, but I hesitate to use something nonstandard on a regular basis, especially when the existing tools are almost as good. I use pkg_version -c, which usually does just what I need. Besides the pkgdb, and the dependency fixing, it doesn't do that much more, and the advantage of pkgdb isn't much for me. So why not break down, write them in C, and submit some patches to the existing tools?

Not to say that they aren't handy tools, it just seems like there's a bit of duplication of effort with them. I do like being able to use abbreviated package names, so I'll probably keep it around for that reason :)

-lx

Reply To This Message
 
 Re: neat, but i wish it would be standard...
Author: Dan Langille 
Date:   15-12-01 18:22

non-standard? Do you mean not included with the base system?

Reply To This Message
 
 Re: neat, but i wish it would be standard...
Author: g2k 
Date:   02-01-02 02:40

cvsup for example isn't standard either (part of the base system that is) but everyone uses it regularily to update their system sources and it works just perfect. So I don't see what is wrong with using portupgrade and the pkg_tools.

g2k

Reply To This Message
 
 Re: neat, but i wish it would be standard...
Author: Dilly 
Date:   17-04-02 05:22

Forget what he said about "standard" (i don't know either)

why NOT use

pkg_version -c > update.sh

instead of portupgrade?

the only thing innovative (as far as I know) in this package is pkgdb, which IS very useful

so why not submit this utility to the pkgconfig people?

Reply To This Message
 
 Re: neat, but i wish it would be standard...
Author: K.C. 
Date:   08-07-03 03:29

From the pkg_version man page:

-c Enable commands output. Commands output includes the commands
you should type to update your installed packages to the latest
versions in the ports system. This feature does not constitute
an automated packages updating system. The output of this com-
mand must be edited, in order to avoid destroying dependencies
between installed packages.

I take the descriptions of portupgrade to mean that it will chase down all of those depending packages and change the version of the dependency in their DB entry to that of the newly upgraded port.

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