Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 11:41:02 -0800
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        <questions@freebsd.org>
Message-ID:  <024f01c1d1d9$7fc4b1f0$0301a8c0@bigdaddy>

next in thread | raw e-mail | index | archive | help
How can I add a dependency that I deleted during pkgdb -F?  I deleted
the libgnugetopt-1.1 dependency for php4-4.1.2 and would like to put
it back.  I read the man page for pkgdb but missed any clues if they
were in there.  I looked in /var/db/pkg and found subdirs
corresponding to packages that are installed.  Thus, I looked in
/var/db/pkg/php4-4.1.2 and found these files:

blacklamb# ll
total 3
-rw-r--r--  1 root  wheel   29 Mar 22 08:39 +COMMENT
-rw-r--r--  1 root  wheel  543 Mar 22 08:44 +CONTENTS
-rw-r--r--  1 root  wheel  128 Mar 22 08:39 +DESC

I suspect the +CONTENTS file holds the key as it contains this line:

@comment DELETED:pkgdep libgnugetopt-1.1

All the other dependencies have 'comment' replaced with 'pkgdep' so I
decided to try and edit the file but edit says "file not found".  I've
also tried surrounding the file name with "s and escaping out the +
but same result.

What do I need to do?

Thanks,

Drew



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?024f01c1d1d9$7fc4b1f0$0301a8c0>