upgrade of portupgrade to 2.4.9,2
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 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 # # 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 # 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.. ___ 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"
Re: upgrade of portupgrade to 2.4.9,2
On 08/21/11 08:26, n dhert wrote: I did a portupgrade on a freebsd 8.2-RELEASE of the portupgrade program itself portupgrade-2.4.8_1,2Reinstalling 'libchk-1.10.1' (sysutils/libchk) ---> Building '/usr/ports/sysutils/libchk' ===> Cleaning for libchk-1.10.1 ===> License check disabled, port has not defined LICENSE ===> Extracting for libchk-1.10.1 => SHA256 Checksum OK for libchk-1.10.1.tar.bz2. ===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found ===> Patching for libchk-1.10.1 ===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found ===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found ===> Configuring for libchk-1.10.1 ===> Building for libchk-1.10.1 Warning: Object directory not changed from original /usr/ports/sysutils/libchk/work/libchk-1.10.1 gzip -cn libchk.1 > libchk.1.gz ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'libchk-1.10.1' [Updating the pkgdb in /var/db/pkg ... - 361 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for libchk-1.10.1 ===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found ===> Generating temporary packing list install -o root -g wheel -m 555 libchk.rb /usr/local/sbin/libchk install -o root -g wheel -m 444 libchk.1.gz /usr/local/man/man1 ===> Registering installation for libchk-1.10.1 ===> Cleaning for libchk-1.10.1 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... - 362 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) - ["ruby-1.9.2.290,1"] (["ruby-1.9.2.290,1"]: 1.9.2.290,1"]: Not in due form: '[_][,]'.) - ["openssl-1.0.0_5"] (["openssl-1.0.0_5"]: 1.0.0_5"]: Not in due form: '[_][,]'.) - ["libyaml-0.1.4_1"] (["libyaml-0.1.4_1"]: 0.1.4_1"]: Not in due form: '[_][,]'.) - ["perl-5.8.9_5"] (["perl-5.8.9_5"]: 5.8.9_5"]: Not in due form: '[_][,]'.) - ["makedepend-1.0.3,1"] (["makedepend-1.0.3,1"]: 1.0.3,1"]: Not in due form: '[_][,]'.) - ["pkg-config-0.25_1"] (["pkg-config-0.25_1"]: 0.25_1"]: Not in due form: '[_][,]'.) - ["libiconv-1.13.1_1"] (["libiconv-1.13.1_1"]: 1.13.1_1"]: Not in due form: '[_][,]'.) - ["m4-1.4.16,1"] (["m4-1.4.16,1"]: 1.4.16,1"]: Not in due form: '[_][,]'.) - ["p5-Locale-gettext-1.05_3"] (["p5-Locale-gettext-1.05_3"]: 1.05_3"]: Not in due form: '[_][,]'.) (I think the ignored packages should have been reinstalled... however this was only a try at fixing the previous error). I also issued "portsdb -uU" *after* the portupgrade update, but to no avail. bye av. P.S. This is on 7.3/amd64 and 8.1/i386. ___ 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"
Re: upgrade of portupgrade to 2.4.9,2
On Sun, 21 Aug 2011 15:18:28 +0200 Andrea Venturoli mentioned: > On 08/21/11 08:26, n dhert wrote: > > I did a portupgrade on a freebsd 8.2-RELEASE > > of the portupgrade program itself > > portupgrade-2.4.8_1,2> (that upgraded also ruby to 1.9: > > I did the same on some boxes and I'm having a lot of troubles too... > > # pkgdb -L > Look for lost dependencies: > undefined method `map' for # > Hi! Can you, please, try the portupgrade version from the ports? It should fix those issues. Sorry for the inconvinences! -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp0hdEIsQdvG.pgp Description: PGP signature
Re: upgrade of portupgrade to 2.4.9,2
On 08/23/11 09:58, Stanislav Sedov wrote: On Sun, 21 Aug 2011 15:18:28 +0200 Andrea Venturoli mentioned: On 08/21/11 08:26, n dhert wrote: 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: I did the same on some boxes and I'm having a lot of troubles too... # pkgdb -L Look for lost dependencies: undefined method `map' for # Hi! Can you, please, try the portupgrade version from the ports? It should fix those issues. Not really. I tried "portupgrade -R portupgrade", but still had a messed-up system. Since I don't use Ruby for much and had only portupgrade and libchk using it, I wiped them all and reinstalled portupgrade from scratch. This also reinstalled ruby. I'm still getting "undefined method `map'..." when I run pkgdb, however. # pkg_info -r portupgrade\* Information for portupgrade-2.4.9.2,2: Depends on: Dependency: libyaml-0.1.4_1 Dependency: openssl-1.0.0_5 Dependency: pkg-config-0.25_1 Dependency: libffi-3.0.9 Dependency: ruby-1.9.2.290,1 Sorry for the inconvinences! You're welcome, I appreciate your work and help. bye & Thanks av. ___ 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"
Re: upgrade of portupgrade to 2.4.9,2
On Tue, 23 Aug 2011 11:00:48 +0200 Andrea Venturoli mentioned: > On 08/23/11 09:58, Stanislav Sedov wrote: > > On Sun, 21 Aug 2011 15:18:28 +0200 > > Andrea Venturoli mentioned: > > > >> On 08/21/11 08:26, n dhert wrote: > >>> 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: > >> > >> I did the same on some boxes and I'm having a lot of troubles too... > >> > >> # pkgdb -L > >> Look for lost dependencies: > >> undefined method `map' for # > >> > > > > Hi! > > > > Can you, please, try the portupgrade version from the ports? > > It should fix those issues. > > Not really. > > I tried "portupgrade -R portupgrade", but still had a messed-up system. > Since I don't use Ruby for much and had only portupgrade and libchk > using it, I wiped them all and reinstalled portupgrade from scratch. > This also reinstalled ruby. > I'm still getting "undefined method `map'..." when I run pkgdb, however. > Hi! Are you sure you have the latest one (2.4.9.2_2,2). If not, you can grab it from here: http://www.freebsd.org/cgi/cvsweb.cgi/ports/ports-mgmt/portupgrade/ (the page has a small "download as a tarball" link at the bottom). Let me know if it works! Thanks! -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpIFzfzVWD0P.pgp Description: PGP signature
Re: upgrade of portupgrade to 2.4.9,2
This ruby+portupgrade upgrade seems to be quite a mess. My systems fetch new ports tree nightly and I upgrade during the day when I have some spare time. So, this morning my systems had the new ruby versions and the UPDATING instruction, but not the new portupgrade port version (not that it had helped, but anyway). So, portupgrade -fr lang/ruby18 failed. Right now, I've got one system (the less critical one) upgraded with the latest and portupgrade is still failing. The other I backed down to ruby18 and portupgrade-2.4.8_1,2 and that works. Information from the upgraded system: # pkg_info -Ia | egrep 'ruby|portupgrade' portupgrade-2.4.9.2_2,2 FreeBSD ports/packages administration and management tool s ruby-1.9.2.290,1 An object-oriented interpreted scripting language ruby19-bdb-0.6.6 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat Here's an example failure output. I get the same errors whatever port I try to upgrade.. # portupgrade -f portupgrade-2.4.9.2_2,2 ---> Session started at: Tue, 23 Aug 2011 11:10:02 +0200 ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! ports-mgmt/portupgrade (portupgrade-2.4.9.2_2,2) (can't modify frozen string) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Saving the results to '/var/log/portupgrade.results' ** Failed to save the results: undefined method `install_data' for # ---> Session ended at: Tue, 23 Aug 2011 11:10:08 +0200 (consumed 00:00:05) Regards, Andréas On Tue, 23 Aug 2011 11:00:48 +0200, Andrea Venturoli wrote: > On 08/23/11 09:58, Stanislav Sedov wrote: > >> On Sun, 21 Aug 2011 15:18:28 +0200 Andrea Venturoli mentioned: >> >>> On 08/21/11 08:26, n dhert wrote: >>> 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: >>> I did the same on some boxes and I'm having a lot of troubles too... # pkgdb -L Look for lost dependencies: undefined method `map' for # >> Hi! Can you, please, try the portupgrade version from the ports? It should fix those issues. > > Not really. > > I tried "portupgrade -R portupgrade", but still had a messed-up system. > Since I don't use Ruby for much and had only portupgrade and libchk > using it, I wiped them all and reinstalled portupgrade from scratch. > This also reinstalled ruby. > I'm still getting "undefined method `map'..." when I run pkgdb, however. > >> # pkg_info -r portupgrade* Information for portupgrade-2.4.9.2,2: Depends on: Dependency: libyaml-0.1.4_1 Dependency: openssl-1.0.0_5 Dependency: pkg-config-0.25_1 Dependency: libffi-3.0.9 Dependency: ruby-1.9.2.290,1 > Sorry for the inconvinences! > > You're welcome, I appreciate your work and help. > > bye & Thanks > av. > ___ > freebsd-questions@free> freebsd.org/mailman/listinfo > tions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org [2]" Links: -- [1] mailto:m...@netfence.it [2] mailto:freebsd-questions-unsubscr...@freebsd.org ___ 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"
Re: upgrade of portupgrade to 2.4.9,2
On 08/23/11 11:11, Stanislav Sedov wrote: Are you sure you have the latest one (2.4.9.2_2,2). If not, you can grab it from here: http://www.freebsd.org/cgi/cvsweb.cgi/ports/ports-mgmt/portupgrade/ (the page has a small "download as a tarball" link at the bottom). You are right: I had just "csupped", and saw a portupgrade update, but it was not _2. Probably it.cvsup.freebsd.org is a little behind :-) Let me know if it works! For pkgdb, so far, so fine. I'm still getting "stack level too deep" (see other post), but this is not on all boxes and I'm investigating it. Thanks a lot. bye av. ___ 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"