Subject: Re: broken package database?
To: None <tech-pkg@netbsd.org>
From: Frank Knappe <knappe@tu-harburg.de>
List: tech-pkg
Date: 09/10/2002 19:26:21
On Tue, 10 Sep 2002, Hubert Feyrer wrote:
> > root@trinity# pkg_info
> >
> > pkg_info: show_file: can't open '+COMMENT' for reading
> > kdebase-2.2.2nb1 adjustkernel-1.4 Generate a kernel config
> >
> > What can I do?
>
> Hard to tell, a "ls -la /var/db/pkg/kdebase*" would help.
root@trinity# ls -ls /var/db/pkg/kdebase-2.2.2*
total 0
0 -rw-r--r-- 1 root wheel 0 Sep 9 00:03 +CONTENTS
0 -rw-r--r-- 1 root wheel 0 Sep 9 23:11 +REQUIRED_BY
> For a start, a "touch /var/db/pkg/kdebase-2.2.2nb1/+COMMENT" might work.
I followed the suggestion of Manuel and deletet this directory and made
a make install:
[a lot of output deleted]
===> Registering installation for kdebase-2.2.2nb1
pkg_create: Overwriting /usr/X11R6/lib/kde2/libkcm_kio.la - pkg
kdebase-2.2.2nb1 bogus/conflicting?
[a lot of similar lines deleted]
pkg_create: Overwriting
/usr/X11R6/share/kde/apps/kdisplay/app-defaults/Xpdf.ad - pkg
kdebase-2.2.2nb1 bogus/conflicting?
Segmentation fault - core dumped
*** Error code 139
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
Not looking good, isn't it?
Ciao , Frank .