From owner-freebsd-questions Fri Mar 22 11:41:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl4-t33.citlink.net [207.173.249.33]) by hub.freebsd.org (Postfix) with ESMTP id A2FFD37B417 for ; Fri, 22 Mar 2002 11:41:03 -0800 (PST) Received: from bigdaddy (bigdaddy [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 6E1C5EE609 for ; Fri, 22 Mar 2002 11:41:02 -0800 (PST) Message-ID: <024f01c1d1d9$7fc4b1f0$0301a8c0@bigdaddy> From: "Drew Tomlinson" To: Subject: Date: Fri, 22 Mar 2002 11:41:02 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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