in message <b79ecaef0904080551x74c80227h1a4ba5d2adcca...@mail.gmail.com>, wrote Chris Rees thusly... > > I recall from > http://lists.freebsd.org/pipermail/freebsd-ports/2008-March/047319.html > that there was a bug in portupgrade last year, causing it to break > when a port is recursively (-R) upgraded; it's surfacing for me > too :( > > [ch...@amnesiac]/usr/ports/ports-mgmt/portupgrade% portupgrade --version > portupgrade 2.4.6 > > Is this a 'fixed' version, or not? I think it's the most recent... > > [ch...@amnesiac]/usr/ports/ports-mgmt/portupgrade% sudo portupgrade > -rR emacs xterm curl php5-mbstring > otp-md5 488 am9338 ext > Password: > [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 263 > packages found (-3 +3) (...)... done] > [Gathering depends for editors/emacs > ....................................................................................................................................................................................................................................................................................................... > done] > [Exclude up-to-date packages > ....................................................................................... > done] > /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in `initialize': : Not > in due form: <name>-<version> (ArgumentError) > from /usr/local/sbin/portupgrade:614:in `new' > from /usr/local/sbin/portupgrade:614:in `main' ...
Does this Perl (5.8 & onwards) program ... http://www103.pair.com/parv/comp/src/perl/check-portupgrade-00 ... produces anything when run *without any arguments*? Purpose of the program is to find a port name (based on directory name in /var/db/pkg) which fails to match the regular expression /^(.+)-([^-]+)$/ used in pkginfo.rb, among other files of portupgrade. If the Perl program is run with any arguments, then a sorted list of matched names will be printed, something like ... aalib-1.4.r5_4 : aalib 1.4.r5_4 acroread8-8.1.2_2 : acroread8 8.1.2_2 acroreadwrapper-0.0.20080906 : acroreadwrapper 0.0.20080906 agg-2.5_5 : agg 2.5_5 aircrack-ng-1.0.r1 : aircrack-ng 1.0.r1 amspsfnt-1.0_5 : amspsfnt 1.0_5 ... - Parv -- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"