From owner-freebsd-questions Mon Jul 23 7:57:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by hub.freebsd.org (Postfix) with SMTP id CC15E37B407 for ; Mon, 23 Jul 2001 07:57:48 -0700 (PDT) (envelope-from bsd140870@yahoo.co.uk) Received: from unknown (HELO acidic.ars.org) (210.186.206.58) by smtp.mail.vip.sc5.yahoo.com with SMTP; 23 Jul 2001 14:57:47 -0000 X-Apparently-From: Date: Mon, 23 Jul 2001 22:31:03 +0800 From: Alvin Sim X-Mailer: The Bat! (v1.53d) Reply-To: Alvin Sim Organization: n/a X-Priority: 3 (Normal) Message-ID: <610494119.20010723223103@yahoo.co.uk> To: David Banning Cc: freebsd-questions@freebsd.org Subject: Re: error in building linux-png In-Reply-To: <200107221742.f6MHgL541198@d.tracker> References: <200107221742.f6MHgL541198@d.tracker> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 From: David Banning Date: Monday, July 23, 2001, 01:42:21 AM Subject: error in building linux-png Monday, July 23, 2001, 01:42:21 AM, David Banning wrote: > su-2.03# make install ===>> Installing for linux-png-1.0.3_1 ===>> linux-png-1.0.3_1 depends on file: /compat/linux/etc/redhat-release - found > libpng-1.0.3-4.i386.rpm > old format database is present; use --rebuilddb to generate a new format database > error: cannot open /compat/linux/var/lib/rpm/packages.rpm > *** Error code 1 > Stop in /usr/ports/graphics/linux-png. > ________________________________________________ > I've tried using "rpm --rebuilddb" on the rpm file in > /usr/ports/distfiles/rpm and in > /usr/compat/linux/var/lib/rpm > any idea what I can do to getr around this? i've come across this (same error message(s)) a lot of times when i was trying to install linux-opera (which depends on linux-png) about 2 months ago. i didnt got around to what causes it and why. but, i did manage to get linux-opera (and linux-png) to install by pkg_delete'ing the linux-base and (re-)fetch and make install the new downloaded linux-base. try that and see if it helps. if it fails, well, i really dont know :( g'luck. -- Alvin bsd140870@yahoo.co.uk _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message