Hatena::Groupfreebsd

peanutsjamjamのFreeBSD日記 このページをアンテナに追加 RSSフィード

2011-03-16

/usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError) /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError) - peanutsjamjamのFreeBSD日記 を含むブックマーク はてなブックマーク - /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError) - peanutsjamjamのFreeBSD日記 /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError) - peanutsjamjamのFreeBSD日記 のブックマークコメント

portupgrade でエラー出た。なんだろこれ。

freebsd74-1# pkgdb -u
--->  Updating the pkgdb
freebsd74-1# portupgrade -na | & tee pna
--->  Session started at: Wed, 16 Mar 2011 18:04:03 +0900
--->  Upgrade of x11/dri2proto started at: Wed, 16 Mar 2011 18:07:11 +0900
--->  Upgrading 'dri2proto-2.2' to 'dri2proto-2.3' (x11/dri2proto)
OK? [no]

(snip)

OK? [no]
--->  Upgrade of devel/libpciaccess ended at: Wed, 16 Mar 2011 18:07:13 +0900 (consumed 00:00:00)
--->  ** Upgrade tasks 120: 7 done, 0 ignored, 0 skipped and 0 failed
--->  Skipping 'bsdpan-LWP-MediaTypes-6.01' because it is held by user (specify -f to force)
--->  Session ended at: Wed, 16 Mar 2011 18:07:14 +0900 (consumed 00:03:10)
/usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError)
        from /usr/local/sbin/portupgrade:1004:in `new'
        from /usr/local/sbin/portupgrade:1004:in `do_upgrade'
        from /usr/local/sbin/portupgrade:814:in `main'
        from /usr/local/sbin/portupgrade:810:in `each'
        from /usr/local/sbin/portupgrade:810:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
        from /usr/local/sbin/portupgrade:231:in `new'
        from /usr/local/sbin/portupgrade:231:in `main'
        from /usr/local/sbin/portupgrade:2219
freebsd74-1#

ためしに、bsdpan-LWP-MediaTypes-6.01 をアンインストールして、再度やってみた。

freebsd74-1# pkg_deinstall bsdpan-LWP-MediaTypes-6.01
--->  Deinstalling 'bsdpan-LWP-MediaTypes-6.01'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 324 packages found (-1 +0) (...)(? bsdpan-L
WP-MediaTypes-6.01) done]
freebsd74-1# portupgrade -na | & tee pna
--->  Session started at: Wed, 16 Mar 2011 18:14:50 +0900
--->  Upgrade of x11/dri2proto started at: Wed, 16 Mar 2011 18:17:43 +0900
--->  Upgrading 'dri2proto-2.2' to 'dri2proto-2.3' (x11/dri2proto)
OK? [no]

(snip)

OK? [no]
--->  Upgrade of x11-fonts/libfontenc ended at: Wed, 16 Mar 2011 18:17:44 +0900 (consumed 00:00:00)
--->  ** Upgrade tasks 119: 4 done, 0 ignored, 0 skipped and 0 failed
--->  Skipping 'bsdpan-Net-HTTP-6.00' because it is held by user (specify -f to force)
--->  Session ended at: Wed, 16 Mar 2011 18:17:45 +0900 (consumed 00:02:54)
/usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError)
        from /usr/local/sbin/portupgrade:1004:in `new'
        from /usr/local/sbin/portupgrade:1004:in `do_upgrade'
        from /usr/local/sbin/portupgrade:814:in `main'
        from /usr/local/sbin/portupgrade:810:in `each'
        from /usr/local/sbin/portupgrade:810:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
        from /usr/local/sbin/portupgrade:231:in `new'
        from /usr/local/sbin/portupgrade:231:in `main'
        from /usr/local/sbin/portupgrade:2219
freebsd74-1#

どうすりゃいいんだ。

環境:

freebsd74-1# uname -a
FreeBSD freebsd74-1.local 7.4-RELEASE FreeBSD 7.4-RELEASE #0: Thu Feb 17 03:51:56 UTC 2011     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
freebsd74-1#
freebsd74-1# diff -u /usr/local/etc/pkgtools.conf.sample /usr/local/etc/pkgtools.conf
--- /usr/local/etc/pkgtools.conf.sample 2011-03-16 16:21:53.000000000 +0900
+++ /usr/local/etc/pkgtools.conf        2011-03-16 18:26:10.000000000 +0900
@@ -384,6 +384,9 @@
   #   }

   MAKE_ARGS = {
+    '*' => [
+      'WITHOUT_X11=1',
+    ],
   }

   MAKE_ENV = {
freebsd74-1#
freebsd74-1# grep -C4 'bsdpan' /usr/local/etc/pkgtools.conf
  # cf. pkg_glob(1), ports_glob(1)
  #
  # e.g.:
  #   HOLD_PKGS = [
  #     'bsdpan-*',
  #     'x11*/XFree86*',
  #   ]

  HOLD_PKGS = [
    'bsdpan-*',
  ]

  # IGNORE_MOVED: array
  #
freebsd74-1#

AzzarelAzzarel 2013/02/13 21:30 Fraknly I think that's absolutely good stuff.

nlgwlslnlgwlsl 2013/02/14 23:40 BoOKjd <a href="http://mrsugzahdcew.com/">mrsugzahdcew</a>

ruwhmmrruwhmmr 2013/02/17 01:38 jPnHIy <a href="http://vryrdnmjngfu.com/">vryrdnmjngfu</a>

ゲスト



トラックバック - http://freebsd.g.hatena.ne.jp/peanutsjamjam/20110316