Subject: pkg_install installed failed at end
To: None <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 09/04/2003 20:21:47
(After my optind problem ...)
That built fine, but then the pkg_install install failed at end:
/usr/bin/install -c -o bin -g bin -m 444 pkg_view.cat1 /usr/man/cat1/pkg_view.0
if [ ! -f /var/db/pkg/pkgdb.byfile.db ]; then if [ ! -d
/var/db/pkg ]; then install -d -o bin -g bin -m 755
/usr/sbin/pkg_admin -K /var/db/pkg rebuild;
*** Error code 1
(That little shell script worked fine when ran alone, and that pkg_admin
ended with $? as 0.)
When I did the install again, I got a lot more from the
/usr/sbin/pkg_admin -K /var/db/pkg rebuild ...
.................pkg_admin: e2fsprogs-1.19: File
in +CONTENTS but not on filesystem!
.pkg_admin: ed-0.2: File /usr/info/ed.info is in +CONTENTS but not on
(and a couple hundred more lines -- problems I need to fix.)
Stored 14635 files from 88 packages in /var/db/pkg/pkgdb.byfile.db.
`/tmp/pkgsrc/pkgtools/pkg_install/work.tahoma/.PLIST' is up to date.
*** Error code 1
I was doing this with -DFORCE_PKG_REGISTER because my previously installed
pkg_install package was registered. I moved the
/var/db/pkg/pkg_install-20030423 out of the way and then did the install
again and it didn't fail.
Any idea why the install failed above when using FORCE_PKG_REGISTER
I also removed the NO_PKG_REGISTER and NO_PACKAGE lines.
So I added them back. And using FORCE_PKG_REGISTER again to overwrite my
package worked successfully.
Any ideas on how I can track down why this package won't register when
using FORCE_PKG_REGISTER and NO_PKG_REGISTER and NO_PACKAGE are not
(It used to work for me, before updating to recent pkg_install.)
Jeremy C. Reed