Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2012 23:24:19 -0500 (EST)
From:      AN <andy@neu.net>
To:        freebsd-ports@freebsd.org
Subject:   need help with pkg - failed portupgrade
Message-ID:  <alpine.BSF.2.00.1212112310510.33217@mail.neu.net>
In-Reply-To: <mailman.6206.1355255343.1793.freebsd-ports@freebsd.org>
References:  <mailman.6206.1355255343.1793.freebsd-ports@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r244122: Tue Dec 11 
15:24:02 EST 2012     root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64

While running portupgrade due to (The pcre library has been updated to 
version 8.32.  Please rebuild all ports that depend on it.) I had the 
following failure:

The command I ran was :portupgrade -vfr devel/pcre

and it failed with:
===>  Cleaning for gnome-screensaver-2.30.2_3
--->  Removing temporary files and directories
--->  Removing old package'
--->  Installation of x11/gnome-screensaver ended at: Tue, 11 Dec 2012 
23:01:06 -0500 (consumed 00:00:15)
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... USING PKGNG
- 798 packages found (-0 +1) . done]
--->  Reinstallation of x11/gnome-screensaver ended at: Tue, 11 Dec 2012 
23:01:08 -0500 (consumed 00:01:40)
--->  ** Upgrade tasks 278: 200 done, 0 ignored, 7 skipped and 2 failed
** No origin recorded: libreoffice-3.5.7
** Specify one with -o option, or run 'pkgdb -F' to interactively fix it.
--->  Session ended at: Tue, 11 Dec 2012 23:01:08 -0500 (consumed 
04:51:07)
/usr/local/lib/ruby/site_ruby/1.8/pkgtools/pkgtools.rb:964:in 
`initialize': ArgumentError (ArgumentError)
 	from /usr/local/sbin/portupgrade:1060:in `new'
 	from /usr/local/sbin/portupgrade:1060:in `do_upgrade'
 	from /usr/local/sbin/portupgrade:855:in `main'
 	from /usr/local/sbin/portupgrade:850:in `each'
 	from /usr/local/sbin/portupgrade:850:in `main'
 	from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
 	from /usr/local/sbin/portupgrade:237:in `new'
 	from /usr/local/sbin/portupgrade:237:in `main'
 	from /usr/local/sbin/portupgrade:2371


I deleted Libreoffice with:
pkg -d delete libreoffice-3.5.7

# pkgdb -vF
USING PKGNG
pkgdb -F not supported with PKGNG yet. Use 'pkg check' directly.
[root@FBSD10 ~]# pkg check
usage: pkg check [-Bdsr] [-vy] [-a | -gxX <pattern>]

For more information see 'pkg help check'.

Not sure how to proceed now, any help is appreciated.

Once I get this fixed, how can I restart portupgrade from where it ended 
and not recompile the ports that were already updated?

Thanks in advance.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1212112310510.33217>