On Sun, 7 Nov 2010, Ron (Lists) wrote:

I'm trying to upgrade my ports and I can't get portupgrade to do anything. I type 'sudo portupgrade apache' (or any package) and all I get back is a command prompt. No error or any other message. portversion seems to work correctly, showing my out of date ports, etc.

Is apache outdated? portupgrade won't update a port that's already at the current version unless you force it with -f.

Running portupgrade with -F doesn't help at all.

Well, no.  -F means to only download distfiles.

I've also noticed that tab-expansion isn't working like it used to on the port names, so that makes me wonder if the database is screwed up.

Filename completion is a function of the shell. I try it accidentally from time to time with port names because it just would make sense to work, but it has never worked because they don't exist as files. 'portupgrade -r gcc' followed by Tab doesn't complete because there isn't a file named gcc-4.4.6.20101026 in the path (although they are in /var/db/pkg).

Fortunately, name completion is not needed because portupgrade uses the pkg_name as a glob anyway.

My portupgrade article:
http://www.wonkity.com/~wblock/docs/html/portupgrade.html

If that doesn't do it, please show what
  portversion -vl'<'
shows for apache.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to