Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2011 08:26:43 +0200
From:      n dhert <ndhertbsd@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   upgrade of portupgrade to 2.4.9,2
Message-ID:  <CAEFCw4unqOje7Vm5Vq_JY-c4rUhKtwL3OeW6u36762RzGLUfag@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
I did a portupgrade on a freebsd 8.2-RELEASE
of the portupgrade program itself
portupgrade-2.4.8_1,2               <   needs updating (index has 2.4.9,2)
(that upgraded also ruby to 1.9:
...
===>  Cleaning for ruby-1.9.2.290,1
===>  Cleaning for ruby19-bdb-0.6.6
===>  Cleaning for libffi-3.0.9
===>  Cleaning for libyaml-0.1.4_1
===>  Cleaning for portupgrade-2.4.9,2
)

After the portupgrade finished, I did
# pkgdb -F
--->  Checking the package registry database
Duplicated origin: databases/ruby-bdb - ruby18-bdb-0.6.6 ruby19-bdb-0.6.6
Unregister any of them? [no] yes
  Unregister ruby18-bdb-0.6.6 keeping the installed files intact? [no] yes
  -> ruby19-bdb-0.6.6 is kept.
  --> Saving the ruby18-bdb-0.6.6's +CONTENTS file as
/var/db/pkg/ruby19-bdb-0.6
.6/+CONTENTS.ruby18-bdb-0.6.6
  --> Unregistering ruby18-bdb-0.6.6
  --> Done.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 70 packages
found (-
1 +0) (...) done]
Stale dependency: portupgrade-2.4.9,2 -> ruby18-bdb-0.6.6
(databases/ruby-bdb):
undefined method `map' for #<String:0x00000801cfc020>

# pkgdb -F
--->  Checking the package registry database
Stale dependency: portupgrade-2.4.9,2 -> ruby18-bdb-0.6.6
(databases/ruby-bdb):
undefined method `map' for #<String:0x000008016ea628>
So it seems portupgrade does not use ruby 1.9, but I already unregistered it
How to un-unregister that, or how to make portugprade use ruby 1.9 ?
There's nothing in /usr/ports/UPDATING about that..



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAEFCw4unqOje7Vm5Vq_JY-c4rUhKtwL3OeW6u36762RzGLUfag>