Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 22:01:18 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>, freebsd-questions@freebsd.org
Subject:   Re: portmaster -af and databases/db41
Message-ID:  <53758D8E.1030007@dreamchaser.org>
In-Reply-To: <53753227.3000907@infracaninophile.co.uk>
References:  <53752562.8010205@dreamchaser.org> <53753227.3000907@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

> If you have an earlier version of db41 installed, then portmaster -af
> will try and upgrade it to a later version of the db41 port, with the
> observed warning about the port being deprecated.
> 
> You need to tell portmaster to replace db41 with db5 --
> 
>    portmaster -o db5 db41

Thanks, that part worked great. 
(other than it needed to be "portmaster -o databases/db5 db41")

> and then force reinstall everything that used to depend on db41 but that
> now depends on db5 ---
> 
>    portmaster -fr db5
> 
> before proceeding with trying to update everything else.

But now I'm seeing something weird.  
The portmaster -fr db5 seems to be in an infinite loop,
repeatedly installing pkg.1.2.7_2

The following is showing up repeatedly in the stdout stream:
  ===> scripts/sbin (install)
  install -o root  -g wheel -m 555  pkg2ng  /usr/ports/ports-mgmt/pkg/work/stage/u
  sr/local/sbin/pkg2ng
  ====> Compressing man pages (compress-man)
  
  ===>>> Creating a backup package for old version pkg-1.2.7_2
  Creating package for pkg-1.2.7_2

Checking on the dates of the installed packages:
  ~$ diff info_pkg.txt_1 info_pkg.txt_2
  4c4
  < Installed on   : Thu May 15 21:33:42 MDT 2014
  ---
  > Installed on   : Thu May 15 21:38:16 MDT 2014
  ~$ diff info_gettext.txt_1 info_gettext.txt_2
  4c4
  < Installed on   : Thu May 15 21:35:55 MDT 2014
  ---
  > Installed on   : Thu May 15 21:54:55 MDT 2014

Checking on the running processes:
$ ps ax | grep portmaster
14754 v1  I+       0:00.01 /bin/sh /usr/local/sbin/portmaster gobject-introspec
34314 v1  I+       0:00.01 /bin/sh /usr/local/sbin/portmaster libiconv-1.14_3
51555 v1  I+       0:00.02 /bin/sh /usr/local/sbin/portmaster -fr db5
61302 v1  I+       0:00.03 /bin/sh /usr/local/sbin/portmaster -o editors/openof
61358 v1  I+       0:00.01 /bin/sh /usr/local/sbin/portmaster atk-2.8.0
83679 v1  I+       0:00.01 /bin/sh /usr/local/sbin/portmaster gettext-0.18.3.1_
35987 v4  S+       0:00.00 grep portmaster
$ ps ax | grep portmaster
14754 v1  I+       0:00.01 /bin/sh /usr/local/sbin/portmaster gobject-introspec
43500 v1  I+       0:00.01 /bin/sh /usr/local/sbin/portmaster glib-2.36.3_2
43550 v1  S+       0:00.01 /bin/sh /usr/local/sbin/portmaster libiconv-1.14_3
51555 v1  I+       0:00.02 /bin/sh /usr/local/sbin/portmaster -fr db5
61302 v1  I+       0:00.03 /bin/sh /usr/local/sbin/portmaster -o editors/openof
61358 v1  I+       0:00.01 /bin/sh /usr/local/sbin/portmaster atk-2.8.0
45220 v4  S+       0:00.00 grep portmaster

hints?

Thanks,

Gary




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53758D8E.1030007>