Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 13:19:34 -0500
From:      Brian Reichert <reichert@numachi.com>
To:        ports@freebsd.org
Subject:   'pkgdb -F' choking on nonexistant package?
Message-ID:  <20021227181934.GD559@numachi.com>

next in thread | raw e-mail | index | archive | help
I've had great fun messing with upgrading my ports via portupgrade,
et al., under 4.7-RELEASE.

I seem to have tricked myself, somehow, though:

  # pkgdb -F
  --->  Checking the package registry database
  No such file or directory - "/var/db/pkg/galeon-1.2.6/+REQUIRED_BY"

It looks like galeon went from 'galeon-1.2.6' to 'galeon-1.2.6_1'

I deleted the gaelon package, and now it doesn't show up in my
package list:

  # pkg_info -a | grep galeon

Yet, 'pkgdb -F' keeps yielding the same error message.

If I try to install a new package:

  # portupgrade -PP -new galeon
  --->  Session started at: Fri, 27 Dec 2002 13:13:53 -0500
  --->  Checking the availability of the latest package of 'www/galeon'
  --->  Found a package of 'www/galeon':
        /mnt/build/packages/All/galeon-1.2.6_1.tgz
  --->  Upgrade of www/galeon started at: Fri, 27 Dec 2002 13:13:55 -0500
  --->  Upgrading 'galeon-1.2.6' to 'galeon-1.2.6_1' (www/galeon)
  using a package OK? [no]
  --->  Upgrade of www/galeon ended at: Fri, 27 Dec 2002 13:13:55
  -0500 (consumed 00:00:00)
  --->  Reporting the results (+:succeeded / -:ignored / *:skipped / !:failed)
        + www/galeon (galeon-1.2.6)
  --->  Session ended at: Fri, 27 Dec 2002 13:13:55 -0500 (consumed
	00:00:02)

It doesn't really get installed, despite the 'succeeded' message.
Retrying with '-f' doesn't help, either.

I'm confused by the non-prompt 'using a package OK? [no]'; it just
slaps by; it's not really a question I'm being asked.

Does anyone know how to clear up this inconsistency, and how can I
prevent it from happening again?

-- 
Brian 'you Bastard' Reichert		<reichert@numachi.com>
37 Crystal Ave. #303			Daytime number: (603) 434-6842
Derry NH 03038-1713 USA			Intel architecture: the left-hand path

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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